From cce27f7e8d5b9b4ec998bf115bed9f2076d5b6b0 Mon Sep 17 00:00:00 2001 From: youyuanwu <48816116+youyuanwu@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:57:19 -0700 Subject: [PATCH] Upgrade windows-rs to version 0.57 (#43) windows-rs version 0.57 has various improvements for generated com bindings and the code size reduces. We have been using win-bindgen with config=package, which is not publicly supported, and we are advised to switch to config=implement that is supported external to windows-rs. See https://github.com/microsoft/windows-rs/issues/3100 for details. The generated code are reorganized due to the generation config mode, and the mod structures are remapped so that there is no unwanted nesting of mods, for example, FabricRuntime is no longer inside FabricCommon but they are siblings now. The generation of the code and remapping of the mods are still hacky, and we still need https://github.com/Azure/service-fabric-metadata/issues/1 to improve this. Previously all mods are generated once, but now, each mod like FabricCommon and FabricRuntime is generated separately from the winmd file per pass. The generation speed maybe slowed but in practice it is not observable. This upgrade will cause break in down stream because of the mod layout change. But it is easy to fix: just change the imports(use) with different path. --- CMakeLists.txt | 1 + Cargo.lock | 41 +- Cargo.toml | 2 +- crates/libs/com/Cargo.toml | 15 +- crates/libs/com/features.json | 1 - crates/libs/com/rustfmt.toml | 1 - .../FabricCommon/FabricClient/mod.rs | 12979 ------- .../FabricCommon/FabricRuntime/mod.rs | 6150 ---- .../FabricCommon/FabricTransport/mod.rs | 849 - .../ServiceFabric/FabricCommon/impl.rs | 216 - .../com/src/Microsoft/ServiceFabric/mod.rs | 30657 ---------------- crates/libs/com/src/Microsoft/mod.rs | 4 - .../impl.rs => ServiceFabric/FabricClient.rs} | 12909 ++++++- .../mod.rs => ServiceFabric/FabricCommon.rs} | 272 +- .../FabricRuntime.rs} | 6112 ++- .../FabricTransport.rs} | 783 +- .../libs/com/src/ServiceFabric/FabricTypes.rs | 13613 +++++++ crates/libs/com/src/ServiceFabric/mod.rs | 9 + crates/libs/com/src/lib.rs | 23 +- crates/libs/core/Cargo.toml | 13 +- crates/libs/core/src/client/mod.rs | 8 +- crates/libs/core/src/client/query_client.rs | 24 +- .../libs/core/src/client/svc_mgmt_client.rs | 22 +- crates/libs/core/src/client/tests.rs | 6 +- crates/libs/core/src/runtime/bridge.rs | 5 +- crates/libs/core/src/runtime/config.rs | 9 +- crates/libs/core/src/runtime/error.rs | 2 +- crates/libs/core/src/runtime/mod.rs | 4 +- crates/libs/core/src/runtime/node_context.rs | 2 +- .../libs/core/src/runtime/runtime_wrapper.rs | 6 +- crates/libs/core/src/runtime/stateful.rs | 2 +- .../libs/core/src/runtime/stateful_bridge.rs | 22 +- .../libs/core/src/runtime/stateful_proxy.rs | 36 +- .../libs/core/src/runtime/stateful_types.rs | 11 +- crates/libs/core/src/runtime/stateless.rs | 12 +- .../libs/core/src/runtime/stateless_bridge.rs | 16 +- crates/libs/core/src/runtime/store.rs | 4 +- crates/libs/core/src/runtime/store_proxy.rs | 7 +- crates/libs/core/src/runtime/store_types.rs | 2 +- crates/libs/core/src/sync/mod.rs | 95 +- crates/libs/pal/Cargo.toml | 2 +- crates/samples/client/Cargo.toml | 7 +- crates/samples/client/src/main.rs | 5 +- crates/samples/echomain-stateful/Cargo.toml | 10 +- crates/samples/echomain-stateful/src/app.rs | 34 +- crates/samples/echomain-stateful/src/main.rs | 4 +- crates/samples/echomain-stateful2/Cargo.toml | 10 +- crates/samples/echomain-stateful2/src/main.rs | 4 +- .../echomain-stateful2/src/statefulstore.rs | 2 +- crates/samples/kvstore/Cargo.toml | 8 +- crates/samples/kvstore/src/kvstore.rs | 4 +- crates/tools/api/Cargo.toml | 3 +- crates/tools/api/README.md | 2 +- crates/tools/api/src/main.rs | 143 +- 54 files changed, 33800 insertions(+), 51383 deletions(-) delete mode 100644 crates/libs/com/features.json delete mode 100644 crates/libs/com/rustfmt.toml delete mode 100644 crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/mod.rs delete mode 100644 crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/mod.rs delete mode 100644 crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/mod.rs delete mode 100644 crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/impl.rs delete mode 100644 crates/libs/com/src/Microsoft/ServiceFabric/mod.rs delete mode 100644 crates/libs/com/src/Microsoft/mod.rs rename crates/libs/com/src/{Microsoft/ServiceFabric/FabricCommon/FabricClient/impl.rs => ServiceFabric/FabricClient.rs} (59%) rename crates/libs/com/src/{Microsoft/ServiceFabric/FabricCommon/mod.rs => ServiceFabric/FabricCommon.rs} (51%) rename crates/libs/com/src/{Microsoft/ServiceFabric/FabricCommon/FabricRuntime/impl.rs => ServiceFabric/FabricRuntime.rs} (57%) rename crates/libs/com/src/{Microsoft/ServiceFabric/FabricCommon/FabricTransport/impl.rs => ServiceFabric/FabricTransport.rs} (54%) create mode 100644 crates/libs/com/src/ServiceFabric/FabricTypes.rs create mode 100644 crates/libs/com/src/ServiceFabric/mod.rs diff --git a/CMakeLists.txt b/CMakeLists.txt index 26230178..e02e6327 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ find_program ( add_custom_target(generate_rust COMMAND ${cargo_exe} run -p tools_api + COMMAND ${cargo_exe} fmt -p mssf-com # format the generated crate WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) diff --git a/Cargo.lock b/Cargo.lock index 01feae8b..fa8ce847 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,9 +40,9 @@ dependencies = [ [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bytes" @@ -52,9 +52,9 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cc" -version = "1.0.99" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695" +checksum = "ac367972e516d45567c7eafc73d24e1c193dcf200a8d94e9db7b3d38b349572d" [[package]] name = "cfg-if" @@ -161,9 +161,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" @@ -183,9 +183,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "memchr" @@ -592,7 +592,6 @@ name = "tools_api" version = "0.0.0" dependencies = [ "windows-bindgen", - "windows-metadata", ] [[package]] @@ -663,9 +662,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "windows" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" +checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" dependencies = [ "windows-core", "windows-targets 0.52.5", @@ -673,9 +672,9 @@ dependencies = [ [[package]] name = "windows-bindgen" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28e3ea6330cf17fdcdce8bf08d0549ce93769dca9bedc6c39c36c8c0e17db46" +checksum = "1ccb96113d6277ba543c0f77e1c5494af8094bf9daf9b85acdc3f1b620e7c7b4" dependencies = [ "proc-macro2", "rayon", @@ -687,9 +686,9 @@ dependencies = [ [[package]] name = "windows-core" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" dependencies = [ "windows-implement", "windows-interface", @@ -699,9 +698,9 @@ dependencies = [ [[package]] name = "windows-implement" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" dependencies = [ "proc-macro2", "quote", @@ -710,9 +709,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" +checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" dependencies = [ "proc-macro2", "quote", @@ -721,9 +720,9 @@ dependencies = [ [[package]] name = "windows-metadata" -version = "0.56.0" +version = "0.57.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3993f7827fff10c454e3a24847075598c7c08108304b8b07943c2c73d78f3b34" +checksum = "8308d076825b9d9e5abc64f8113e96d02b2aeeba869b20fdd65c7e70cda13dfc" [[package]] name = "windows-result" diff --git a/Cargo.toml b/Cargo.toml index d2d0c0f5..99a0d6b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,4 @@ members = [ [workspace.dependencies] tracing = { version = "0.1.40", features = ["log"] } -tracing-subscriber = { version = "0.3.18", default-features = false, features = ["fmt"]} \ No newline at end of file +tracing-subscriber = { version = "0.3.18", default-features = false, features = ["fmt"]} diff --git a/crates/libs/com/Cargo.toml b/crates/libs/com/Cargo.toml index 1a008624..70e5295e 100644 --- a/crates/libs/com/Cargo.toml +++ b/crates/libs/com/Cargo.toml @@ -27,22 +27,11 @@ mssf-metadata = "0.0.1" mssf-pal = { path = "../pal" , version = "0.0.6"} [dependencies] -windows-core = "0.56" +windows-core = "0.57" [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "Win32_Foundation", "implement" ] - -[features] -implement = [] -Foundation = [] -Win32_Foundation = [] -# generated features -ServiceFabric = ["Foundation"] -ServiceFabric_FabricCommon = ["ServiceFabric"] -ServiceFabric_FabricCommon_FabricClient = ["ServiceFabric_FabricCommon"] -ServiceFabric_FabricCommon_FabricRuntime = ["ServiceFabric_FabricCommon"] -ServiceFabric_FabricCommon_FabricTransport = ["ServiceFabric_FabricCommon"] diff --git a/crates/libs/com/features.json b/crates/libs/com/features.json deleted file mode 100644 index 5db13477..00000000 --- a/crates/libs/com/features.json +++ /dev/null @@ -1 +0,0 @@ -{"namespace_map":["Microsoft.ServiceFabric","Microsoft.ServiceFabric.FabricCommon","Microsoft.ServiceFabric.FabricCommon.FabricClient","Microsoft.ServiceFabric.FabricCommon.FabricRuntime","Microsoft.ServiceFabric.FabricCommon.FabricTransport","Windows.AI.MachineLearning","Windows.AI.MachineLearning.Preview","Windows.ApplicationModel","Windows.ApplicationModel.Activation","Windows.ApplicationModel.AppExtensions","Windows.ApplicationModel.AppService","Windows.ApplicationModel.Appointments","Windows.ApplicationModel.Appointments.AppointmentsProvider","Windows.ApplicationModel.Appointments.DataProvider","Windows.ApplicationModel.Background","Windows.ApplicationModel.Calls","Windows.ApplicationModel.Calls.Background","Windows.ApplicationModel.Calls.Provider","Windows.ApplicationModel.Chat","Windows.ApplicationModel.CommunicationBlocking","Windows.ApplicationModel.Contacts","Windows.ApplicationModel.Contacts.DataProvider","Windows.ApplicationModel.Contacts.Provider","Windows.ApplicationModel.ConversationalAgent","Windows.ApplicationModel.Core","Windows.ApplicationModel.DataTransfer","Windows.ApplicationModel.DataTransfer.DragDrop","Windows.ApplicationModel.DataTransfer.DragDrop.Core","Windows.ApplicationModel.DataTransfer.ShareTarget","Windows.ApplicationModel.Email","Windows.ApplicationModel.Email.DataProvider","Windows.ApplicationModel.ExtendedExecution","Windows.ApplicationModel.ExtendedExecution.Foreground","Windows.ApplicationModel.Holographic","Windows.ApplicationModel.LockScreen","Windows.ApplicationModel.Payments","Windows.ApplicationModel.Payments.Provider","Windows.ApplicationModel.Preview.Holographic","Windows.ApplicationModel.Preview.InkWorkspace","Windows.ApplicationModel.Preview.Notes","Windows.ApplicationModel.Resources","Windows.ApplicationModel.Resources.Core","Windows.ApplicationModel.Resources.Management","Windows.ApplicationModel.Search","Windows.ApplicationModel.Search.Core","Windows.ApplicationModel.SocialInfo","Windows.ApplicationModel.SocialInfo.Provider","Windows.ApplicationModel.Store","Windows.ApplicationModel.Store.LicenseManagement","Windows.ApplicationModel.Store.Preview","Windows.ApplicationModel.Store.Preview.InstallControl","Windows.ApplicationModel.UserActivities","Windows.ApplicationModel.UserActivities.Core","Windows.ApplicationModel.UserDataAccounts","Windows.ApplicationModel.UserDataAccounts.Provider","Windows.ApplicationModel.UserDataAccounts.SystemAccess","Windows.ApplicationModel.UserDataTasks","Windows.ApplicationModel.UserDataTasks.DataProvider","Windows.ApplicationModel.VoiceCommands","Windows.ApplicationModel.Wallet","Windows.ApplicationModel.Wallet.System","Windows.Data.Html","Windows.Data.Json","Windows.Data.Pdf","Windows.Data.Text","Windows.Data.Xml.Dom","Windows.Data.Xml.Xsl","Windows.Devices","Windows.Devices.Adc","Windows.Devices.Adc.Provider","Windows.Devices.AllJoyn","Windows.Devices.Background","Windows.Devices.Bluetooth","Windows.Devices.Bluetooth.Advertisement","Windows.Devices.Bluetooth.Background","Windows.Devices.Bluetooth.GenericAttributeProfile","Windows.Devices.Bluetooth.Rfcomm","Windows.Devices.Custom","Windows.Devices.Display","Windows.Devices.Display.Core","Windows.Devices.Enumeration","Windows.Devices.Enumeration.Pnp","Windows.Devices.Geolocation","Windows.Devices.Geolocation.Geofencing","Windows.Devices.Geolocation.Provider","Windows.Devices.Gpio","Windows.Devices.Gpio.Provider","Windows.Devices.Haptics","Windows.Devices.HumanInterfaceDevice","Windows.Devices.I2c","Windows.Devices.I2c.Provider","Windows.Devices.Input","Windows.Devices.Input.Preview","Windows.Devices.Lights","Windows.Devices.Lights.Effects","Windows.Devices.Midi","Windows.Devices.Perception","Windows.Devices.Perception.Provider","Windows.Devices.PointOfService","Windows.Devices.PointOfService.Provider","Windows.Devices.Portable","Windows.Devices.Power","Windows.Devices.Printers","Windows.Devices.Printers.Extensions","Windows.Devices.Pwm","Windows.Devices.Pwm.Provider","Windows.Devices.Radios","Windows.Devices.Scanners","Windows.Devices.Sensors","Windows.Devices.Sensors.Custom","Windows.Devices.SerialCommunication","Windows.Devices.SmartCards","Windows.Devices.Sms","Windows.Devices.Spi","Windows.Devices.Spi.Provider","Windows.Devices.Usb","Windows.Devices.WiFi","Windows.Devices.WiFiDirect","Windows.Devices.WiFiDirect.Services","Windows.Embedded.DeviceLockdown","Windows.Foundation","Windows.Foundation.Collections","Windows.Foundation.Diagnostics","Windows.Foundation.Metadata","Windows.Foundation.Numerics","Windows.Gaming.Input","Windows.Gaming.Input.Custom","Windows.Gaming.Input.ForceFeedback","Windows.Gaming.Input.Preview","Windows.Gaming.Preview","Windows.Gaming.Preview.GamesEnumeration","Windows.Gaming.UI","Windows.Gaming.XboxLive","Windows.Gaming.XboxLive.Storage","Windows.Globalization","Windows.Globalization.Collation","Windows.Globalization.DateTimeFormatting","Windows.Globalization.Fonts","Windows.Globalization.NumberFormatting","Windows.Globalization.PhoneNumberFormatting","Windows.Graphics","Windows.Graphics.Capture","Windows.Graphics.DirectX","Windows.Graphics.DirectX.Direct3D11","Windows.Graphics.Display","Windows.Graphics.Display.Core","Windows.Graphics.Effects","Windows.Graphics.Holographic","Windows.Graphics.Imaging","Windows.Graphics.Printing","Windows.Graphics.Printing.OptionDetails","Windows.Graphics.Printing.PrintSupport","Windows.Graphics.Printing.PrintTicket","Windows.Graphics.Printing.Workflow","Windows.Graphics.Printing3D","Windows.Management","Windows.Management.Core","Windows.Management.Deployment","Windows.Management.Deployment.Preview","Windows.Management.Policies","Windows.Management.Update","Windows.Management.Workplace","Windows.Media","Windows.Media.AppBroadcasting","Windows.Media.AppRecording","Windows.Media.Audio","Windows.Media.Capture","Windows.Media.Capture.Core","Windows.Media.Capture.Frames","Windows.Media.Casting","Windows.Media.ClosedCaptioning","Windows.Media.ContentRestrictions","Windows.Media.Control","Windows.Media.Core","Windows.Media.Core.Preview","Windows.Media.Devices","Windows.Media.Devices.Core","Windows.Media.DialProtocol","Windows.Media.Editing","Windows.Media.Effects","Windows.Media.FaceAnalysis","Windows.Media.Import","Windows.Media.MediaProperties","Windows.Media.Miracast","Windows.Media.Ocr","Windows.Media.PlayTo","Windows.Media.Playback","Windows.Media.Playlists","Windows.Media.Protection","Windows.Media.Protection.PlayReady","Windows.Media.Render","Windows.Media.SpeechRecognition","Windows.Media.SpeechSynthesis","Windows.Media.Streaming.Adaptive","Windows.Media.Transcoding","Windows.Networking","Windows.Networking.BackgroundTransfer","Windows.Networking.Connectivity","Windows.Networking.NetworkOperators","Windows.Networking.Proximity","Windows.Networking.PushNotifications","Windows.Networking.ServiceDiscovery.Dnssd","Windows.Networking.Sockets","Windows.Networking.Vpn","Windows.Networking.XboxLive","Windows.Perception","Windows.Perception.Automation.Core","Windows.Perception.People","Windows.Perception.Spatial","Windows.Perception.Spatial.Preview","Windows.Perception.Spatial.Surfaces","Windows.Phone","Windows.Phone.ApplicationModel","Windows.Phone.Devices.Notification","Windows.Phone.Devices.Power","Windows.Phone.Management.Deployment","Windows.Phone.Media.Devices","Windows.Phone.Notification.Management","Windows.Phone.PersonalInformation","Windows.Phone.PersonalInformation.Provisioning","Windows.Phone.Speech.Recognition","Windows.Phone.StartScreen","Windows.Phone.System","Windows.Phone.System.Power","Windows.Phone.System.Profile","Windows.Phone.System.UserProfile.GameServices.Core","Windows.Phone.UI.Input","Windows.Security.Authentication.Identity","Windows.Security.Authentication.Identity.Core","Windows.Security.Authentication.Identity.Provider","Windows.Security.Authentication.OnlineId","Windows.Security.Authentication.Web","Windows.Security.Authentication.Web.Core","Windows.Security.Authentication.Web.Provider","Windows.Security.Authorization.AppCapabilityAccess","Windows.Security.Credentials","Windows.Security.Credentials.UI","Windows.Security.Cryptography","Windows.Security.Cryptography.Certificates","Windows.Security.Cryptography.Core","Windows.Security.Cryptography.DataProtection","Windows.Security.DataProtection","Windows.Security.EnterpriseData","Windows.Security.ExchangeActiveSyncProvisioning","Windows.Security.Isolation","Windows.Services.Cortana","Windows.Services.Maps","Windows.Services.Maps.Guidance","Windows.Services.Maps.LocalSearch","Windows.Services.Maps.OfflineMaps","Windows.Services.Store","Windows.Services.TargetedContent","Windows.Storage","Windows.Storage.AccessCache","Windows.Storage.BulkAccess","Windows.Storage.Compression","Windows.Storage.FileProperties","Windows.Storage.Pickers","Windows.Storage.Pickers.Provider","Windows.Storage.Provider","Windows.Storage.Search","Windows.Storage.Streams","Windows.System","Windows.System.Diagnostics","Windows.System.Diagnostics.DevicePortal","Windows.System.Diagnostics.Telemetry","Windows.System.Diagnostics.TraceReporting","Windows.System.Display","Windows.System.Implementation.FileExplorer","Windows.System.Inventory","Windows.System.Power","Windows.System.Power.Diagnostics","Windows.System.Preview","Windows.System.Profile","Windows.System.Profile.SystemManufacturers","Windows.System.RemoteDesktop","Windows.System.RemoteDesktop.Input","Windows.System.RemoteDesktop.Provider","Windows.System.RemoteSystems","Windows.System.Threading","Windows.System.Threading.Core","Windows.System.Update","Windows.System.UserProfile","Windows.UI","Windows.UI.Accessibility","Windows.UI.ApplicationSettings","Windows.UI.Composition","Windows.UI.Composition.Core","Windows.UI.Composition.Desktop","Windows.UI.Composition.Diagnostics","Windows.UI.Composition.Effects","Windows.UI.Composition.Interactions","Windows.UI.Composition.Scenes","Windows.UI.Core","Windows.UI.Core.AnimationMetrics","Windows.UI.Core.Preview","Windows.UI.Input","Windows.UI.Input.Core","Windows.UI.Input.Inking","Windows.UI.Input.Inking.Analysis","Windows.UI.Input.Inking.Core","Windows.UI.Input.Inking.Preview","Windows.UI.Input.Preview","Windows.UI.Input.Preview.Injection","Windows.UI.Input.Spatial","Windows.UI.Notifications","Windows.UI.Notifications.Management","Windows.UI.Notifications.Preview","Windows.UI.Popups","Windows.UI.Shell","Windows.UI.StartScreen","Windows.UI.Text","Windows.UI.Text.Core","Windows.UI.UIAutomation","Windows.UI.UIAutomation.Core","Windows.UI.ViewManagement","Windows.UI.ViewManagement.Core","Windows.UI.WebUI","Windows.UI.WebUI.Core","Windows.UI.WindowManagement","Windows.UI.WindowManagement.Preview","Windows.UI.Xaml","Windows.UI.Xaml.Automation","Windows.UI.Xaml.Automation.Peers","Windows.UI.Xaml.Automation.Provider","Windows.UI.Xaml.Automation.Text","Windows.UI.Xaml.Controls","Windows.UI.Xaml.Controls.Maps","Windows.UI.Xaml.Controls.Primitives","Windows.UI.Xaml.Core.Direct","Windows.UI.Xaml.Data","Windows.UI.Xaml.Documents","Windows.UI.Xaml.Hosting","Windows.UI.Xaml.Input","Windows.UI.Xaml.Interop","Windows.UI.Xaml.Markup","Windows.UI.Xaml.Media","Windows.UI.Xaml.Media.Animation","Windows.UI.Xaml.Media.Imaging","Windows.UI.Xaml.Media.Media3D","Windows.UI.Xaml.Navigation","Windows.UI.Xaml.Printing","Windows.UI.Xaml.Resources","Windows.UI.Xaml.Shapes","Windows.Wdk.Devices.HumanInterfaceDevice","Windows.Wdk.Foundation","Windows.Wdk.Graphics.Direct3D","Windows.Wdk.NetworkManagement.Ndis","Windows.Wdk.NetworkManagement.WindowsFilteringPlatform","Windows.Wdk.Storage.FileSystem","Windows.Wdk.Storage.FileSystem.Minifilters","Windows.Wdk.System.IO","Windows.Wdk.System.OfflineRegistry","Windows.Wdk.System.Registry","Windows.Wdk.System.SystemInformation","Windows.Wdk.System.SystemServices","Windows.Wdk.System.Threading","Windows.Web","Windows.Web.AtomPub","Windows.Web.Http","Windows.Web.Http.Diagnostics","Windows.Web.Http.Filters","Windows.Web.Http.Headers","Windows.Web.Syndication","Windows.Web.UI","Windows.Web.UI.Interop","Windows.Win32.AI.MachineLearning.DirectML","Windows.Win32.AI.MachineLearning.WinML","Windows.Win32.Data.HtmlHelp","Windows.Win32.Data.RightsManagement","Windows.Win32.Data.Xml.MsXml","Windows.Win32.Data.Xml.XmlLite","Windows.Win32.Devices.AllJoyn","Windows.Win32.Devices.BiometricFramework","Windows.Win32.Devices.Bluetooth","Windows.Win32.Devices.Communication","Windows.Win32.Devices.DeviceAccess","Windows.Win32.Devices.DeviceAndDriverInstallation","Windows.Win32.Devices.DeviceQuery","Windows.Win32.Devices.Display","Windows.Win32.Devices.Enumeration.Pnp","Windows.Win32.Devices.Fax","Windows.Win32.Devices.FunctionDiscovery","Windows.Win32.Devices.Geolocation","Windows.Win32.Devices.HumanInterfaceDevice","Windows.Win32.Devices.ImageAcquisition","Windows.Win32.Devices.PortableDevices","Windows.Win32.Devices.Properties","Windows.Win32.Devices.Pwm","Windows.Win32.Devices.Sensors","Windows.Win32.Devices.SerialCommunication","Windows.Win32.Devices.Tapi","Windows.Win32.Devices.Usb","Windows.Win32.Devices.WebServicesOnDevices","Windows.Win32.Foundation","Windows.Win32.Foundation.Metadata","Windows.Win32.Gaming","Windows.Win32.Globalization","Windows.Win32.Graphics.CompositionSwapchain","Windows.Win32.Graphics.DXCore","Windows.Win32.Graphics.Direct2D","Windows.Win32.Graphics.Direct2D.Common","Windows.Win32.Graphics.Direct3D","Windows.Win32.Graphics.Direct3D.Dxc","Windows.Win32.Graphics.Direct3D.Fxc","Windows.Win32.Graphics.Direct3D10","Windows.Win32.Graphics.Direct3D11","Windows.Win32.Graphics.Direct3D11on12","Windows.Win32.Graphics.Direct3D12","Windows.Win32.Graphics.Direct3D9","Windows.Win32.Graphics.Direct3D9on12","Windows.Win32.Graphics.DirectComposition","Windows.Win32.Graphics.DirectDraw","Windows.Win32.Graphics.DirectManipulation","Windows.Win32.Graphics.DirectWrite","Windows.Win32.Graphics.Dwm","Windows.Win32.Graphics.Dxgi","Windows.Win32.Graphics.Dxgi.Common","Windows.Win32.Graphics.Gdi","Windows.Win32.Graphics.GdiPlus","Windows.Win32.Graphics.Hlsl","Windows.Win32.Graphics.Imaging","Windows.Win32.Graphics.Imaging.D2D","Windows.Win32.Graphics.OpenGL","Windows.Win32.Graphics.Printing","Windows.Win32.Graphics.Printing.PrintTicket","Windows.Win32.Management.MobileDeviceManagementRegistration","Windows.Win32.Media","Windows.Win32.Media.Audio","Windows.Win32.Media.Audio.Apo","Windows.Win32.Media.Audio.DirectMusic","Windows.Win32.Media.Audio.DirectSound","Windows.Win32.Media.Audio.Endpoints","Windows.Win32.Media.Audio.XAudio2","Windows.Win32.Media.DeviceManager","Windows.Win32.Media.DirectShow","Windows.Win32.Media.DirectShow.Tv","Windows.Win32.Media.DirectShow.Xml","Windows.Win32.Media.DxMediaObjects","Windows.Win32.Media.KernelStreaming","Windows.Win32.Media.LibrarySharingServices","Windows.Win32.Media.MediaFoundation","Windows.Win32.Media.MediaPlayer","Windows.Win32.Media.Multimedia","Windows.Win32.Media.PictureAcquisition","Windows.Win32.Media.Speech","Windows.Win32.Media.Streaming","Windows.Win32.Media.WindowsMediaFormat","Windows.Win32.NetworkManagement.Dhcp","Windows.Win32.NetworkManagement.Dns","Windows.Win32.NetworkManagement.InternetConnectionWizard","Windows.Win32.NetworkManagement.IpHelper","Windows.Win32.NetworkManagement.MobileBroadband","Windows.Win32.NetworkManagement.Multicast","Windows.Win32.NetworkManagement.Ndis","Windows.Win32.NetworkManagement.NetBios","Windows.Win32.NetworkManagement.NetManagement","Windows.Win32.NetworkManagement.NetShell","Windows.Win32.NetworkManagement.NetworkDiagnosticsFramework","Windows.Win32.NetworkManagement.NetworkPolicyServer","Windows.Win32.NetworkManagement.P2P","Windows.Win32.NetworkManagement.QoS","Windows.Win32.NetworkManagement.Rras","Windows.Win32.NetworkManagement.Snmp","Windows.Win32.NetworkManagement.WNet","Windows.Win32.NetworkManagement.WebDav","Windows.Win32.NetworkManagement.WiFi","Windows.Win32.NetworkManagement.WindowsConnectNow","Windows.Win32.NetworkManagement.WindowsConnectionManager","Windows.Win32.NetworkManagement.WindowsFilteringPlatform","Windows.Win32.NetworkManagement.WindowsFirewall","Windows.Win32.NetworkManagement.WindowsNetworkVirtualization","Windows.Win32.Networking.ActiveDirectory","Windows.Win32.Networking.BackgroundIntelligentTransferService","Windows.Win32.Networking.Clustering","Windows.Win32.Networking.HttpServer","Windows.Win32.Networking.Ldap","Windows.Win32.Networking.NetworkListManager","Windows.Win32.Networking.RemoteDifferentialCompression","Windows.Win32.Networking.WebSocket","Windows.Win32.Networking.WinHttp","Windows.Win32.Networking.WinInet","Windows.Win32.Networking.WinSock","Windows.Win32.Networking.WindowsWebServices","Windows.Win32.Security","Windows.Win32.Security.AppLocker","Windows.Win32.Security.Authentication.Identity","Windows.Win32.Security.Authentication.Identity.Provider","Windows.Win32.Security.Authorization","Windows.Win32.Security.Authorization.UI","Windows.Win32.Security.ConfigurationSnapin","Windows.Win32.Security.Credentials","Windows.Win32.Security.Cryptography","Windows.Win32.Security.Cryptography.Catalog","Windows.Win32.Security.Cryptography.Certificates","Windows.Win32.Security.Cryptography.Sip","Windows.Win32.Security.Cryptography.UI","Windows.Win32.Security.DiagnosticDataQuery","Windows.Win32.Security.DirectoryServices","Windows.Win32.Security.EnterpriseData","Windows.Win32.Security.ExtensibleAuthenticationProtocol","Windows.Win32.Security.Isolation","Windows.Win32.Security.LicenseProtection","Windows.Win32.Security.NetworkAccessProtection","Windows.Win32.Security.Tpm","Windows.Win32.Security.WinTrust","Windows.Win32.Security.WinWlx","Windows.Win32.Storage.Cabinets","Windows.Win32.Storage.CloudFilters","Windows.Win32.Storage.Compression","Windows.Win32.Storage.DataDeduplication","Windows.Win32.Storage.DistributedFileSystem","Windows.Win32.Storage.EnhancedStorage","Windows.Win32.Storage.FileHistory","Windows.Win32.Storage.FileServerResourceManager","Windows.Win32.Storage.FileSystem","Windows.Win32.Storage.Imapi","Windows.Win32.Storage.IndexServer","Windows.Win32.Storage.InstallableFileSystems","Windows.Win32.Storage.IscsiDisc","Windows.Win32.Storage.Jet","Windows.Win32.Storage.Nvme","Windows.Win32.Storage.OfflineFiles","Windows.Win32.Storage.OperationRecorder","Windows.Win32.Storage.Packaging.Appx","Windows.Win32.Storage.Packaging.Opc","Windows.Win32.Storage.ProjectedFileSystem","Windows.Win32.Storage.StructuredStorage","Windows.Win32.Storage.Vhd","Windows.Win32.Storage.VirtualDiskService","Windows.Win32.Storage.Vss","Windows.Win32.Storage.Xps","Windows.Win32.Storage.Xps.Printing","Windows.Win32.System.AddressBook","Windows.Win32.System.Antimalware","Windows.Win32.System.ApplicationInstallationAndServicing","Windows.Win32.System.ApplicationVerifier","Windows.Win32.System.AssessmentTool","Windows.Win32.System.ClrHosting","Windows.Win32.System.Com","Windows.Win32.System.Com.CallObj","Windows.Win32.System.Com.ChannelCredentials","Windows.Win32.System.Com.Events","Windows.Win32.System.Com.Marshal","Windows.Win32.System.Com.StructuredStorage","Windows.Win32.System.Com.UI","Windows.Win32.System.Com.Urlmon","Windows.Win32.System.ComponentServices","Windows.Win32.System.Console","Windows.Win32.System.Contacts","Windows.Win32.System.CorrelationVector","Windows.Win32.System.DataExchange","Windows.Win32.System.DeploymentServices","Windows.Win32.System.DesktopSharing","Windows.Win32.System.DeveloperLicensing","Windows.Win32.System.Diagnostics.Ceip","Windows.Win32.System.Diagnostics.ClrProfiling","Windows.Win32.System.Diagnostics.Debug","Windows.Win32.System.Diagnostics.Debug.ActiveScript","Windows.Win32.System.Diagnostics.Debug.Extensions","Windows.Win32.System.Diagnostics.Debug.WebApp","Windows.Win32.System.Diagnostics.Etw","Windows.Win32.System.Diagnostics.ProcessSnapshotting","Windows.Win32.System.Diagnostics.ToolHelp","Windows.Win32.System.Diagnostics.TraceLogging","Windows.Win32.System.DistributedTransactionCoordinator","Windows.Win32.System.Environment","Windows.Win32.System.ErrorReporting","Windows.Win32.System.EventCollector","Windows.Win32.System.EventLog","Windows.Win32.System.EventNotificationService","Windows.Win32.System.GroupPolicy","Windows.Win32.System.HostCompute","Windows.Win32.System.HostComputeNetwork","Windows.Win32.System.HostComputeSystem","Windows.Win32.System.Hypervisor","Windows.Win32.System.IO","Windows.Win32.System.Iis","Windows.Win32.System.Ioctl","Windows.Win32.System.JobObjects","Windows.Win32.System.Js","Windows.Win32.System.Kernel","Windows.Win32.System.LibraryLoader","Windows.Win32.System.Mailslots","Windows.Win32.System.Mapi","Windows.Win32.System.Memory","Windows.Win32.System.Memory.NonVolatile","Windows.Win32.System.MessageQueuing","Windows.Win32.System.MixedReality","Windows.Win32.System.Mmc","Windows.Win32.System.Ole","Windows.Win32.System.ParentalControls","Windows.Win32.System.PasswordManagement","Windows.Win32.System.Performance","Windows.Win32.System.Performance.HardwareCounterProfiling","Windows.Win32.System.Pipes","Windows.Win32.System.Power","Windows.Win32.System.ProcessStatus","Windows.Win32.System.RealTimeCommunications","Windows.Win32.System.Recovery","Windows.Win32.System.Registry","Windows.Win32.System.RemoteAssistance","Windows.Win32.System.RemoteDesktop","Windows.Win32.System.RemoteManagement","Windows.Win32.System.RestartManager","Windows.Win32.System.Restore","Windows.Win32.System.Rpc","Windows.Win32.System.Search","Windows.Win32.System.Search.Common","Windows.Win32.System.SecurityCenter","Windows.Win32.System.ServerBackup","Windows.Win32.System.Services","Windows.Win32.System.SettingsManagementInfrastructure","Windows.Win32.System.SetupAndMigration","Windows.Win32.System.Shutdown","Windows.Win32.System.SideShow","Windows.Win32.System.StationsAndDesktops","Windows.Win32.System.SubsystemForLinux","Windows.Win32.System.SystemInformation","Windows.Win32.System.SystemServices","Windows.Win32.System.TaskScheduler","Windows.Win32.System.Threading","Windows.Win32.System.Time","Windows.Win32.System.TpmBaseServices","Windows.Win32.System.TransactionServer","Windows.Win32.System.UpdateAgent","Windows.Win32.System.UpdateAssessment","Windows.Win32.System.UserAccessLogging","Windows.Win32.System.Variant","Windows.Win32.System.VirtualDosMachines","Windows.Win32.System.WinRT","Windows.Win32.System.WinRT.AllJoyn","Windows.Win32.System.WinRT.Composition","Windows.Win32.System.WinRT.CoreInputView","Windows.Win32.System.WinRT.Direct3D11","Windows.Win32.System.WinRT.Display","Windows.Win32.System.WinRT.Graphics.Capture","Windows.Win32.System.WinRT.Graphics.Direct2D","Windows.Win32.System.WinRT.Graphics.Imaging","Windows.Win32.System.WinRT.Holographic","Windows.Win32.System.WinRT.Isolation","Windows.Win32.System.WinRT.ML","Windows.Win32.System.WinRT.Media","Windows.Win32.System.WinRT.Metadata","Windows.Win32.System.WinRT.Pdf","Windows.Win32.System.WinRT.Printing","Windows.Win32.System.WinRT.Shell","Windows.Win32.System.WinRT.Storage","Windows.Win32.System.WinRT.Xaml","Windows.Win32.System.WindowsProgramming","Windows.Win32.System.WindowsSync","Windows.Win32.System.Wmi","Windows.Win32.UI.Accessibility","Windows.Win32.UI.Animation","Windows.Win32.UI.ColorSystem","Windows.Win32.UI.Controls","Windows.Win32.UI.Controls.Dialogs","Windows.Win32.UI.Controls.RichEdit","Windows.Win32.UI.HiDpi","Windows.Win32.UI.Input","Windows.Win32.UI.Input.Ime","Windows.Win32.UI.Input.Ink","Windows.Win32.UI.Input.KeyboardAndMouse","Windows.Win32.UI.Input.Pointer","Windows.Win32.UI.Input.Radial","Windows.Win32.UI.Input.Touch","Windows.Win32.UI.Input.XboxController","Windows.Win32.UI.InteractionContext","Windows.Win32.UI.LegacyWindowsEnvironmentFeatures","Windows.Win32.UI.Magnification","Windows.Win32.UI.Notifications","Windows.Win32.UI.Ribbon","Windows.Win32.UI.Shell","Windows.Win32.UI.Shell.Common","Windows.Win32.UI.Shell.PropertiesSystem","Windows.Win32.UI.TabletPC","Windows.Win32.UI.TextServices","Windows.Win32.UI.WindowsAndMessaging","Windows.Win32.UI.Wpf","Windows.Win32.UI.Xaml.Diagnostics","Windows.Win32.Web.InternetExplorer","Windows.Win32.Web.MsHtml"],"feature_map":["ServiceFabric","Win32_Foundation","ServiceFabric_FabricCommon","ServiceFabric_FabricCommon_FabricClient","ServiceFabric_FabricCommon_FabricRuntime","ServiceFabric_FabricCommon_FabricTransport"],"namespaces":{"0":[{"name":"FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA","features":[0]},{"name":"FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1","features":[0]},{"name":"FABRIC_APPLICATIONS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_APPLICATION_CAPACITY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_COMPOSE","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER_ALL","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER_COMPOSE","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_EX1","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_EX2","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_POLICY","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_POLICY_MAP","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_APPLICATION_HEALTH_STATE","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER","features":[0,1]},{"name":"FABRIC_APPLICATION_LOAD_INFORMATION","features":[0]},{"name":"FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_LOAD_METRIC_INFORMATION","features":[0]},{"name":"FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST","features":[0]},{"name":"FABRIC_APPLICATION_METRIC_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_METRIC_LIST","features":[0]},{"name":"FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_NAME_QUERY_RESULT","features":[0]},{"name":"FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY","features":[0]},{"name":"FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_AUTOMATIC","features":[0]},{"name":"FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_DEFAULT","features":[0]},{"name":"FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_MANUAL","features":[0]},{"name":"FABRIC_APPLICATION_PARAMETER","features":[0]},{"name":"FABRIC_APPLICATION_PARAMETER_LIST","features":[0]},{"name":"FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2","features":[0,1]},{"name":"FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_APPLICATION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_APPLICATION_STATUS","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_CREATING","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_DELETING","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_FAILED","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_READY","features":[0]},{"name":"FABRIC_APPLICATION_STATUS_UPGRADING","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_COMPOSE","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_ALL","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_COMPOSE","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_PACKAGE","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_PACKAGE","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS_AVAILABLE","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS_FAILED","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS_PROVISIONING","features":[0]},{"name":"FABRIC_APPLICATION_TYPE_STATUS_UNPROVISIONING","features":[0]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS","features":[0]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MAXNODES","features":[0]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_METRICS","features":[0]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MINNODES","features":[0]},{"name":"FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_NONE","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_DESCRIPTION","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_KIND","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_KIND_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_KIND_ROLLING","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_PROGRESS","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1","features":[0,1]},{"name":"FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_FAILED","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_INVALID","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_COMPLETED","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_PENDING","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_PENDING","features":[0]},{"name":"FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_AUTO_SEQUENCE_NUMBER","features":[0]},{"name":"FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CHAOS_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CHAOS_EVENT","features":[0]},{"name":"FABRIC_CHAOS_EVENTS_SEGMENT","features":[0]},{"name":"FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CHAOS_EVENTS_SEGMENT_FILTER","features":[0,1]},{"name":"FABRIC_CHAOS_EVENT_KIND","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_EXECUTING_FAULTS","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_INVALID","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_STARTED","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_STOPPED","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_TEST_ERROR","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_VALIDATION_FAILED","features":[0]},{"name":"FABRIC_CHAOS_EVENT_KIND_WAITING","features":[0]},{"name":"FABRIC_CHAOS_EVENT_LIST","features":[0]},{"name":"FABRIC_CHAOS_PARAMETERS","features":[0,1]},{"name":"FABRIC_CHAOS_PARAMETERS_EX1","features":[0,1]},{"name":"FABRIC_CHAOS_PARAMETERS_EX2","features":[0]},{"name":"FABRIC_CHAOS_REPORT","features":[0,1]},{"name":"FABRIC_CHAOS_REPORT_FILTER","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_JOB","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_JOB_LIST","features":[0,1]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS_ACTIVE","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS_EXPIRED","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS_INVALID","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS_PENDING","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_STATUS_STOPPED","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST","features":[0]},{"name":"FABRIC_CHAOS_SCHEDULE_TIME_UTC","features":[0]},{"name":"FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CHAOS_STATUS","features":[0]},{"name":"FABRIC_CHAOS_STATUS_INVALID","features":[0]},{"name":"FABRIC_CHAOS_STATUS_RUNNING","features":[0]},{"name":"FABRIC_CHAOS_STATUS_STOPPED","features":[0]},{"name":"FABRIC_CHAOS_TARGET_FILTER","features":[0]},{"name":"FABRIC_CHECK_EXISTS_PROPERTY_OPERATION","features":[0,1]},{"name":"FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION","features":[0]},{"name":"FABRIC_CHECK_VALUE_PROPERTY_OPERATION","features":[0]},{"name":"FABRIC_CLAIMS_CREDENTIALS","features":[0]},{"name":"FABRIC_CLAIMS_CREDENTIALS_EX1","features":[0]},{"name":"FABRIC_CLAIMS_RETRIEVAL_METADATA","features":[0]},{"name":"FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND","features":[0]},{"name":"FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_AAD","features":[0]},{"name":"FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_NONE","features":[0]},{"name":"FABRIC_CLIENT_ROLE","features":[0]},{"name":"FABRIC_CLIENT_ROLE_ADMIN","features":[0]},{"name":"FABRIC_CLIENT_ROLE_UNKNOWN","features":[0]},{"name":"FABRIC_CLIENT_ROLE_USER","features":[0]},{"name":"FABRIC_CLIENT_SETTINGS","features":[0]},{"name":"FABRIC_CLIENT_SETTINGS_EX1","features":[0]},{"name":"FABRIC_CLIENT_SETTINGS_EX2","features":[0]},{"name":"FABRIC_CLIENT_SETTINGS_EX3","features":[0]},{"name":"FABRIC_CLIENT_SETTINGS_EX4","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH_CHUNK","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_EX1","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_EX2","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH_EX3","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH_POLICY","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_POLICY_EX1","features":[0]},{"name":"FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER","features":[0,1]},{"name":"FABRIC_CLUSTER_LOAD_INFORMATION","features":[0,1]},{"name":"FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY","features":[0]},{"name":"FABRIC_CODE_PACKAGE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CODE_PACKAGE_DESCRIPTION_LIST","features":[0,1]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT","features":[0,1]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_CONTAINERHOST","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_DLLHOST","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_EXEHOST","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_INVALID","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_NONE","features":[0]},{"name":"FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS","features":[0,1]},{"name":"FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION","features":[0,1]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_HEALTH","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_INVALID","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_READY","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_STARTED","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_START_FAILED","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_STOPPED","features":[0]},{"name":"FABRIC_CODE_PACKAGE_EVENT_TYPE_TERMINATED","features":[0]},{"name":"FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION","features":[0]},{"name":"FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_CONFIGURATION_PARAMETER","features":[0,1]},{"name":"FABRIC_CONFIGURATION_PARAMETER_EX1","features":[0]},{"name":"FABRIC_CONFIGURATION_PARAMETER_LIST","features":[0,1]},{"name":"FABRIC_CONFIGURATION_SECTION","features":[0,1]},{"name":"FABRIC_CONFIGURATION_SECTION_LIST","features":[0,1]},{"name":"FABRIC_CONFIGURATION_SETTINGS","features":[0,1]},{"name":"FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION","features":[0]},{"name":"FABRIC_DATA_LOSS_MODE","features":[0]},{"name":"FABRIC_DATA_LOSS_MODE_FULL","features":[0]},{"name":"FABRIC_DATA_LOSS_MODE_INVALID","features":[0]},{"name":"FABRIC_DATA_LOSS_MODE_PARTIAL","features":[0]},{"name":"FABRIC_DATA_PACKAGE_DESCRIPTION","features":[0]},{"name":"FABRIC_DATA_PACKAGE_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_DELETE_APPLICATION_DESCRIPTION","features":[0,1]},{"name":"FABRIC_DELETE_NETWORK_DESCRIPTION","features":[0]},{"name":"FABRIC_DELETE_PROPERTY_OPERATION","features":[0]},{"name":"FABRIC_DELETE_SERVICE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH","features":[0,1]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER","features":[0,1]},{"name":"FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM","features":[0,1]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST","features":[0,1]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_RESULT","features":[0]},{"name":"FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH","features":[0,1]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM","features":[0,1]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3","features":[0,1]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM","features":[0,1]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_ACTIVATING","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_ACTIVE","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_DEACTIVATING","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_DOWNLOADING","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_INVALID","features":[0]},{"name":"FABRIC_DEPLOYMENT_STATUS_UPGRADING","features":[0]},{"name":"FABRIC_DIAGNOSTICS_SINKS_KIND","features":[0]},{"name":"FABRIC_DIAGNOSTICS_SINKS_KIND_AZUREINTERNAL","features":[0]},{"name":"FABRIC_DIAGNOSTICS_SINKS_KIND_INVALID","features":[0]},{"name":"FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_KIND","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_KIND_INVALID","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_KIND_MANAGED","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_DLL_KIND_UNMANAGED","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION","features":[0]},{"name":"FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION","features":[0]},{"name":"FABRIC_DLLHOST_ISOLATION_POLICY","features":[0]},{"name":"FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_DOMAIN","features":[0]},{"name":"FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_PROCESS","features":[0]},{"name":"FABRIC_DLLHOST_ISOLATION_POLICY_INVALID","features":[0]},{"name":"FABRIC_DLLHOST_ISOLATION_POLICY_SHARED_DOMAIN","features":[0]},{"name":"FABRIC_ENDPOINT_RESOURCE_DESCRIPTION","features":[0]},{"name":"FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_INVALID","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_PENDING","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_STARTED","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_STARTING","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_STOPPED","features":[0]},{"name":"FABRIC_ENTRY_POINT_STATUS_STOPPING","features":[0]},{"name":"FABRIC_ENUMERATION_BEST_EFFORT_FINISHED","features":[0]},{"name":"FABRIC_ENUMERATION_BEST_EFFORT_MASK","features":[0]},{"name":"FABRIC_ENUMERATION_BEST_EFFORT_MORE_DATA","features":[0]},{"name":"FABRIC_ENUMERATION_CONSISTENT_FINISHED","features":[0]},{"name":"FABRIC_ENUMERATION_CONSISTENT_MASK","features":[0]},{"name":"FABRIC_ENUMERATION_CONSISTENT_MORE_DATA","features":[0]},{"name":"FABRIC_ENUMERATION_FINISHED_MASK","features":[0]},{"name":"FABRIC_ENUMERATION_INVALID","features":[0]},{"name":"FABRIC_ENUMERATION_MORE_DATA_MASK","features":[0]},{"name":"FABRIC_ENUMERATION_STATUS","features":[0]},{"name":"FABRIC_ENUMERATION_VALID_MASK","features":[0]},{"name":"FABRIC_EPOCH","features":[0]},{"name":"FABRIC_ERROR_CODE","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1","features":[0,1]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5","features":[0]},{"name":"FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6","features":[0,1]},{"name":"FABRIC_EVENT_CONTEXT_MAP","features":[0]},{"name":"FABRIC_EVENT_CONTEXT_MAP_ITEM","features":[0]},{"name":"FABRIC_EVENT_HEALTH_EVALUATION","features":[0,1]},{"name":"FABRIC_EXECUTING_FAULTS_EVENT","features":[0,1]},{"name":"FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION","features":[0]},{"name":"FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2","features":[0,1]},{"name":"FABRIC_EXEHOST_WORKING_FOLDER","features":[0]},{"name":"FABRIC_EXEHOST_WORKING_FOLDER_CODE_BASE","features":[0]},{"name":"FABRIC_EXEHOST_WORKING_FOLDER_CODE_PACKAGE","features":[0]},{"name":"FABRIC_EXEHOST_WORKING_FOLDER_INVALID","features":[0]},{"name":"FABRIC_EXEHOST_WORKING_FOLDER_WORK","features":[0]},{"name":"FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_E_ACQUIRE_FILE_LOCK_FAILED","features":[0]},{"name":"FABRIC_E_ALREADY_STOPPED","features":[0]},{"name":"FABRIC_E_APPLICATION_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION","features":[0]},{"name":"FABRIC_E_APPLICATION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_APPLICATION_NOT_UPGRADING","features":[0]},{"name":"FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_APPLICATION_TYPE_IN_USE","features":[0]},{"name":"FABRIC_E_APPLICATION_TYPE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_APPLICATION_UPDATE_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR","features":[0]},{"name":"FABRIC_E_BACKUPCOPIER_ACCESS_DENIED","features":[0]},{"name":"FABRIC_E_BACKUPCOPIER_TIMEOUT","features":[0]},{"name":"FABRIC_E_BACKUPCOPIER_UNEXPECTED_ERROR","features":[0]},{"name":"FABRIC_E_BACKUP_DIRECTORY_NOT_EMPTY","features":[0]},{"name":"FABRIC_E_BACKUP_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_BACKUP_IS_ENABLED","features":[0]},{"name":"FABRIC_E_BACKUP_NOT_ENABLED","features":[0]},{"name":"FABRIC_E_BACKUP_POLICY_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_BACKUP_POLICY_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_CANNOT_CONNECT","features":[0]},{"name":"FABRIC_E_CENTRAL_SECRET_SERVICE_GENERIC","features":[0]},{"name":"FABRIC_E_CERTIFICATE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_CHAOS_ALREADY_RUNNING","features":[0]},{"name":"FABRIC_E_CM_OPERATION_FAILED","features":[0]},{"name":"FABRIC_E_CODE_PACKAGE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_COMMUNICATION_ERROR","features":[0]},{"name":"FABRIC_E_COMPOSE_DEPLOYMENT_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_COMPOSE_DEPLOYMENT_NOT_FOUND","features":[0]},{"name":"FABRIC_E_COMPOSE_DEPLOYMENT_NOT_UPGRADING","features":[0]},{"name":"FABRIC_E_CONFIGURATION_PACKAGE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND","features":[0]},{"name":"FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_CONFIG_UPGRADE_FAILED","features":[0]},{"name":"FABRIC_E_CONNECTION_CLOSED_BY_REMOTE_END","features":[0]},{"name":"FABRIC_E_CONNECTION_DENIED","features":[0]},{"name":"FABRIC_E_CONSTRAINT_KEY_UNDEFINED","features":[0]},{"name":"FABRIC_E_CONSTRAINT_NOT_SATISFIED","features":[0]},{"name":"FABRIC_E_CONTAINER_NOT_FOUND","features":[0]},{"name":"FABRIC_E_CORRUPTED_IMAGE_STORE_OBJECT_FOUND","features":[0]},{"name":"FABRIC_E_DATABASE_MIGRATION_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_DATA_PACKAGE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_DECRYPTION_FAILED","features":[0]},{"name":"FABRIC_E_DELETE_BACKUP_FILE_FAILED","features":[0]},{"name":"FABRIC_E_DIRECTORY_NOT_FOUND","features":[0]},{"name":"FABRIC_E_DNS_NAME_IN_USE","features":[0]},{"name":"FABRIC_E_DNS_SERVICE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_DUPLICATE_BACKUPS","features":[0]},{"name":"FABRIC_E_DUPLICATE_SERVICE_NOTIFICATION_FILTER_NAME","features":[0]},{"name":"FABRIC_E_ENCRYPTION_FAILED","features":[0]},{"name":"FABRIC_E_ENDPOINT_NOT_FOUND","features":[0]},{"name":"FABRIC_E_ENDPOINT_NOT_REFERENCED","features":[0]},{"name":"FABRIC_E_ENUMERATION_COMPLETED","features":[0]},{"name":"FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION","features":[0]},{"name":"FABRIC_E_FABRIC_DATA_ROOT_NOT_FOUND","features":[0]},{"name":"FABRIC_E_FABRIC_NOT_UPGRADING","features":[0]},{"name":"FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR","features":[0]},{"name":"FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_FABRIC_VERSION_IN_USE","features":[0]},{"name":"FABRIC_E_FABRIC_VERSION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_ENABLED","features":[0]},{"name":"FABRIC_E_FILE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_FIRST_RESERVED_HRESULT","features":[0]},{"name":"FABRIC_E_FORCE_NOT_SUPPORTED_FOR_REPLICA_OPERATION","features":[0]},{"name":"FABRIC_E_GATEWAY_NOT_REACHABLE","features":[0]},{"name":"FABRIC_E_HEALTH_ENTITY_NOT_FOUND","features":[0]},{"name":"FABRIC_E_HEALTH_MAX_REPORTS_REACHED","features":[0]},{"name":"FABRIC_E_HEALTH_STALE_REPORT","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_ACCESS_DENIED","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_INVALID_MSI_FILE","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_TIMEOUT","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR","features":[0]},{"name":"FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR","features":[0]},{"name":"FABRIC_E_IMAGESTORE_IOERROR","features":[0]},{"name":"FABRIC_E_INSTANCE_ID_MISMATCH","features":[0]},{"name":"FABRIC_E_INSUFFICIENT_CLUSTER_CAPACITY","features":[0]},{"name":"FABRIC_E_INVALID_ADDRESS","features":[0]},{"name":"FABRIC_E_INVALID_ALLOWED_COMMON_NAME_LIST","features":[0]},{"name":"FABRIC_E_INVALID_ATOMIC_GROUP","features":[0]},{"name":"FABRIC_E_INVALID_BACKUP","features":[0]},{"name":"FABRIC_E_INVALID_BACKUP_CHAIN","features":[0]},{"name":"FABRIC_E_INVALID_BACKUP_SETTING","features":[0]},{"name":"FABRIC_E_INVALID_CONFIGURATION","features":[0]},{"name":"FABRIC_E_INVALID_CREDENTIALS","features":[0]},{"name":"FABRIC_E_INVALID_CREDENTIAL_TYPE","features":[0]},{"name":"FABRIC_E_INVALID_DIRECTORY","features":[0]},{"name":"FABRIC_E_INVALID_DNS_NAME","features":[0]},{"name":"FABRIC_E_INVALID_DURATION","features":[0]},{"name":"FABRIC_E_INVALID_FOR_STATEFUL_SERVICES","features":[0]},{"name":"FABRIC_E_INVALID_FOR_STATELESS_SERVICES","features":[0]},{"name":"FABRIC_E_INVALID_INSTANCE_ID","features":[0]},{"name":"FABRIC_E_INVALID_NAME_URI","features":[0]},{"name":"FABRIC_E_INVALID_OPERATION","features":[0]},{"name":"FABRIC_E_INVALID_PACKAGE_SHARING_POLICY","features":[0]},{"name":"FABRIC_E_INVALID_PARTITION_KEY","features":[0]},{"name":"FABRIC_E_INVALID_PARTITION_OPERATION","features":[0]},{"name":"FABRIC_E_INVALID_PARTITION_SELECTOR","features":[0]},{"name":"FABRIC_E_INVALID_PROTECTION_LEVEL","features":[0]},{"name":"FABRIC_E_INVALID_REPLICA_OPERATION","features":[0]},{"name":"FABRIC_E_INVALID_REPLICA_SELECTOR","features":[0]},{"name":"FABRIC_E_INVALID_REPLICA_STATE","features":[0]},{"name":"FABRIC_E_INVALID_RESTORE_DATA","features":[0]},{"name":"FABRIC_E_INVALID_SERVICE_SCALING_POLICY","features":[0]},{"name":"FABRIC_E_INVALID_SERVICE_TYPE","features":[0]},{"name":"FABRIC_E_INVALID_SUBJECT_NAME","features":[0]},{"name":"FABRIC_E_INVALID_TEST_COMMAND_STATE","features":[0]},{"name":"FABRIC_E_INVALID_UPLOAD_SESSION_ID","features":[0]},{"name":"FABRIC_E_INVALID_X509_FIND_TYPE","features":[0]},{"name":"FABRIC_E_INVALID_X509_NAME_LIST","features":[0]},{"name":"FABRIC_E_INVALID_X509_STORE","features":[0]},{"name":"FABRIC_E_INVALID_X509_STORE_LOCATION","features":[0]},{"name":"FABRIC_E_INVALID_X509_STORE_NAME","features":[0]},{"name":"FABRIC_E_INVALID_X509_THUMBPRINT","features":[0]},{"name":"FABRIC_E_KEY_NOT_FOUND","features":[0]},{"name":"FABRIC_E_KEY_TOO_LARGE","features":[0]},{"name":"FABRIC_E_LAST_RESERVED_HRESULT","features":[0]},{"name":"FABRIC_E_LAST_USED_HRESULT","features":[0]},{"name":"FABRIC_E_LOADBALANCER_NOT_READY","features":[0]},{"name":"FABRIC_E_MESSAGE_TOO_LARGE","features":[0]},{"name":"FABRIC_E_MISSING_FULL_BACKUP","features":[0]},{"name":"FABRIC_E_MULTITHREADED_TRANSACTIONS_NOT_ALLOWED","features":[0]},{"name":"FABRIC_E_NAME_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_NAME_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_NAME_NOT_EMPTY","features":[0]},{"name":"FABRIC_E_NETWORK_IN_USE","features":[0]},{"name":"FABRIC_E_NETWORK_NOT_FOUND","features":[0]},{"name":"FABRIC_E_NODE_HAS_NOT_STOPPED_YET","features":[0]},{"name":"FABRIC_E_NODE_IS_DOWN","features":[0]},{"name":"FABRIC_E_NODE_IS_UP","features":[0]},{"name":"FABRIC_E_NODE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_NODE_TRANSITION_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_NOT_PRIMARY","features":[0]},{"name":"FABRIC_E_NOT_READABLE","features":[0]},{"name":"FABRIC_E_NOT_READY","features":[0]},{"name":"FABRIC_E_NO_WRITE_QUORUM","features":[0]},{"name":"FABRIC_E_OBJECT_CLOSED","features":[0]},{"name":"FABRIC_E_OBJECT_DISPOSED","features":[0]},{"name":"FABRIC_E_ONLY_VALID_FOR_STATEFUL_PERSISTENT_SERVICES","features":[0]},{"name":"FABRIC_E_OPERATION_NOT_COMPLETE","features":[0]},{"name":"FABRIC_E_OPERATION_NOT_SUPPORTED","features":[0]},{"name":"FABRIC_E_PARTITION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_PATH_TOO_LONG","features":[0]},{"name":"FABRIC_E_PREDEPLOYMENT_NOT_ALLOWED","features":[0]},{"name":"FABRIC_E_PRIMARY_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_PROCESS_ABORTED","features":[0]},{"name":"FABRIC_E_PROCESS_DEACTIVATED","features":[0]},{"name":"FABRIC_E_PROPERTY_CHECK_FAILED","features":[0]},{"name":"FABRIC_E_PROPERTY_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_RECONFIGURATION_PENDING","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_CANNOT_CONNECT","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_INVALID_TARGET_PARTITION","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_MANAGER_ALREADY_LISTENING","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_MANAGER_EXISTS","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_FOUND","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_LISTENING","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_QUEUE_EMPTY","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_QUOTA_EXCEEDED","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_REJECTED","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_SERVICE_FAULTED","features":[0]},{"name":"FABRIC_E_RELIABLE_SESSION_TRANSPORT_STARTUP_FAILURE","features":[0]},{"name":"FABRIC_E_REPAIR_TASK_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_REPAIR_TASK_NOT_FOUND","features":[0]},{"name":"FABRIC_E_REPLICATION_OPERATION_TOO_LARGE","features":[0]},{"name":"FABRIC_E_REPLICATION_QUEUE_FULL","features":[0]},{"name":"FABRIC_E_REPLICA_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_RESTORE_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_RESTORE_SAFE_CHECK_FAILED","features":[0]},{"name":"FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH","features":[0]},{"name":"FABRIC_E_SECONDARY_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_SECRET_INVALID","features":[0]},{"name":"FABRIC_E_SECRET_TYPE_CANNOT_BE_CHANGED","features":[0]},{"name":"FABRIC_E_SECRET_VERSION_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED","features":[0]},{"name":"FABRIC_E_SERVER_AUTHENTICATION_FAILED","features":[0]},{"name":"FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED","features":[0]},{"name":"FABRIC_E_SERVICE_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_SERVICE_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_SERVICE_ENDPOINT_RESOURCE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST","features":[0]},{"name":"FABRIC_E_SERVICE_MANIFEST_NOT_FOUND","features":[0]},{"name":"FABRIC_E_SERVICE_METADATA_MISMATCH","features":[0]},{"name":"FABRIC_E_SERVICE_OFFLINE","features":[0]},{"name":"FABRIC_E_SERVICE_TOO_BUSY","features":[0]},{"name":"FABRIC_E_SERVICE_TYPE_ALREADY_REGISTERED","features":[0]},{"name":"FABRIC_E_SERVICE_TYPE_MISMATCH","features":[0]},{"name":"FABRIC_E_SERVICE_TYPE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_SERVICE_TYPE_NOT_REGISTERED","features":[0]},{"name":"FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND","features":[0]},{"name":"FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND","features":[0]},{"name":"FABRIC_E_SINGLE_INSTANCE_APPLICATION_UPGRADE_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_STOP_IN_PROGRESS","features":[0]},{"name":"FABRIC_E_TEST_COMMAND_OPERATION_ID_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_TIMEOUT","features":[0]},{"name":"FABRIC_E_TRANSACTION_ABORTED","features":[0]},{"name":"FABRIC_E_TRANSACTION_NOT_ACTIVE","features":[0]},{"name":"FABRIC_E_TRANSACTION_TOO_LARGE","features":[0]},{"name":"FABRIC_E_UPGRADE_DOMAIN_ALREADY_COMPLETED","features":[0]},{"name":"FABRIC_E_UPGRADE_FAILED","features":[0]},{"name":"FABRIC_E_UPLOAD_SESSION_ID_CONFLICT","features":[0]},{"name":"FABRIC_E_UPLOAD_SESSION_RANGE_NOT_SATISFIABLE","features":[0]},{"name":"FABRIC_E_USER_ROLE_CLIENT_CERTIFICATE_NOT_CONFIGURED","features":[0]},{"name":"FABRIC_E_VALUE_EMPTY","features":[0]},{"name":"FABRIC_E_VALUE_TOO_LARGE","features":[0]},{"name":"FABRIC_E_VERBOSE_FM_PLACEMENT_HEALTH_REPORTING_REQUIRED","features":[0]},{"name":"FABRIC_E_VOLUME_ALREADY_EXISTS","features":[0]},{"name":"FABRIC_E_VOLUME_NOT_FOUND","features":[0]},{"name":"FABRIC_E_WRITE_CONFLICT","features":[0]},{"name":"FABRIC_FAULT_TYPE","features":[0]},{"name":"FABRIC_FAULT_TYPE_INVALID","features":[0]},{"name":"FABRIC_FAULT_TYPE_PERMANENT","features":[0]},{"name":"FABRIC_FAULT_TYPE_TRANSIENT","features":[0]},{"name":"FABRIC_GATEWAY_INFORMATION","features":[0]},{"name":"FABRIC_GET_CHAOS_REPORT_DESCRIPTION","features":[0,1]},{"name":"FABRIC_GET_PROPERTY_OPERATION","features":[0,1]},{"name":"FABRIC_HEALTH_ENTITY_KIND","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_CLUSTER","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_SERVICE_PACKAGE","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_INVALID","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_NODE","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_PARTITION","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_REPLICA","features":[0]},{"name":"FABRIC_HEALTH_ENTITY_KIND_SERVICE","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_APPLICATIONS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_APPLICATION_TYPE_APPLICATIONS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_DELTA_NODES_CHECK","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATIONS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGE","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGES","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_EVENT","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_INVALID","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_NODE","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_NODES","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_PARTITION","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_PARTITIONS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_REPLICA","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_REPLICAS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_SERVICE","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_SERVICES","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_SYSTEM_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DELTA_NODES_CHECK","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_NODES","features":[0]},{"name":"FABRIC_HEALTH_EVALUATION_LIST","features":[0]},{"name":"FABRIC_HEALTH_EVENT","features":[0,1]},{"name":"FABRIC_HEALTH_EVENTS_FILTER","features":[0]},{"name":"FABRIC_HEALTH_EVENT_EX1","features":[0,1]},{"name":"FABRIC_HEALTH_EVENT_LIST","features":[0,1]},{"name":"FABRIC_HEALTH_INFORMATION","features":[0,1]},{"name":"FABRIC_HEALTH_REPORT","features":[0]},{"name":"FABRIC_HEALTH_REPORT_INFINITE_TTL","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_CLUSTER","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_DEPLOYED_APPLICATION","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_DEPLOYED_SERVICE_PACKAGE","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_INVALID","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_NODE","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_PARTITION","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_SERVICE","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_STATEFUL_SERVICE_REPLICA","features":[0]},{"name":"FABRIC_HEALTH_REPORT_KIND_STATELESS_SERVICE_INSTANCE","features":[0]},{"name":"FABRIC_HEALTH_REPORT_SEND_OPTIONS","features":[0,1]},{"name":"FABRIC_HEALTH_STATE","features":[0]},{"name":"FABRIC_HEALTH_STATE_COUNT","features":[0]},{"name":"FABRIC_HEALTH_STATE_ERROR","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_ALL","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_ERROR","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_NONE","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_OK","features":[0]},{"name":"FABRIC_HEALTH_STATE_FILTER_WARNING","features":[0]},{"name":"FABRIC_HEALTH_STATE_INVALID","features":[0]},{"name":"FABRIC_HEALTH_STATE_OK","features":[0]},{"name":"FABRIC_HEALTH_STATE_UNKNOWN","features":[0]},{"name":"FABRIC_HEALTH_STATE_WARNING","features":[0]},{"name":"FABRIC_HEALTH_STATISTICS","features":[0]},{"name":"FABRIC_HOST_ISOLATION_MODE","features":[0]},{"name":"FABRIC_HOST_ISOLATION_MODE_HYPER_V","features":[0]},{"name":"FABRIC_HOST_ISOLATION_MODE_NONE","features":[0]},{"name":"FABRIC_HOST_ISOLATION_MODE_PROCESS","features":[0]},{"name":"FABRIC_HOST_TYPE","features":[0]},{"name":"FABRIC_HOST_TYPE_CONTAINER_HOST","features":[0]},{"name":"FABRIC_HOST_TYPE_EXE_HOST","features":[0]},{"name":"FABRIC_HOST_TYPE_INVALID","features":[0]},{"name":"FABRIC_IGNORE_SEQUENCE_NUMBER_CHECK","features":[0]},{"name":"FABRIC_INFINITE_DURATION","features":[0]},{"name":"FABRIC_INT64_RANGE_PARTITION_INFORMATION","features":[0]},{"name":"FABRIC_INVALID_ATOMIC_GROUP_ID","features":[0]},{"name":"FABRIC_INVALID_INSTANCE_ID","features":[0]},{"name":"FABRIC_INVALID_NODE_INSTANCE_ID","features":[0]},{"name":"FABRIC_INVALID_OPERATION_INDEX","features":[0]},{"name":"FABRIC_INVALID_REPLICA_ID","features":[0]},{"name":"FABRIC_INVALID_SEQUENCE_NUMBER","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_DEFAULT","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_LOGICAL","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_PHYSICAL","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_REBUILD","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_ITEM","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_ITEM_METADATA","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_INACTIVE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_MIGRATION","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_RESTORE_SOURCE_BACKUP","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_SOURCE_DATABASE_CLEANUP","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_ACTIVE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_CLEANUP","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_SWAP","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_CANCELED","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_COMPLETED","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_FAILED","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_INACTIVE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_PROCESSING","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_BLOCK_SECONDARY_ACK","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_INVALID","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NONE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NON_BLOCKING_QUORUM_ACKED","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_PROVIDER_KIND","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_ESE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_TSTORE","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_UNKNOWN","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1","features":[0,1]},{"name":"FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1","features":[0]},{"name":"FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS","features":[0]},{"name":"FABRIC_LOAD_METRIC","features":[0]},{"name":"FABRIC_LOAD_METRIC_INFORMATION","features":[0,1]},{"name":"FABRIC_LOAD_METRIC_INFORMATION_EX1","features":[0]},{"name":"FABRIC_LOAD_METRIC_INFORMATION_EX2","features":[0,1]},{"name":"FABRIC_LOAD_METRIC_INFORMATION_EX3","features":[0]},{"name":"FABRIC_LOAD_METRIC_INFORMATION_LIST","features":[0,1]},{"name":"FABRIC_LOAD_METRIC_REPORT","features":[0,1]},{"name":"FABRIC_LOAD_METRIC_REPORT_EX1","features":[0]},{"name":"FABRIC_LOAD_METRIC_REPORT_LIST","features":[0,1]},{"name":"FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION","features":[0]},{"name":"FABRIC_LOCAL_NETWORK_DESCRIPTION","features":[0]},{"name":"FABRIC_LOCAL_NETWORK_INFORMATION","features":[0]},{"name":"FABRIC_LOCAL_STORE_KIND","features":[0]},{"name":"FABRIC_LOCAL_STORE_KIND_ESE","features":[0]},{"name":"FABRIC_LOCAL_STORE_KIND_INVALID","features":[0]},{"name":"FABRIC_MONITORED_UPGRADE_FAILURE_ACTION","features":[0]},{"name":"FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_INVALID","features":[0]},{"name":"FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_MANUAL","features":[0]},{"name":"FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_ROLLBACK","features":[0]},{"name":"FABRIC_MOVE_COST","features":[0]},{"name":"FABRIC_MOVE_COST_HIGH","features":[0]},{"name":"FABRIC_MOVE_COST_LOW","features":[0]},{"name":"FABRIC_MOVE_COST_MEDIUM","features":[0]},{"name":"FABRIC_MOVE_COST_ZERO","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION2","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR","features":[0]},{"name":"FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME","features":[0,1]},{"name":"FABRIC_MOVE_PRIMARY_RESULT","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION2","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR","features":[0]},{"name":"FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME","features":[0,1]},{"name":"FABRIC_MOVE_SECONDARY_RESULT","features":[0]},{"name":"FABRIC_NAMED_PARTITION_INFORMATION","features":[0]},{"name":"FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION","features":[0]},{"name":"FABRIC_NAMED_PROPERTY","features":[0,1]},{"name":"FABRIC_NAMED_PROPERTY_METADATA","features":[0,1]},{"name":"FABRIC_NAMED_PROPERTY_METADATA_EX1","features":[0]},{"name":"FABRIC_NAMED_REPARTITION_DESCRIPTION","features":[0]},{"name":"FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_NETWORK_DESCRIPTION","features":[0]},{"name":"FABRIC_NETWORK_INFORMATION","features":[0]},{"name":"FABRIC_NETWORK_NODE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_NETWORK_NODE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_NETWORK_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_NETWORK_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_NETWORK_STATUS","features":[0]},{"name":"FABRIC_NETWORK_STATUS_CREATING","features":[0]},{"name":"FABRIC_NETWORK_STATUS_DELETING","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FAILED","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_ALL","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_CREATING","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_DELETING","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_FAILED","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_READY","features":[0]},{"name":"FABRIC_NETWORK_STATUS_FILTER_UPDATING","features":[0]},{"name":"FABRIC_NETWORK_STATUS_INVALID","features":[0]},{"name":"FABRIC_NETWORK_STATUS_READY","features":[0]},{"name":"FABRIC_NETWORK_STATUS_UPDATING","features":[0]},{"name":"FABRIC_NETWORK_TYPE","features":[0]},{"name":"FABRIC_NETWORK_TYPE_FEDERATED","features":[0]},{"name":"FABRIC_NETWORK_TYPE_INVALID","features":[0]},{"name":"FABRIC_NETWORK_TYPE_LOCAL","features":[0]},{"name":"FABRIC_NODES_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_NODE_CONTEXT","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT_INVALID","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT_PAUSE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_DATA","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_NODE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_INTENT_RESTART","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_STATUS","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_STATUS_COMPLETED","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_STATUS_NONE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_COMPLETE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_IN_PROGRESS","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_ID","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_LIST","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_TYPE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_TYPE_CLIENT","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_TYPE_INFRASTRUCTURE","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_TYPE_INVALID","features":[0]},{"name":"FABRIC_NODE_DEACTIVATION_TASK_TYPE_REPAIR","features":[0]},{"name":"FABRIC_NODE_HEALTH","features":[0,1]},{"name":"FABRIC_NODE_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_NODE_HEALTH_EX1","features":[0]},{"name":"FABRIC_NODE_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_NODE_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_NODE_HEALTH_STATE","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_NODE_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_NODE_ID","features":[0]},{"name":"FABRIC_NODE_LOAD_INFORMATION","features":[0,1]},{"name":"FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_NODE_LOAD_METRIC_INFORMATION","features":[0,1]},{"name":"FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1","features":[0]},{"name":"FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2","features":[0]},{"name":"FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST","features":[0,1]},{"name":"FABRIC_NODE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_NODE_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_NODE_QUERY_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_NODE_QUERY_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM","features":[0,1]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX2","features":[0]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX3","features":[0]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX4","features":[0,1]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX5","features":[0]},{"name":"FABRIC_NODE_QUERY_RESULT_ITEM_EX6","features":[0,1]},{"name":"FABRIC_NODE_QUERY_RESULT_LIST","features":[0,1]},{"name":"FABRIC_NODE_RESULT","features":[0]},{"name":"FABRIC_NODE_START_DESCRIPTION","features":[0]},{"name":"FABRIC_NODE_STOP_DESCRIPTION","features":[0]},{"name":"FABRIC_NODE_TRANSITION_DESCRIPTION","features":[0]},{"name":"FABRIC_NODE_TRANSITION_PROGRESS","features":[0]},{"name":"FABRIC_NODE_TRANSITION_RESULT","features":[0]},{"name":"FABRIC_NODE_TRANSITION_TYPE","features":[0]},{"name":"FABRIC_NODE_TRANSITION_TYPE_INVALID","features":[0]},{"name":"FABRIC_NODE_TRANSITION_TYPE_START","features":[0]},{"name":"FABRIC_NODE_TRANSITION_TYPE_STOP","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PHASE","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PHASE_INVALID","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PHASE_POST_UPGRADE_SAFETY_CHECK","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PHASE_PRE_UPGRADE_SAFETY_CHECK","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PHASE_UPGRADING","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PROGRESS","features":[0]},{"name":"FABRIC_NODE_UPGRADE_PROGRESS_LIST","features":[0]},{"name":"FABRIC_OPERATION_DATA_BUFFER","features":[0]},{"name":"FABRIC_OPERATION_ID","features":[0]},{"name":"FABRIC_OPERATION_METADATA","features":[0]},{"name":"FABRIC_OPERATION_TYPE","features":[0]},{"name":"FABRIC_OPERATION_TYPE_ATOMIC_GROUP_OPERATION","features":[0]},{"name":"FABRIC_OPERATION_TYPE_COMMIT_ATOMIC_GROUP","features":[0]},{"name":"FABRIC_OPERATION_TYPE_CREATE_ATOMIC_GROUP","features":[0]},{"name":"FABRIC_OPERATION_TYPE_END_OF_STREAM","features":[0]},{"name":"FABRIC_OPERATION_TYPE_HAS_ATOMIC_GROUP_MASK","features":[0]},{"name":"FABRIC_OPERATION_TYPE_INVALID","features":[0]},{"name":"FABRIC_OPERATION_TYPE_NORMAL","features":[0]},{"name":"FABRIC_OPERATION_TYPE_ROLLBACK_ATOMIC_GROUP","features":[0]},{"name":"FABRIC_ORCHESTRATION_UPGRADE_PROGRESS","features":[0]},{"name":"FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1","features":[0]},{"name":"FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_LIST","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE_ALL","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CODE","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CONFIG","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE_DATA","features":[0]},{"name":"FABRIC_PACKAGE_SHARING_POLICY_SCOPE_NONE","features":[0]},{"name":"FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_PAGING_STATUS","features":[0]},{"name":"FABRIC_PARTITIONS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_PARTITION_DATA_LOSS_PROGRESS","features":[0]},{"name":"FABRIC_PARTITION_DATA_LOSS_RESULT","features":[0]},{"name":"FABRIC_PARTITION_HEALTH","features":[0,1]},{"name":"FABRIC_PARTITION_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_EX1","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_EX2","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_PARTITION_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_PARTITION_HEALTH_STATE","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_PARTITION_HEALTH_STATISTICS_FILTER","features":[0,1]},{"name":"FABRIC_PARTITION_KEY_TYPE","features":[0]},{"name":"FABRIC_PARTITION_KEY_TYPE_INT64","features":[0]},{"name":"FABRIC_PARTITION_KEY_TYPE_INVALID","features":[0]},{"name":"FABRIC_PARTITION_KEY_TYPE_NONE","features":[0]},{"name":"FABRIC_PARTITION_KEY_TYPE_STRING","features":[0]},{"name":"FABRIC_PARTITION_LOAD_INFORMATION","features":[0,1]},{"name":"FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_PARTITION_QUORUM_LOSS_PROGRESS","features":[0]},{"name":"FABRIC_PARTITION_QUORUM_LOSS_RESULT","features":[0]},{"name":"FABRIC_PARTITION_RESTART_PROGRESS","features":[0]},{"name":"FABRIC_PARTITION_RESTART_RESULT","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP","features":[0]},{"name":"FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION","features":[0]},{"name":"FABRIC_PARTITION_SCHEME","features":[0]},{"name":"FABRIC_PARTITION_SCHEME_INVALID","features":[0]},{"name":"FABRIC_PARTITION_SCHEME_NAMED","features":[0]},{"name":"FABRIC_PARTITION_SCHEME_SINGLETON","features":[0]},{"name":"FABRIC_PARTITION_SCHEME_UNIFORM_INT64_RANGE","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_NAMED","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_NONE","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_PARTITION_ID","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_RANDOM","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_SINGLETON","features":[0]},{"name":"FABRIC_PARTITION_SELECTOR_TYPE_UNIFORM_INT64","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_INVALID","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION","features":[0]},{"name":"FABRIC_PLACEMENT_POLICY_TYPE","features":[0]},{"name":"FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT","features":[0,1]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_EXISTS","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_SEQUENCE","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_VALUE","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_DELETE","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_GET","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_INVALID","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT","features":[0]},{"name":"FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT_CUSTOM","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_BINARY","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_DOUBLE","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_GUID","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_ID","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_INT64","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_INVALID","features":[0]},{"name":"FABRIC_PROPERTY_TYPE_WSTRING","features":[0]},{"name":"FABRIC_PROTECTION_LEVEL","features":[0]},{"name":"FABRIC_PROTECTION_LEVEL_ENCRYPTANDSIGN","features":[0]},{"name":"FABRIC_PROTECTION_LEVEL_NONE","features":[0]},{"name":"FABRIC_PROTECTION_LEVEL_SIGN","features":[0]},{"name":"FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_KIND","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_KIND_EXTERNAL_STORE","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_KIND_IMAGE_STORE_PATH","features":[0]},{"name":"FABRIC_PROVISION_APPLICATION_TYPE_KIND_INVALID","features":[0]},{"name":"FABRIC_PUT_CUSTOM_PROPERTY_OPERATION","features":[0]},{"name":"FABRIC_PUT_PROPERTY_OPERATION","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_DISABLED","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_DISABLING","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_DOWN","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_ENABLING","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_ALL","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_DISABLED","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_DISABLING","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_DOWN","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_ENABLING","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_REMOVED","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_UNKNOWN","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_FILTER_UP","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_INVALID","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_REMOVED","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_UNKNOWN","features":[0]},{"name":"FABRIC_QUERY_NODE_STATUS_UP","features":[0]},{"name":"FABRIC_QUERY_PAGING_DESCRIPTION","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ABORT","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_BUILD","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CHANGEROLE","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CLOSE","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_INVALID","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_NONE","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ONDATALOSS","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_OPEN","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_UPDATEEPOCH","features":[0]},{"name":"FABRIC_QUERY_REPLICATOR_OPERATION_NAME_WAITFORCATCHUP","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_ABORT","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_CHANGEROLE","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_CLOSE","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_INVALID","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_NONE","features":[0]},{"name":"FABRIC_QUERY_SERVICE_OPERATION_NAME_OPEN","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_DELETING","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_INVALID","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_IN_QUORUM_LOSS","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_NOT_READY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_READY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_PARTITION_STATUS_RECONFIGURING","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_DOWN","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_DROPPED","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_ALL","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DOWN","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DROPPED","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_INBUILD","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_READY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_STANDBY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_INBUILD","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_INVALID","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_READY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_REPLICA_STATUS_STANDBY","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_ACTIVE","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_CREATING","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_DELETING","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_FAILED","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_UNKNOWN","features":[0]},{"name":"FABRIC_QUERY_SERVICE_STATUS_UPGRADING","features":[0]},{"name":"FABRIC_QUORUM_LOSS_MODE","features":[0]},{"name":"FABRIC_QUORUM_LOSS_MODE_ALL_REPLICAS","features":[0]},{"name":"FABRIC_QUORUM_LOSS_MODE_INVALID","features":[0]},{"name":"FABRIC_QUORUM_LOSS_MODE_QUORUM_REPLICAS","features":[0]},{"name":"FABRIC_RECONFIGURATION_ABORT_PHASE_ZERO","features":[0]},{"name":"FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT","features":[0,1]},{"name":"FABRIC_RECONFIGURATION_PHASE","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_FOUR","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_INVALID","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_NONE","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_ONE","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_THREE","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_TWO","features":[0]},{"name":"FABRIC_RECONFIGURATION_PHASE_ZERO","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE_FAILOVER","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE_INVALID","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE_NONE","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE_OTHER","features":[0]},{"name":"FABRIC_RECONFIGURATION_TYPE_SWAPPRIMARY","features":[0]},{"name":"FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL","features":[0]},{"name":"FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS","features":[0]},{"name":"FABRIC_REMOTE_REPLICATOR_STATUS","features":[0,1]},{"name":"FABRIC_REMOTE_REPLICATOR_STATUS_LIST","features":[0,1]},{"name":"FABRIC_REMOVE_REPLICA_DESCRIPTION","features":[0]},{"name":"FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_REPAIR_APPROVE_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_CANCEL_DESCRIPTION","features":[0,1]},{"name":"FABRIC_REPAIR_DELETE_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_EXECUTOR_STATE","features":[0]},{"name":"FABRIC_REPAIR_IMPACT_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_IMPACT_KIND","features":[0]},{"name":"FABRIC_REPAIR_IMPACT_KIND_INVALID","features":[0]},{"name":"FABRIC_REPAIR_IMPACT_KIND_NODE","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL_INVALID","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL_NONE","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_DATA","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_NODE","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LEVEL_RESTART","features":[0]},{"name":"FABRIC_REPAIR_NODE_IMPACT_LIST","features":[0]},{"name":"FABRIC_REPAIR_RESULT_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_SCOPE_IDENTIFIER","features":[0]},{"name":"FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND","features":[0]},{"name":"FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_CLUSTER","features":[0]},{"name":"FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_INVALID","features":[0]},{"name":"FABRIC_REPAIR_TARGET_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_TARGET_KIND","features":[0]},{"name":"FABRIC_REPAIR_TARGET_KIND_INVALID","features":[0]},{"name":"FABRIC_REPAIR_TARGET_KIND_NODE","features":[0]},{"name":"FABRIC_REPAIR_TASK","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_EX1","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_FLAGS","features":[0]},{"name":"FABRIC_REPAIR_TASK_FLAGS_ABORT_REQUESTED","features":[0]},{"name":"FABRIC_REPAIR_TASK_FLAGS_CANCEL_REQUESTED","features":[0]},{"name":"FABRIC_REPAIR_TASK_FLAGS_FORCED_APPROVAL","features":[0]},{"name":"FABRIC_REPAIR_TASK_FLAGS_NONE","features":[0]},{"name":"FABRIC_REPAIR_TASK_FLAGS_VALID_MASK","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_IN_PROGRESS","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_NOT_STARTED","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SKIPPED","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SUCCEEDED","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_TIMEDOUT","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_PREPARING_HEALTH_CHECK","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_RESTORING_HEALTH_CHECK","features":[0]},{"name":"FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_NONE","features":[0]},{"name":"FABRIC_REPAIR_TASK_HISTORY","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_HISTORY_EX1","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_LIST","features":[0,1]},{"name":"FABRIC_REPAIR_TASK_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_CANCELLED","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_FAILED","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_INTERRUPTED","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_INVALID","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_PENDING","features":[0]},{"name":"FABRIC_REPAIR_TASK_RESULT_SUCCEEDED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_APPROVED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_CLAIMED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_COMPLETED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_CREATED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_EXECUTING","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_ACTIVE","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_ALL","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_APPROVED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_CLAIMED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_COMPLETED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_CREATED","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_EXECUTING","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_PREPARING","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_READY_TO_EXECUTE","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_FILTER_RESTORING","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_INVALID","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_PREPARING","features":[0]},{"name":"FABRIC_REPAIR_TASK_STATE_RESTORING","features":[0]},{"name":"FABRIC_REPLICAS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_REPLICATOR_ADDRESS","features":[0]},{"name":"FABRIC_REPLICATOR_BATCH_ACKNOWLEDGEMENT_INTERVAL","features":[0]},{"name":"FABRIC_REPLICATOR_COPY_QUEUE_INITIAL_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_COPY_QUEUE_MAX_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_LISTEN_ADDRESS","features":[0]},{"name":"FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_INITIAL_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_PRIMARY_WAIT_FOR_PENDING_QUORUMS_TIMEOUT","features":[0]},{"name":"FABRIC_REPLICATOR_PUBLISH_ADDRESS","features":[0]},{"name":"FABRIC_REPLICATOR_QUEUE_STATUS","features":[0]},{"name":"FABRIC_REPLICATOR_REPLICATION_MESSAGE_MAX_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_REPLICATION_QUEUE_INITIAL_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_MEMORY_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_REQUIRE_SERVICE_ACK","features":[0]},{"name":"FABRIC_REPLICATOR_RETRY_INTERVAL","features":[0]},{"name":"FABRIC_REPLICATOR_SECONDARY_CLEAR_ACKNOWLEDGED_OPERATIONS","features":[0]},{"name":"FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_INITIAL_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_SIZE","features":[0]},{"name":"FABRIC_REPLICATOR_SECURITY","features":[0]},{"name":"FABRIC_REPLICATOR_SETTINGS","features":[0,1]},{"name":"FABRIC_REPLICATOR_SETTINGS_EX1","features":[0,1]},{"name":"FABRIC_REPLICATOR_SETTINGS_EX2","features":[0,1]},{"name":"FABRIC_REPLICATOR_SETTINGS_EX3","features":[0]},{"name":"FABRIC_REPLICATOR_SETTINGS_EX4","features":[0]},{"name":"FABRIC_REPLICATOR_SETTINGS_FLAGS","features":[0]},{"name":"FABRIC_REPLICATOR_SETTINGS_NONE","features":[0]},{"name":"FABRIC_REPLICATOR_STATUS_QUERY_RESULT","features":[0]},{"name":"FABRIC_REPLICATOR_USE_STREAMFAULTS_AND_ENDOFSTREAM_OPERATIONACK","features":[0]},{"name":"FABRIC_REPLICA_HEALTH","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_REPLICA_HEALTH_STATE","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_REPLICA_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_REPLICA_INFORMATION","features":[0]},{"name":"FABRIC_REPLICA_INFORMATION_EX1","features":[0,1]},{"name":"FABRIC_REPLICA_LOAD_INFORMATION","features":[0,1]},{"name":"FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_REPLICA_OPEN_MODE","features":[0]},{"name":"FABRIC_REPLICA_OPEN_MODE_EXISTING","features":[0]},{"name":"FABRIC_REPLICA_OPEN_MODE_INVALID","features":[0]},{"name":"FABRIC_REPLICA_OPEN_MODE_NEW","features":[0]},{"name":"FABRIC_REPLICA_ROLE","features":[0]},{"name":"FABRIC_REPLICA_ROLE_ACTIVE_SECONDARY","features":[0]},{"name":"FABRIC_REPLICA_ROLE_IDLE_SECONDARY","features":[0]},{"name":"FABRIC_REPLICA_ROLE_NONE","features":[0]},{"name":"FABRIC_REPLICA_ROLE_PRIMARY","features":[0]},{"name":"FABRIC_REPLICA_ROLE_UNKNOWN","features":[0]},{"name":"FABRIC_REPLICA_SET_CONFIGURATION","features":[0]},{"name":"FABRIC_REPLICA_SET_QUORUM_ALL","features":[0]},{"name":"FABRIC_REPLICA_SET_QUORUM_INVALID","features":[0]},{"name":"FABRIC_REPLICA_SET_QUORUM_MODE","features":[0]},{"name":"FABRIC_REPLICA_SET_WRITE_QUORUM","features":[0]},{"name":"FABRIC_REPLICA_STATUS","features":[0]},{"name":"FABRIC_REPLICA_STATUS_DOWN","features":[0]},{"name":"FABRIC_REPLICA_STATUS_INVALID","features":[0]},{"name":"FABRIC_REPLICA_STATUS_QUERY_RESULT","features":[0]},{"name":"FABRIC_REPLICA_STATUS_UP","features":[0]},{"name":"FABRIC_RESOLVED_SERVICE_ENDPOINT","features":[0]},{"name":"FABRIC_RESOLVED_SERVICE_PARTITION","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME","features":[0]},{"name":"FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION2","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME","features":[0,1]},{"name":"FABRIC_RESTART_NODE_STATUS","features":[0]},{"name":"FABRIC_RESTART_PARTITION_MODE","features":[0]},{"name":"FABRIC_RESTART_PARTITION_MODE_ALL_REPLICAS_OR_INSTANCES","features":[0]},{"name":"FABRIC_RESTART_PARTITION_MODE_INVALID","features":[0]},{"name":"FABRIC_RESTART_PARTITION_MODE_ONLY_ACTIVE_SECONDARIES","features":[0]},{"name":"FABRIC_RESTART_REPLICA_DESCRIPTION","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MODE","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MODE_INVALID","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MODE_MONITORED","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_AUTO","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_MANUAL","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MONITORING_POLICY","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2","features":[0,1]},{"name":"FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3","features":[0,1]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_ENABLE_DELTAS","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FAILURE_ACTION","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FORCE_RESTART","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_RETRY","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_STABLE","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_WAIT","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_POLICY","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_NONE","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_REPLICA_SET_CHECK_TIMEOUT","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_APPLICATION_HEALTH_POLICY_MAP","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_DOMAIN_TIMEOUT","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_HEALTH_POLICY","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_MODE","features":[0]},{"name":"FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_TIMEOUT","features":[0]},{"name":"FABRIC_RUNAS_POLICY_DESCRIPTION","features":[0]},{"name":"FABRIC_SAFETY_CHECK","features":[0]},{"name":"FABRIC_SAFETY_CHECK_KIND","features":[0]},{"name":"FABRIC_SAFETY_CHECK_KIND_INVALID","features":[0]},{"name":"FABRIC_SAFETY_CHECK_LIST","features":[0]},{"name":"FABRIC_SCALING_MECHANISM","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_INVALID","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_KIND","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_KIND_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_KIND_SCALE_PARTITION_INSTANCE_COUNT","features":[0]},{"name":"FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT","features":[0]},{"name":"FABRIC_SCALING_TRIGGER","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1","features":[0,1]},{"name":"FABRIC_SCALING_TRIGGER_KIND","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_KIND_AVERAGE_PARTITION_LOAD","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_KIND_AVERAGE_SERVICE_LOAD","features":[0]},{"name":"FABRIC_SCALING_TRIGGER_KIND_INVALID","features":[0]},{"name":"FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT","features":[0,1]},{"name":"FABRIC_SECRET","features":[0]},{"name":"FABRIC_SECRET_LIST","features":[0]},{"name":"FABRIC_SECRET_REFERENCE","features":[0]},{"name":"FABRIC_SECRET_REFERENCE_LIST","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIALS","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_CLAIMS","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_INVALID","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_NONE","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_WINDOWS","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_X509","features":[0]},{"name":"FABRIC_SECURITY_CREDENTIAL_KIND_X509_2","features":[0]},{"name":"FABRIC_SECURITY_GROUP_DESCRIPTION","features":[0]},{"name":"FABRIC_SECURITY_GROUP_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_SECURITY_USER_DESCRIPTION","features":[0]},{"name":"FABRIC_SECURITY_USER_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_SEED_NODE_SAFETY_CHECK","features":[0]},{"name":"FABRIC_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM","features":[0]},{"name":"FABRIC_SELECTED_PARTITION","features":[0]},{"name":"FABRIC_SERVICES_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_SCHEME","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_SCHEME_AFFINITY","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_SCHEME_ALIGNED_AFFINITY","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_SCHEME_INVALID","features":[0]},{"name":"FABRIC_SERVICE_CORRELATION_SCHEME_NONALIGNED_AFFINITY","features":[0]},{"name":"FABRIC_SERVICE_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_SERVICE_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_SERVICE_DESCRIPTION_KIND_STATEFUL","features":[0]},{"name":"FABRIC_SERVICE_DESCRIPTION_KIND_STATELESS","features":[0]},{"name":"FABRIC_SERVICE_ENDPOINT_ROLE","features":[0]},{"name":"FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST","features":[0,1]},{"name":"FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_HEALTH","features":[0,1]},{"name":"FABRIC_SERVICE_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_EX1","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_EX2","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_SERVICE_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_SERVICE_HEALTH_STATE","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATES_FILTER","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATE_CHUNK","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATE_FILTER","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATE_LIST","features":[0]},{"name":"FABRIC_SERVICE_HEALTH_STATISTICS_FILTER","features":[0,1]},{"name":"FABRIC_SERVICE_KIND","features":[0]},{"name":"FABRIC_SERVICE_KIND_INVALID","features":[0]},{"name":"FABRIC_SERVICE_KIND_STATEFUL","features":[0]},{"name":"FABRIC_SERVICE_KIND_STATELESS","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_WEIGHT","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_WEIGHT_HIGH","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_WEIGHT_LOW","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_WEIGHT_MEDIUM","features":[0]},{"name":"FABRIC_SERVICE_LOAD_METRIC_WEIGHT_ZERO","features":[0]},{"name":"FABRIC_SERVICE_NAME_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_NAME_QUERY_RESULT","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NAME_PREFIX","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NONE","features":[0]},{"name":"FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_PRIMARY_ONLY","features":[0]},{"name":"FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE","features":[0]},{"name":"FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_EXCLUSIVE_PROCESS","features":[0]},{"name":"FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_SHARED_PROCESS","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS_GRANTED","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS_INVALID","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NOT_PRIMARY","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NO_WRITE_QUORUM","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_ACCESS_STATUS_RECONFIGURATION_PENDING","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_INFORMATION","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_KIND","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_KIND_INVALID","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_KIND_NAMED","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_KIND_SINGLETON","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_PLACEMENT_POLICY_LIST","features":[0]},{"name":"FABRIC_SERVICE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_SERVICE_QUERY_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_SERVICE_QUERY_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_SERVICE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_KIND","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_KIND_INVALID","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_KIND_KEY_VALUE_STORE","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_ROLE_INVALID","features":[0]},{"name":"FABRIC_SERVICE_ROLE_STATEFUL_PRIMARY","features":[0]},{"name":"FABRIC_SERVICE_ROLE_STATEFUL_SECONDARY","features":[0]},{"name":"FABRIC_SERVICE_ROLE_STATELESS","features":[0]},{"name":"FABRIC_SERVICE_SCALING_POLICY","features":[0]},{"name":"FABRIC_SERVICE_TYPE_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION","features":[0]},{"name":"FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST","features":[0]},{"name":"FABRIC_SERVICE_TYPE_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_SERVICE_TYPE_HEALTH_POLICY","features":[0]},{"name":"FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP","features":[0]},{"name":"FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM","features":[0]},{"name":"FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2","features":[0,1]},{"name":"FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST","features":[0]},{"name":"FABRIC_SERVICE_TYPE_REGISTRATION_STATUS","features":[0]},{"name":"FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_DISABLED","features":[0]},{"name":"FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_INVALID","features":[0]},{"name":"FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_NOT_REGISTERED","features":[0]},{"name":"FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_REGISTERED","features":[0]},{"name":"FABRIC_SERVICE_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_SINGLETON_PARTITION_INFORMATION","features":[0]},{"name":"FABRIC_STARTED_EVENT","features":[0,1]},{"name":"FABRIC_START_APPROVED_UPGRADES_DESCRIPTION","features":[0,1]},{"name":"FABRIC_START_CHAOS_DESCRIPTION","features":[0,1]},{"name":"FABRIC_START_NODE_DESCRIPTION","features":[0]},{"name":"FABRIC_START_NODE_DESCRIPTION2","features":[0]},{"name":"FABRIC_START_NODE_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_START_NODE_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_START_NODE_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME","features":[0]},{"name":"FABRIC_START_NODE_STATUS","features":[0]},{"name":"FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION","features":[0]},{"name":"FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION","features":[0]},{"name":"FABRIC_START_PARTITION_RESTART_DESCRIPTION","features":[0]},{"name":"FABRIC_START_UPGRADE_DESCRIPTION","features":[0]},{"name":"FABRIC_START_UPGRADE_DESCRIPTION_EX1","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_CORRELATIONS","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_METRICS","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_MIN_REPLICA_SET_SIZE","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_MOVE_COST","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_NONE","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_PLACEMENT_CONSTRAINTS","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_POLICY_LIST","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_QUORUM_LOSS_WAIT_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_REPLICA_RESTART_WAIT_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_SCALING_POLICY","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_SETTINGS_NONE","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_SETTINGS_QUORUM_LOSS_WAIT_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_SETTINGS_REPLICA_RESTART_WAIT_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_SETTINGS_STANDBY_REPLICA_KEEP_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_STANDBY_REPLICA_KEEP_DURATION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_TARGET_REPLICA_SET_SIZE","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5","features":[0]},{"name":"FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_CORRELATIONS","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_DESCRIPTION","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2","features":[0,1]},{"name":"FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_COUNT","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH","features":[0,1]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT","features":[0,1]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_METRICS","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_MOVE_COST","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_NONE","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_PLACEMENT_CONSTRAINTS","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_POLICY_LIST","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2","features":[0,1]},{"name":"FABRIC_STATELESS_SERVICE_SCALING_POLICY","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3","features":[0]},{"name":"FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS","features":[0]},{"name":"FABRIC_STOPPED_EVENT","features":[0,1]},{"name":"FABRIC_STOP_NODE_DESCRIPTION","features":[0]},{"name":"FABRIC_STOP_NODE_DESCRIPTION2","features":[0]},{"name":"FABRIC_STOP_NODE_DESCRIPTION_KIND","features":[0]},{"name":"FABRIC_STOP_NODE_DESCRIPTION_KIND_INVALID","features":[0]},{"name":"FABRIC_STOP_NODE_DESCRIPTION_KIND_USING_NODE_NAME","features":[0]},{"name":"FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME","features":[0]},{"name":"FABRIC_STOP_NODE_STATUS","features":[0]},{"name":"FABRIC_STORE_BACKUP_INFO","features":[0]},{"name":"FABRIC_STORE_BACKUP_INFO_EX1","features":[0]},{"name":"FABRIC_STORE_BACKUP_OPTION","features":[0]},{"name":"FABRIC_STORE_BACKUP_OPTION_FULL","features":[0]},{"name":"FABRIC_STORE_BACKUP_OPTION_INCREMENTAL","features":[0]},{"name":"FABRIC_STORE_BACKUP_OPTION_TRUNCATE_LOGS_ONLY","features":[0]},{"name":"FABRIC_STRING_LIST","features":[0]},{"name":"FABRIC_STRING_MAP","features":[0]},{"name":"FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION","features":[0]},{"name":"FABRIC_TEST_COMMAND_LIST_DESCRIPTION","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_CANCELLED","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_COMPLETED","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_FAULTED","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_FORCE_CANCELLED","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_INVALID","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_ROLLING_BACK","features":[0]},{"name":"FABRIC_TEST_COMMAND_PROGRESS_STATE_RUNNING","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_ALL","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_CANCELLED","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_COMPLETED_SUCCESSFULLY","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_FAILED","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_FORCE_CANCELLED","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_ROLLING_BACK","features":[0]},{"name":"FABRIC_TEST_COMMAND_STATE_FILTER_RUNNING","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_DEFAULT","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER_ALL","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER_DEFAULT","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_DATA_LOSS","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_QUORUM_LOSS","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_RESTART","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_INVOKE_DATA_LOSS","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_INVOKE_QUORUM_LOSS","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_INVOKE_RESTART_PARTITION","features":[0]},{"name":"FABRIC_TEST_COMMAND_TYPE_START_NODE_TRANSITION","features":[0]},{"name":"FABRIC_TEST_ERROR_EVENT","features":[0,1]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_DEFAULT","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE","features":[0]},{"name":"FABRIC_TRANSACTION_ISOLATION_LEVEL_SNAPSHOT","features":[0]},{"name":"FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION","features":[0]},{"name":"FABRIC_UNPLACED_REPLICA_INFORMATION","features":[0]},{"name":"FABRIC_UNPLACED_REPLICA_INFORMATION_LIST","features":[0]},{"name":"FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION","features":[0,1]},{"name":"FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION","features":[0,1]},{"name":"FABRIC_UPGRADE_DESCRIPTION","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_PROGRESS","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATE","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATE_COMPLETED","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATE_INVALID","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATE_IN_PROGRESS","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATE_PENDING","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION","features":[0]},{"name":"FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_HEALTH_CHECK","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_INTERRUPTED","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_NONE","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_OVERALL_UPGRADE_TIMEOUT","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_PROCESSING_FAILURE","features":[0]},{"name":"FABRIC_UPGRADE_FAILURE_REASON_UPGRADE_DOMAIN_TIMEOUT","features":[0]},{"name":"FABRIC_UPGRADE_KIND","features":[0]},{"name":"FABRIC_UPGRADE_KIND_INVALID","features":[0]},{"name":"FABRIC_UPGRADE_KIND_ROLLING","features":[0]},{"name":"FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION","features":[0]},{"name":"FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RESOURCE_AVAILABILITY","features":[0]},{"name":"FABRIC_UPGRADE_PROGRESS","features":[0]},{"name":"FABRIC_UPGRADE_PROGRESS_EX1","features":[0,1]},{"name":"FABRIC_UPGRADE_SAFETY_CHECK","features":[0]},{"name":"FABRIC_UPGRADE_SAFETY_CHECK_KIND","features":[0]},{"name":"FABRIC_UPGRADE_SAFETY_CHECK_KIND_INVALID","features":[0]},{"name":"FABRIC_UPGRADE_SAFETY_CHECK_LIST","features":[0]},{"name":"FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK","features":[0]},{"name":"FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM","features":[0]},{"name":"FABRIC_UPGRADE_STATE","features":[0]},{"name":"FABRIC_UPGRADE_STATE_FAILED","features":[0]},{"name":"FABRIC_UPGRADE_STATE_INVALID","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_BACK_COMPLETED","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_BACK_PENDING","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS","features":[0]},{"name":"FABRIC_UPGRADE_STATE_ROLLING_FORWARD_PENDING","features":[0]},{"name":"FABRIC_UPGRADE_UPDATE_DESCRIPTION","features":[0]},{"name":"FABRIC_URI","features":[0]},{"name":"FABRIC_VALIDATION_FAILED_EVENT","features":[0,1]},{"name":"FABRIC_WAITING_EVENT","features":[0,1]},{"name":"FABRIC_WINDOWS_CREDENTIALS","features":[0]},{"name":"FABRIC_X509_CREDENTIALS","features":[0]},{"name":"FABRIC_X509_CREDENTIALS2","features":[0]},{"name":"FABRIC_X509_CREDENTIALS_EX1","features":[0]},{"name":"FABRIC_X509_CREDENTIALS_EX2","features":[0]},{"name":"FABRIC_X509_CREDENTIALS_EX3","features":[0]},{"name":"FABRIC_X509_FIND_TYPE","features":[0]},{"name":"FABRIC_X509_FIND_TYPE_FINDBYEXTENSION","features":[0]},{"name":"FABRIC_X509_FIND_TYPE_FINDBYSUBJECTNAME","features":[0]},{"name":"FABRIC_X509_FIND_TYPE_FINDBYTHUMBPRINT","features":[0]},{"name":"FABRIC_X509_ISSUER_NAME","features":[0]},{"name":"FABRIC_X509_NAME","features":[0]},{"name":"FABRIC_X509_STORE_LOCATION","features":[0]},{"name":"FABRIC_X509_STORE_LOCATION_CURRENTUSER","features":[0]},{"name":"FABRIC_X509_STORE_LOCATION_INVALID","features":[0]},{"name":"FABRIC_X509_STORE_LOCATION_LOCALMACHINE","features":[0]},{"name":"PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION","features":[0,1]},{"name":"PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1","features":[0]},{"name":"PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2","features":[0]},{"name":"TEST_COMMAND_QUERY_RESULT_ITEM","features":[0]},{"name":"TEST_COMMAND_QUERY_RESULT_LIST","features":[0]}],"1":[{"name":"FabricDecryptText","features":[2]},{"name":"FabricDecryptValue","features":[2]},{"name":"FabricEncryptText","features":[2]},{"name":"FabricEncryptText2","features":[2]},{"name":"FabricEncryptValue","features":[2]},{"name":"FabricGetLastErrorMessage","features":[2]},{"name":"IFabricAsyncOperationCallback","features":[2]},{"name":"IFabricAsyncOperationContext","features":[2]},{"name":"IFabricGetReplicatorStatusResult","features":[2]},{"name":"IFabricStringListResult","features":[2]},{"name":"IFabricStringResult","features":[2]}],"2":[{"name":"FabricClient","features":[3]},{"name":"FabricCreateClient","features":[3]},{"name":"FabricCreateClient2","features":[3]},{"name":"FabricCreateClient3","features":[3]},{"name":"FabricCreateLocalClient","features":[3]},{"name":"FabricCreateLocalClient2","features":[3]},{"name":"FabricCreateLocalClient3","features":[3]},{"name":"FabricCreateLocalClient4","features":[3]},{"name":"FabricGetDefaultRollingUpgradeMonitoringPolicy","features":[3]},{"name":"IFabricApplicationHealthResult","features":[3]},{"name":"IFabricApplicationManagementClient","features":[3]},{"name":"IFabricApplicationManagementClient10","features":[3]},{"name":"IFabricApplicationManagementClient2","features":[3]},{"name":"IFabricApplicationManagementClient3","features":[3]},{"name":"IFabricApplicationManagementClient4","features":[3]},{"name":"IFabricApplicationManagementClient5","features":[3]},{"name":"IFabricApplicationManagementClient6","features":[3]},{"name":"IFabricApplicationManagementClient7","features":[3]},{"name":"IFabricApplicationManagementClient8","features":[3]},{"name":"IFabricApplicationManagementClient9","features":[3]},{"name":"IFabricApplicationUpgradeProgressResult","features":[3]},{"name":"IFabricApplicationUpgradeProgressResult2","features":[3]},{"name":"IFabricApplicationUpgradeProgressResult3","features":[3]},{"name":"IFabricChaosDescriptionResult","features":[3]},{"name":"IFabricChaosEventsSegmentResult","features":[3]},{"name":"IFabricChaosReportResult","features":[3]},{"name":"IFabricChaosScheduleDescriptionResult","features":[3]},{"name":"IFabricClientConnectionEventHandler","features":[3]},{"name":"IFabricClientConnectionEventHandler2","features":[3]},{"name":"IFabricClientSettings","features":[3]},{"name":"IFabricClientSettings2","features":[3]},{"name":"IFabricClientSettingsResult","features":[3]},{"name":"IFabricClusterHealthResult","features":[3]},{"name":"IFabricClusterManagementClient","features":[3]},{"name":"IFabricClusterManagementClient10","features":[3]},{"name":"IFabricClusterManagementClient2","features":[3]},{"name":"IFabricClusterManagementClient3","features":[3]},{"name":"IFabricClusterManagementClient4","features":[3]},{"name":"IFabricClusterManagementClient5","features":[3]},{"name":"IFabricClusterManagementClient6","features":[3]},{"name":"IFabricClusterManagementClient7","features":[3]},{"name":"IFabricClusterManagementClient8","features":[3]},{"name":"IFabricClusterManagementClient9","features":[3]},{"name":"IFabricDeployedApplicationHealthResult","features":[3]},{"name":"IFabricDeployedServicePackageHealthResult","features":[3]},{"name":"IFabricFaultManagementClient","features":[3]},{"name":"IFabricGatewayInformationResult","features":[3]},{"name":"IFabricGetApplicationListResult","features":[3]},{"name":"IFabricGetApplicationListResult2","features":[3]},{"name":"IFabricGetApplicationLoadInformationResult","features":[3]},{"name":"IFabricGetApplicationNameResult","features":[3]},{"name":"IFabricGetApplicationNetworkListResult","features":[3]},{"name":"IFabricGetApplicationTypeListResult","features":[3]},{"name":"IFabricGetApplicationTypePagedListResult","features":[3]},{"name":"IFabricGetClusterHealthChunkResult","features":[3]},{"name":"IFabricGetClusterLoadInformationResult","features":[3]},{"name":"IFabricGetDeployedApplicationListResult","features":[3]},{"name":"IFabricGetDeployedApplicationPagedListResult","features":[3]},{"name":"IFabricGetDeployedCodePackageListResult","features":[3]},{"name":"IFabricGetDeployedNetworkCodePackageListResult","features":[3]},{"name":"IFabricGetDeployedNetworkListResult","features":[3]},{"name":"IFabricGetDeployedReplicaListResult","features":[3]},{"name":"IFabricGetDeployedServicePackageListResult","features":[3]},{"name":"IFabricGetDeployedServiceReplicaDetailResult","features":[3]},{"name":"IFabricGetDeployedServiceTypeListResult","features":[3]},{"name":"IFabricGetNetworkApplicationListResult","features":[3]},{"name":"IFabricGetNetworkListResult","features":[3]},{"name":"IFabricGetNetworkNodeListResult","features":[3]},{"name":"IFabricGetNodeListResult","features":[3]},{"name":"IFabricGetNodeListResult2","features":[3]},{"name":"IFabricGetNodeLoadInformationResult","features":[3]},{"name":"IFabricGetPartitionListResult","features":[3]},{"name":"IFabricGetPartitionListResult2","features":[3]},{"name":"IFabricGetPartitionLoadInformationResult","features":[3]},{"name":"IFabricGetProvisionedCodeVersionListResult","features":[3]},{"name":"IFabricGetProvisionedConfigVersionListResult","features":[3]},{"name":"IFabricGetRepairTaskListResult","features":[3]},{"name":"IFabricGetReplicaListResult","features":[3]},{"name":"IFabricGetReplicaListResult2","features":[3]},{"name":"IFabricGetReplicaLoadInformationResult","features":[3]},{"name":"IFabricGetRollingUpgradeMonitoringPolicyResult","features":[3]},{"name":"IFabricGetServiceGroupMemberListResult","features":[3]},{"name":"IFabricGetServiceGroupMemberTypeListResult","features":[3]},{"name":"IFabricGetServiceListResult","features":[3]},{"name":"IFabricGetServiceListResult2","features":[3]},{"name":"IFabricGetServiceNameResult","features":[3]},{"name":"IFabricGetServiceTypeListResult","features":[3]},{"name":"IFabricGetUnplacedReplicaInformationResult","features":[3]},{"name":"IFabricHealthClient","features":[3]},{"name":"IFabricHealthClient2","features":[3]},{"name":"IFabricHealthClient3","features":[3]},{"name":"IFabricHealthClient4","features":[3]},{"name":"IFabricInfrastructureServiceClient","features":[3]},{"name":"IFabricMovePrimaryResult","features":[3]},{"name":"IFabricMoveSecondaryResult","features":[3]},{"name":"IFabricNameEnumerationResult","features":[3]},{"name":"IFabricNetworkManagementClient","features":[3]},{"name":"IFabricNodeHealthResult","features":[3]},{"name":"IFabricNodeTransitionProgressResult","features":[3]},{"name":"IFabricOrchestrationUpgradeStatusResult","features":[3]},{"name":"IFabricPartitionDataLossProgressResult","features":[3]},{"name":"IFabricPartitionHealthResult","features":[3]},{"name":"IFabricPartitionQuorumLossProgressResult","features":[3]},{"name":"IFabricPartitionRestartProgressResult","features":[3]},{"name":"IFabricPropertyBatchResult","features":[3]},{"name":"IFabricPropertyEnumerationResult","features":[3]},{"name":"IFabricPropertyManagementClient","features":[3]},{"name":"IFabricPropertyManagementClient2","features":[3]},{"name":"IFabricPropertyMetadataResult","features":[3]},{"name":"IFabricPropertyValueResult","features":[3]},{"name":"IFabricQueryClient","features":[3]},{"name":"IFabricQueryClient10","features":[3]},{"name":"IFabricQueryClient2","features":[3]},{"name":"IFabricQueryClient3","features":[3]},{"name":"IFabricQueryClient4","features":[3]},{"name":"IFabricQueryClient5","features":[3]},{"name":"IFabricQueryClient6","features":[3]},{"name":"IFabricQueryClient7","features":[3]},{"name":"IFabricQueryClient8","features":[3]},{"name":"IFabricQueryClient9","features":[3]},{"name":"IFabricRepairManagementClient","features":[3]},{"name":"IFabricRepairManagementClient2","features":[3]},{"name":"IFabricReplicaHealthResult","features":[3]},{"name":"IFabricResolvedServicePartitionResult","features":[3]},{"name":"IFabricRestartDeployedCodePackageResult","features":[3]},{"name":"IFabricRestartNodeResult","features":[3]},{"name":"IFabricSecretReferencesResult","features":[3]},{"name":"IFabricSecretStoreClient","features":[3]},{"name":"IFabricSecretsResult","features":[3]},{"name":"IFabricServiceDescriptionResult","features":[3]},{"name":"IFabricServiceEndpointsVersion","features":[3]},{"name":"IFabricServiceGroupDescriptionResult","features":[3]},{"name":"IFabricServiceGroupManagementClient","features":[3]},{"name":"IFabricServiceGroupManagementClient2","features":[3]},{"name":"IFabricServiceGroupManagementClient3","features":[3]},{"name":"IFabricServiceGroupManagementClient4","features":[3]},{"name":"IFabricServiceHealthResult","features":[3]},{"name":"IFabricServiceManagementClient","features":[3]},{"name":"IFabricServiceManagementClient2","features":[3]},{"name":"IFabricServiceManagementClient3","features":[3]},{"name":"IFabricServiceManagementClient4","features":[3]},{"name":"IFabricServiceManagementClient5","features":[3]},{"name":"IFabricServiceManagementClient6","features":[3]},{"name":"IFabricServiceNotification","features":[3]},{"name":"IFabricServiceNotificationEventHandler","features":[3]},{"name":"IFabricServicePartitionResolutionChangeHandler","features":[3]},{"name":"IFabricStartNodeResult","features":[3]},{"name":"IFabricStopNodeResult","features":[3]},{"name":"IFabricTestCommandStatusResult","features":[3]},{"name":"IFabricTestManagementClient","features":[3]},{"name":"IFabricTestManagementClient2","features":[3]},{"name":"IFabricTestManagementClient3","features":[3]},{"name":"IFabricTestManagementClient4","features":[3]},{"name":"IFabricUpgradeOrchestrationServiceStateResult","features":[3]},{"name":"IFabricUpgradeProgressResult","features":[3]},{"name":"IFabricUpgradeProgressResult2","features":[3]},{"name":"IFabricUpgradeProgressResult3","features":[3]}],"3":[{"name":"FabricBeginCreateRuntime","features":[4]},{"name":"FabricBeginGetActivationContext","features":[4]},{"name":"FabricBeginGetCodePackageActivator","features":[4]},{"name":"FabricBeginGetNodeContext","features":[4]},{"name":"FabricCreateKeyValueStoreReplica","features":[4,1]},{"name":"FabricCreateKeyValueStoreReplica2","features":[4,1]},{"name":"FabricCreateKeyValueStoreReplica3","features":[4,1]},{"name":"FabricCreateKeyValueStoreReplica4","features":[4,1]},{"name":"FabricCreateKeyValueStoreReplica5","features":[4,1]},{"name":"FabricCreateRuntime","features":[4]},{"name":"FabricEndCreateRuntime","features":[4]},{"name":"FabricEndGetActivationContext","features":[4]},{"name":"FabricEndGetCodePackageActivator","features":[4]},{"name":"FabricEndGetNodeContext","features":[4]},{"name":"FabricGetActivationContext","features":[4]},{"name":"FabricGetCodePackageActivator","features":[4]},{"name":"FabricGetNodeContext","features":[4]},{"name":"FabricLoadEseLocalStoreSettings","features":[4]},{"name":"FabricLoadReplicatorSettings","features":[4]},{"name":"FabricLoadSecurityCredentials","features":[4]},{"name":"FabricRuntime","features":[4]},{"name":"FnFabricMain","features":[4]},{"name":"IFabricAtomicGroupStateProvider","features":[4]},{"name":"IFabricAtomicGroupStateReplicator","features":[4]},{"name":"IFabricCodePackage","features":[4]},{"name":"IFabricCodePackage2","features":[4]},{"name":"IFabricCodePackageActivationContext","features":[4]},{"name":"IFabricCodePackageActivationContext2","features":[4]},{"name":"IFabricCodePackageActivationContext3","features":[4]},{"name":"IFabricCodePackageActivationContext4","features":[4]},{"name":"IFabricCodePackageActivationContext5","features":[4]},{"name":"IFabricCodePackageActivationContext6","features":[4]},{"name":"IFabricCodePackageActivator","features":[4]},{"name":"IFabricCodePackageChangeHandler","features":[4]},{"name":"IFabricCodePackageEventHandler","features":[4]},{"name":"IFabricConfigurationPackage","features":[4]},{"name":"IFabricConfigurationPackage2","features":[4]},{"name":"IFabricConfigurationPackageChangeHandler","features":[4]},{"name":"IFabricDataPackage","features":[4]},{"name":"IFabricDataPackageChangeHandler","features":[4]},{"name":"IFabricEseLocalStoreSettingsResult","features":[4]},{"name":"IFabricKeyValueStoreEnumerator","features":[4]},{"name":"IFabricKeyValueStoreEnumerator2","features":[4]},{"name":"IFabricKeyValueStoreItemEnumerator","features":[4]},{"name":"IFabricKeyValueStoreItemEnumerator2","features":[4]},{"name":"IFabricKeyValueStoreItemMetadataEnumerator","features":[4]},{"name":"IFabricKeyValueStoreItemMetadataEnumerator2","features":[4]},{"name":"IFabricKeyValueStoreItemMetadataResult","features":[4]},{"name":"IFabricKeyValueStoreItemResult","features":[4]},{"name":"IFabricKeyValueStoreNotification","features":[4]},{"name":"IFabricKeyValueStoreNotificationEnumerator","features":[4]},{"name":"IFabricKeyValueStoreNotificationEnumerator2","features":[4]},{"name":"IFabricKeyValueStoreReplica","features":[4]},{"name":"IFabricKeyValueStoreReplica2","features":[4]},{"name":"IFabricKeyValueStoreReplica3","features":[4]},{"name":"IFabricKeyValueStoreReplica4","features":[4]},{"name":"IFabricKeyValueStoreReplica5","features":[4]},{"name":"IFabricKeyValueStoreReplica6","features":[4]},{"name":"IFabricNodeContextResult","features":[4]},{"name":"IFabricNodeContextResult2","features":[4]},{"name":"IFabricOperation","features":[4]},{"name":"IFabricOperationData","features":[4]},{"name":"IFabricOperationDataStream","features":[4]},{"name":"IFabricOperationStream","features":[4]},{"name":"IFabricOperationStream2","features":[4]},{"name":"IFabricPrimaryReplicator","features":[4]},{"name":"IFabricProcessExitHandler","features":[4]},{"name":"IFabricReplicator","features":[4]},{"name":"IFabricReplicatorCatchupSpecificQuorum","features":[4]},{"name":"IFabricReplicatorSettingsResult","features":[4]},{"name":"IFabricRuntime","features":[4]},{"name":"IFabricSecondaryEventHandler","features":[4]},{"name":"IFabricSecurityCredentialsResult","features":[4]},{"name":"IFabricServiceGroupFactory","features":[4]},{"name":"IFabricServiceGroupFactoryBuilder","features":[4]},{"name":"IFabricServiceGroupPartition","features":[4]},{"name":"IFabricStateProvider","features":[4]},{"name":"IFabricStateReplicator","features":[4]},{"name":"IFabricStateReplicator2","features":[4]},{"name":"IFabricStatefulServiceFactory","features":[4]},{"name":"IFabricStatefulServicePartition","features":[4]},{"name":"IFabricStatefulServicePartition1","features":[4]},{"name":"IFabricStatefulServicePartition2","features":[4]},{"name":"IFabricStatefulServicePartition3","features":[4]},{"name":"IFabricStatefulServiceReplica","features":[4]},{"name":"IFabricStatelessServiceFactory","features":[4]},{"name":"IFabricStatelessServiceInstance","features":[4]},{"name":"IFabricStatelessServicePartition","features":[4]},{"name":"IFabricStatelessServicePartition1","features":[4]},{"name":"IFabricStatelessServicePartition2","features":[4]},{"name":"IFabricStatelessServicePartition3","features":[4]},{"name":"IFabricStoreEventHandler","features":[4]},{"name":"IFabricStoreEventHandler2","features":[4]},{"name":"IFabricStorePostBackupHandler","features":[4]},{"name":"IFabricTransaction","features":[4]},{"name":"IFabricTransactionBase","features":[4]}],"4":[{"name":"CreateFabricTransportClient","features":[5]},{"name":"CreateFabricTransportListener","features":[5]},{"name":"FABRIC_TRANSPORT_LISTEN_ADDRESS","features":[5]},{"name":"FABRIC_TRANSPORT_MESSAGE_BUFFER","features":[5]},{"name":"FABRIC_TRANSPORT_SETTINGS","features":[5]},{"name":"IFabricTransportCallbackMessageHandler","features":[5]},{"name":"IFabricTransportClient","features":[5]},{"name":"IFabricTransportClientConnection","features":[5]},{"name":"IFabricTransportClientEventHandler","features":[5]},{"name":"IFabricTransportConnectionHandler","features":[5]},{"name":"IFabricTransportListener","features":[5]},{"name":"IFabricTransportMessage","features":[5]},{"name":"IFabricTransportMessageDisposer","features":[5]},{"name":"IFabricTransportMessageHandler","features":[5]}]}} \ No newline at end of file diff --git a/crates/libs/com/rustfmt.toml b/crates/libs/com/rustfmt.toml deleted file mode 100644 index 57e22e87..00000000 --- a/crates/libs/com/rustfmt.toml +++ /dev/null @@ -1 +0,0 @@ -ignore = ["/"] \ No newline at end of file diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/mod.rs b/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/mod.rs deleted file mode 100644 index 08a6c401..00000000 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/mod.rs +++ /dev/null @@ -1,12979 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -#[inline] -pub unsafe fn FabricCreateClient( - connectionstrings: &[windows_core::PCWSTR], - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateClient( - connectionstringssize: u16, - connectionstrings: *const windows_core::PCWSTR, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateClient( - connectionstrings.len().try_into().unwrap(), - core::mem::transmute(connectionstrings.as_ptr()), - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateClient2( - connectionstrings: &[windows_core::PCWSTR], - __midl__fabricclientmodule0000: P0, - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateClient2( - connectionstringssize: u16, - connectionstrings: *const windows_core::PCWSTR, - __midl__fabricclientmodule0000: *mut core::ffi::c_void, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateClient2( - connectionstrings.len().try_into().unwrap(), - core::mem::transmute(connectionstrings.as_ptr()), - __midl__fabricclientmodule0000.param().abi(), - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateClient3( - connectionstrings: &[windows_core::PCWSTR], - __midl__fabricclientmodule0002: P0, - __midl__fabricclientmodule0003: P1, - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, -{ - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateClient3( - connectionstringssize: u16, - connectionstrings: *const windows_core::PCWSTR, - __midl__fabricclientmodule0002: *mut core::ffi::c_void, - __midl__fabricclientmodule0003: *mut core::ffi::c_void, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateClient3( - connectionstrings.len().try_into().unwrap(), - core::mem::transmute(connectionstrings.as_ptr()), - __midl__fabricclientmodule0002.param().abi(), - __midl__fabricclientmodule0003.param().abi(), - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateLocalClient( - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateLocalClient( - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateLocalClient(iid, &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateLocalClient2( - __midl__fabricclientmodule0001: P0, - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateLocalClient2( - __midl__fabricclientmodule0001: *mut core::ffi::c_void, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateLocalClient2( - __midl__fabricclientmodule0001.param().abi(), - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateLocalClient3( - __midl__fabricclientmodule0004: P0, - __midl__fabricclientmodule0005: P1, - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, -{ - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateLocalClient3( - __midl__fabricclientmodule0004: *mut core::ffi::c_void, - __midl__fabricclientmodule0005: *mut core::ffi::c_void, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateLocalClient3( - __midl__fabricclientmodule0004.param().abi(), - __midl__fabricclientmodule0005.param().abi(), - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateLocalClient4( - __midl__fabricclientmodule0006: P0, - __midl__fabricclientmodule0007: P1, - clientrole: super::super::FABRIC_CLIENT_ROLE, - iid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, -{ - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricCreateLocalClient4( - __midl__fabricclientmodule0006: *mut core::ffi::c_void, - __midl__fabricclientmodule0007: *mut core::ffi::c_void, - clientrole: super::super::FABRIC_CLIENT_ROLE, - iid: *const windows_core::GUID, - fabricclient: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateLocalClient4( - __midl__fabricclientmodule0006.param().abi(), - __midl__fabricclientmodule0007.param().abi(), - clientrole, - iid, - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricGetDefaultRollingUpgradeMonitoringPolicy( -) -> windows_core::Result { - #[link(name = "FabricClient")] - extern "system" { - pub fn FabricGetDefaultRollingUpgradeMonitoringPolicy( - result: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricGetDefaultRollingUpgradeMonitoringPolicy(&mut result__) - .and_then(|| windows_core::Type::from_abi(result__)) -} -windows_core::imp::define_interface!( - IFabricApplicationHealthResult, - IFabricApplicationHealthResult_Vtbl, - 0x41612fab_e615_4a48_98e7_4abcc93b6049 -); -impl std::ops::Deref for IFabricApplicationHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricApplicationHealthResult, windows_core::IUnknown); -impl IFabricApplicationHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ApplicationHealth(&self) -> *mut super::super::FABRIC_APPLICATION_HEALTH { - (windows_core::Interface::vtable(self).get_ApplicationHealth)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricApplicationHealthResult {} -unsafe impl Sync for IFabricApplicationHealthResult {} -#[repr(C)] -pub struct IFabricApplicationHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ApplicationHealth: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_APPLICATION_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_ApplicationHealth: usize, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient, - IFabricApplicationManagementClient_Vtbl, - 0x7c219ae9_e58d_431f_8b30_92a40281faac -); -impl std::ops::Deref for IFabricApplicationManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricApplicationManagementClient, windows_core::IUnknown); -impl IFabricApplicationManagementClient { - pub unsafe fn BeginProvisionApplicationType( - &self, - applicationbuildpath: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProvisionApplicationType)( - windows_core::Interface::as_raw(self), - applicationbuildpath.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProvisionApplicationType(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProvisionApplicationType)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginCreateApplication( - &self, - description: *const super::super::FABRIC_APPLICATION_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateApplication)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateApplication(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateApplication)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUpgradeApplication( - &self, - upgradedescription: *const super::super::FABRIC_APPLICATION_UPGRADE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpgradeApplication)( - windows_core::Interface::as_raw(self), - upgradedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpgradeApplication(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpgradeApplication)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetApplicationUpgradeProgress( - &self, - applicationname: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationUpgradeProgress)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationUpgradeProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationUpgradeProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginMoveNextApplicationUpgradeDomain( - &self, - progress: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMoveNextApplicationUpgradeDomain)( - windows_core::Interface::as_raw(self), - progress.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMoveNextApplicationUpgradeDomain( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndMoveNextApplicationUpgradeDomain)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteApplication( - &self, - applicationname: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteApplication)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteApplication(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteApplication)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUnprovisionApplicationType( - &self, - applicationtypename: P0, - applicationtypeversion: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUnprovisionApplicationType)( - windows_core::Interface::as_raw(self), - applicationtypename.param().abi(), - applicationtypeversion.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUnprovisionApplicationType(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUnprovisionApplicationType)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient {} -unsafe impl Sync for IFabricApplicationManagementClient {} -#[repr(C)] -pub struct IFabricApplicationManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginProvisionApplicationType: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProvisionApplicationType: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginCreateApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUpgradeApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_UPGRADE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpgradeApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetApplicationUpgradeProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationUpgradeProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMoveNextApplicationUpgradeDomain: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndMoveNextApplicationUpgradeDomain: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub BeginDeleteApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUnprovisionApplicationType: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUnprovisionApplicationType: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient10, - IFabricApplicationManagementClient10_Vtbl, - 0x67001225_d106_41ae_8bd4_5a0a119c5c01 -); -impl std::ops::Deref for IFabricApplicationManagementClient10 { - type Target = IFabricApplicationManagementClient9; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient10, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient5, - IFabricApplicationManagementClient6, - IFabricApplicationManagementClient7, - IFabricApplicationManagementClient8, - IFabricApplicationManagementClient9 -); -impl IFabricApplicationManagementClient10 { - pub unsafe fn BeginProvisionApplicationType3( - &self, - description: *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProvisionApplicationType3)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProvisionApplicationType3(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProvisionApplicationType3)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient10 {} -unsafe impl Sync for IFabricApplicationManagementClient10 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient10_Vtbl { - pub base__: IFabricApplicationManagementClient9_Vtbl, - pub BeginProvisionApplicationType3: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProvisionApplicationType3: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient2_Vtbl, - 0xf873516f_9bfe_47e5_93b9_3667aaf19324 -); -impl std::ops::Deref for IFabricApplicationManagementClient2 { - type Target = IFabricApplicationManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient2, - windows_core::IUnknown, - IFabricApplicationManagementClient -); -impl IFabricApplicationManagementClient2 { - pub unsafe fn BeginGetApplicationManifest( - &self, - applicationtypename: P0, - applicationtypeversion: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationManifest)( - windows_core::Interface::as_raw(self), - applicationtypename.param().abi(), - applicationtypeversion.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationManifest( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationManifest)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginMoveNextApplicationUpgradeDomain2( - &self, - applicationname: P0, - nextupgradedomain: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMoveNextApplicationUpgradeDomain2)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - nextupgradedomain.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMoveNextApplicationUpgradeDomain2( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndMoveNextApplicationUpgradeDomain2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient2 {} -unsafe impl Sync for IFabricApplicationManagementClient2 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient2_Vtbl { - pub base__: IFabricApplicationManagementClient_Vtbl, - pub BeginGetApplicationManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMoveNextApplicationUpgradeDomain2: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndMoveNextApplicationUpgradeDomain2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient3_Vtbl, - 0x108c7735_97e1_4af8_8c2d_9080b1b29d33 -); -impl std::ops::Deref for IFabricApplicationManagementClient3 { - type Target = IFabricApplicationManagementClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient3, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2 -); -impl IFabricApplicationManagementClient3 { - pub unsafe fn BeginUpdateApplicationUpgrade( - &self, - description: *const super::super::FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateApplicationUpgrade)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateApplicationUpgrade(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateApplicationUpgrade)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRestartDeployedCodePackage( - &self, - restartcodepackagedescription : *const super::super:: FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestartDeployedCodePackage)( - windows_core::Interface::as_raw(self), - restartcodepackagedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestartDeployedCodePackage(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRestartDeployedCodePackage)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn CopyApplicationPackage( - &self, - imagestoreconnectionstring: P0, - applicationpackagepath: P1, - applicationpackagepathinimagestore: P2, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - (windows_core::Interface::vtable(self).CopyApplicationPackage)( - windows_core::Interface::as_raw(self), - imagestoreconnectionstring.param().abi(), - applicationpackagepath.param().abi(), - applicationpackagepathinimagestore.param().abi(), - ) - .ok() - } - pub unsafe fn RemoveApplicationPackage( - &self, - imagestoreconnectionstring: P0, - applicationpackagepathinimagestore: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).RemoveApplicationPackage)( - windows_core::Interface::as_raw(self), - imagestoreconnectionstring.param().abi(), - applicationpackagepathinimagestore.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient3 {} -unsafe impl Sync for IFabricApplicationManagementClient3 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient3_Vtbl { - pub base__: IFabricApplicationManagementClient2_Vtbl, - pub BeginUpdateApplicationUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateApplicationUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRestartDeployedCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestartDeployedCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub CopyApplicationPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub RemoveApplicationPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient4_Vtbl, - 0x82c41b22_dbcb_4f7a_8d2f_f9bb94add446 -); -impl std::ops::Deref for IFabricApplicationManagementClient4 { - type Target = IFabricApplicationManagementClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient4, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3 -); -impl IFabricApplicationManagementClient4 { - pub unsafe fn BeginDeployServicePackageToNode( - &self, - applicationtypename: P0, - applicationtypeversion: P1, - servicemanifestname: P2, - sharingpolicy: *const super::super::FABRIC_PACKAGE_SHARING_POLICY_LIST, - nodename: P3, - timeoutmilliseconds: u32, - callback: P4, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - P4: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeployServicePackageToNode)( - windows_core::Interface::as_raw(self), - applicationtypename.param().abi(), - applicationtypeversion.param().abi(), - servicemanifestname.param().abi(), - sharingpolicy, - nodename.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeployServicePackageToNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeployServicePackageToNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient4 {} -unsafe impl Sync for IFabricApplicationManagementClient4 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient4_Vtbl { - pub base__: IFabricApplicationManagementClient3_Vtbl, - pub BeginDeployServicePackageToNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - *const super::super::FABRIC_PACKAGE_SHARING_POLICY_LIST, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeployServicePackageToNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient5, - IFabricApplicationManagementClient5_Vtbl, - 0xd7490e43_2217_4158_93e1_9ce4dd6f724a -); -impl std::ops::Deref for IFabricApplicationManagementClient5 { - type Target = IFabricApplicationManagementClient4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient5, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4 -); -impl IFabricApplicationManagementClient5 { - pub unsafe fn BeginRollbackApplicationUpgrade( - &self, - applicationname: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRollbackApplicationUpgrade)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRollbackApplicationUpgrade(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRollbackApplicationUpgrade)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient5 {} -unsafe impl Sync for IFabricApplicationManagementClient5 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient5_Vtbl { - pub base__: IFabricApplicationManagementClient4_Vtbl, - pub BeginRollbackApplicationUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRollbackApplicationUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient6, - IFabricApplicationManagementClient6_Vtbl, - 0xb01e63ee_1ea4_4181_95c7_983b32e16848 -); -impl std::ops::Deref for IFabricApplicationManagementClient6 { - type Target = IFabricApplicationManagementClient5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient6, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient5 -); -impl IFabricApplicationManagementClient6 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginUpdateApplication( - &self, - applicationupdatedescription: *const super::super::FABRIC_APPLICATION_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateApplication)( - windows_core::Interface::as_raw(self), - applicationupdatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateApplication(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateApplication)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient6 {} -unsafe impl Sync for IFabricApplicationManagementClient6 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient6_Vtbl { - pub base__: IFabricApplicationManagementClient5_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginUpdateApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginUpdateApplication: usize, - pub EndUpdateApplication: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient7, - IFabricApplicationManagementClient7_Vtbl, - 0x26844276_25b1_4f8c_adbe_b1b3a3083c17 -); -impl std::ops::Deref for IFabricApplicationManagementClient7 { - type Target = IFabricApplicationManagementClient6; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient7, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient5, - IFabricApplicationManagementClient6 -); -impl IFabricApplicationManagementClient7 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginDeleteApplication2( - &self, - deletedescription: *const super::super::FABRIC_DELETE_APPLICATION_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteApplication2)( - windows_core::Interface::as_raw(self), - deletedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteApplication2(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteApplication2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient7 {} -unsafe impl Sync for IFabricApplicationManagementClient7 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient7_Vtbl { - pub base__: IFabricApplicationManagementClient6_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginDeleteApplication2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DELETE_APPLICATION_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginDeleteApplication2: usize, - pub EndDeleteApplication2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient8, - IFabricApplicationManagementClient8_Vtbl, - 0x97b38e85_7329_47ff_a8d2_b7cbf1603689 -); -impl std::ops::Deref for IFabricApplicationManagementClient8 { - type Target = IFabricApplicationManagementClient7; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient8, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient5, - IFabricApplicationManagementClient6, - IFabricApplicationManagementClient7 -); -impl IFabricApplicationManagementClient8 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginProvisionApplicationType2( - &self, - description: *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProvisionApplicationType2)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProvisionApplicationType2(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProvisionApplicationType2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient8 {} -unsafe impl Sync for IFabricApplicationManagementClient8 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient8_Vtbl { - pub base__: IFabricApplicationManagementClient7_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginProvisionApplicationType2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginProvisionApplicationType2: usize, - pub EndProvisionApplicationType2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationManagementClient9, - IFabricApplicationManagementClient9_Vtbl, - 0x26617b63_1350_4d7f_830c_2200978d31bb -); -impl std::ops::Deref for IFabricApplicationManagementClient9 { - type Target = IFabricApplicationManagementClient8; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationManagementClient9, - windows_core::IUnknown, - IFabricApplicationManagementClient, - IFabricApplicationManagementClient2, - IFabricApplicationManagementClient3, - IFabricApplicationManagementClient4, - IFabricApplicationManagementClient5, - IFabricApplicationManagementClient6, - IFabricApplicationManagementClient7, - IFabricApplicationManagementClient8 -); -impl IFabricApplicationManagementClient9 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginUnprovisionApplicationType2( - &self, - description: *const super::super::FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUnprovisionApplicationType2)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUnprovisionApplicationType2(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUnprovisionApplicationType2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricApplicationManagementClient9 {} -unsafe impl Sync for IFabricApplicationManagementClient9 {} -#[repr(C)] -pub struct IFabricApplicationManagementClient9_Vtbl { - pub base__: IFabricApplicationManagementClient8_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginUnprovisionApplicationType2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginUnprovisionApplicationType2: usize, - pub EndUnprovisionApplicationType2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationUpgradeProgressResult, - IFabricApplicationUpgradeProgressResult_Vtbl, - 0x1e4670f8_ede5_48ab_881f_c45a0f38413a -); -impl std::ops::Deref for IFabricApplicationUpgradeProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationUpgradeProgressResult, - windows_core::IUnknown -); -impl IFabricApplicationUpgradeProgressResult { - pub unsafe fn get_ApplicationName(&self) -> super::super::FABRIC_URI { - (windows_core::Interface::vtable(self).get_ApplicationName)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_ApplicationTypeName(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_ApplicationTypeName)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_TargetApplicationTypeVersion(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_TargetApplicationTypeVersion)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_UpgradeState(&self) -> super::super::FABRIC_APPLICATION_UPGRADE_STATE { - (windows_core::Interface::vtable(self).get_UpgradeState)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn GetUpgradeDomains( - &self, - itemcount: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetUpgradeDomains)( - windows_core::Interface::as_raw(self), - itemcount, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetChangedUpgradeDomains( - &self, - previousprogress: P0, - itemcount: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetChangedUpgradeDomains)( - windows_core::Interface::as_raw(self), - previousprogress.param().abi(), - itemcount, - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricApplicationUpgradeProgressResult {} -unsafe impl Sync for IFabricApplicationUpgradeProgressResult {} -#[repr(C)] -pub struct IFabricApplicationUpgradeProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationName: - unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_URI, - pub get_ApplicationTypeName: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_TargetApplicationTypeVersion: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_UpgradeState: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> super::super::FABRIC_APPLICATION_UPGRADE_STATE, - pub GetUpgradeDomains: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, - ) -> windows_core::HRESULT, - pub GetChangedUpgradeDomains: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricApplicationUpgradeProgressResult2, - IFabricApplicationUpgradeProgressResult2_Vtbl, - 0x62707ee5_b625_4489_aa4d_2e54b06ea248 -); -impl std::ops::Deref for IFabricApplicationUpgradeProgressResult2 { - type Target = IFabricApplicationUpgradeProgressResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationUpgradeProgressResult2, - windows_core::IUnknown, - IFabricApplicationUpgradeProgressResult -); -impl IFabricApplicationUpgradeProgressResult2 { - pub unsafe fn get_RollingUpgradeMode(&self) -> super::super::FABRIC_ROLLING_UPGRADE_MODE { - (windows_core::Interface::vtable(self).get_RollingUpgradeMode)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_NextUpgradeDomain(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_NextUpgradeDomain)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricApplicationUpgradeProgressResult2 {} -unsafe impl Sync for IFabricApplicationUpgradeProgressResult2 {} -#[repr(C)] -pub struct IFabricApplicationUpgradeProgressResult2_Vtbl { - pub base__: IFabricApplicationUpgradeProgressResult_Vtbl, - pub get_RollingUpgradeMode: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> super::super::FABRIC_ROLLING_UPGRADE_MODE, - pub get_NextUpgradeDomain: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, -} -windows_core::imp::define_interface!( - IFabricApplicationUpgradeProgressResult3, - IFabricApplicationUpgradeProgressResult3_Vtbl, - 0x1bc1d9c3_eef5_41fe_b8a2_abb97a8ba8e2 -); -impl std::ops::Deref for IFabricApplicationUpgradeProgressResult3 { - type Target = IFabricApplicationUpgradeProgressResult2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricApplicationUpgradeProgressResult3, - windows_core::IUnknown, - IFabricApplicationUpgradeProgressResult, - IFabricApplicationUpgradeProgressResult2 -); -impl IFabricApplicationUpgradeProgressResult3 { - pub unsafe fn get_UpgradeProgress( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_UPGRADE_PROGRESS { - (windows_core::Interface::vtable(self).get_UpgradeProgress)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricApplicationUpgradeProgressResult3 {} -unsafe impl Sync for IFabricApplicationUpgradeProgressResult3 {} -#[repr(C)] -pub struct IFabricApplicationUpgradeProgressResult3_Vtbl { - pub base__: IFabricApplicationUpgradeProgressResult2_Vtbl, - pub get_UpgradeProgress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_UPGRADE_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricChaosDescriptionResult, - IFabricChaosDescriptionResult_Vtbl, - 0xfa8aa86e_f0fa_4a14_bed7_1dcfa0980b5b -); -impl std::ops::Deref for IFabricChaosDescriptionResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricChaosDescriptionResult, windows_core::IUnknown); -impl IFabricChaosDescriptionResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ChaosDescriptionResult(&self) -> *mut super::super::FABRIC_CHAOS_DESCRIPTION { - (windows_core::Interface::vtable(self).get_ChaosDescriptionResult)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricChaosDescriptionResult {} -unsafe impl Sync for IFabricChaosDescriptionResult {} -#[repr(C)] -pub struct IFabricChaosDescriptionResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ChaosDescriptionResult: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CHAOS_DESCRIPTION, - #[cfg(not(feature = "Win32_Foundation"))] - get_ChaosDescriptionResult: usize, -} -windows_core::imp::define_interface!( - IFabricChaosEventsSegmentResult, - IFabricChaosEventsSegmentResult_Vtbl, - 0xde148299_c48a_4540_877b_5b1daa518d76 -); -impl std::ops::Deref for IFabricChaosEventsSegmentResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricChaosEventsSegmentResult, windows_core::IUnknown); -impl IFabricChaosEventsSegmentResult { - pub unsafe fn get_ChaosEventsSegmentResult( - &self, - ) -> *mut super::super::FABRIC_CHAOS_EVENTS_SEGMENT { - (windows_core::Interface::vtable(self).get_ChaosEventsSegmentResult)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricChaosEventsSegmentResult {} -unsafe impl Sync for IFabricChaosEventsSegmentResult {} -#[repr(C)] -pub struct IFabricChaosEventsSegmentResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ChaosEventsSegmentResult: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CHAOS_EVENTS_SEGMENT, -} -windows_core::imp::define_interface!( - IFabricChaosReportResult, - IFabricChaosReportResult_Vtbl, - 0x8952e931_b2b3_470a_b982_6b415f30dbc0 -); -impl std::ops::Deref for IFabricChaosReportResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricChaosReportResult, windows_core::IUnknown); -impl IFabricChaosReportResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ChaosReportResult(&self) -> *mut super::super::FABRIC_CHAOS_REPORT { - (windows_core::Interface::vtable(self).get_ChaosReportResult)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricChaosReportResult {} -unsafe impl Sync for IFabricChaosReportResult {} -#[repr(C)] -pub struct IFabricChaosReportResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ChaosReportResult: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_CHAOS_REPORT, - #[cfg(not(feature = "Win32_Foundation"))] - get_ChaosReportResult: usize, -} -windows_core::imp::define_interface!( - IFabricChaosScheduleDescriptionResult, - IFabricChaosScheduleDescriptionResult_Vtbl, - 0x3b93f0d9_c0a9_4df5_9b09_b2365de89d84 -); -impl std::ops::Deref for IFabricChaosScheduleDescriptionResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricChaosScheduleDescriptionResult, - windows_core::IUnknown -); -impl IFabricChaosScheduleDescriptionResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ChaosScheduleDescriptionResult( - &self, - ) -> *mut super::super::FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - (windows_core::Interface::vtable(self).get_ChaosScheduleDescriptionResult)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricChaosScheduleDescriptionResult {} -unsafe impl Sync for IFabricChaosScheduleDescriptionResult {} -#[repr(C)] -pub struct IFabricChaosScheduleDescriptionResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ChaosScheduleDescriptionResult: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CHAOS_SCHEDULE_DESCRIPTION, - #[cfg(not(feature = "Win32_Foundation"))] - get_ChaosScheduleDescriptionResult: usize, -} -windows_core::imp::define_interface!( - IFabricClientConnectionEventHandler, - IFabricClientConnectionEventHandler_Vtbl, - 0x2bd21f94_d962_4bb4_84b8_5a4b3e9d4d4d -); -impl std::ops::Deref for IFabricClientConnectionEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClientConnectionEventHandler, - windows_core::IUnknown -); -impl IFabricClientConnectionEventHandler { - pub unsafe fn OnConnected( - &self, - __midl__ifabricclientconnectioneventhandler0000: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnConnected)( - windows_core::Interface::as_raw(self), - __midl__ifabricclientconnectioneventhandler0000 - .param() - .abi(), - ) - .ok() - } - pub unsafe fn OnDisconnected( - &self, - __midl__ifabricclientconnectioneventhandler0001: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnDisconnected)( - windows_core::Interface::as_raw(self), - __midl__ifabricclientconnectioneventhandler0001 - .param() - .abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClientConnectionEventHandler {} -unsafe impl Sync for IFabricClientConnectionEventHandler {} -#[repr(C)] -pub struct IFabricClientConnectionEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnConnected: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub OnDisconnected: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClientConnectionEventHandler2, - IFabricClientConnectionEventHandler2_Vtbl, - 0x6b5dbd26_7d7a_4a3f_b8ea_1f049105e897 -); -impl std::ops::Deref for IFabricClientConnectionEventHandler2 { - type Target = IFabricClientConnectionEventHandler; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClientConnectionEventHandler2, - windows_core::IUnknown, - IFabricClientConnectionEventHandler -); -impl IFabricClientConnectionEventHandler2 { - pub unsafe fn OnClaimsRetrieval( - &self, - metadata: *const super::super::FABRIC_CLAIMS_RETRIEVAL_METADATA, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).OnClaimsRetrieval)( - windows_core::Interface::as_raw(self), - metadata, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricClientConnectionEventHandler2 {} -unsafe impl Sync for IFabricClientConnectionEventHandler2 {} -#[repr(C)] -pub struct IFabricClientConnectionEventHandler2_Vtbl { - pub base__: IFabricClientConnectionEventHandler_Vtbl, - pub OnClaimsRetrieval: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLAIMS_RETRIEVAL_METADATA, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClientSettings, - IFabricClientSettings_Vtbl, - 0xb0e7dee0_cf64_11e0_9572_0800200c9a66 -); -impl std::ops::Deref for IFabricClientSettings { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricClientSettings, windows_core::IUnknown); -impl IFabricClientSettings { - pub unsafe fn SetSecurityCredentials( - &self, - securitycredentials: *const super::super::FABRIC_SECURITY_CREDENTIALS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).SetSecurityCredentials)( - windows_core::Interface::as_raw(self), - securitycredentials, - ) - .ok() - } - pub unsafe fn SetKeepAlive(&self, keepaliveintervalinseconds: u32) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).SetKeepAlive)( - windows_core::Interface::as_raw(self), - keepaliveintervalinseconds, - ) - .ok() - } -} -unsafe impl Send for IFabricClientSettings {} -unsafe impl Sync for IFabricClientSettings {} -#[repr(C)] -pub struct IFabricClientSettings_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub SetSecurityCredentials: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SECURITY_CREDENTIALS, - ) -> windows_core::HRESULT, - pub SetKeepAlive: - unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClientSettings2, - IFabricClientSettings2_Vtbl, - 0xc6fb97f7_82f3_4e6c_a80a_021e8ffca425 -); -impl std::ops::Deref for IFabricClientSettings2 { - type Target = IFabricClientSettings; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClientSettings2, - windows_core::IUnknown, - IFabricClientSettings -); -impl IFabricClientSettings2 { - pub unsafe fn GetSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetSettings)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn SetSettings( - &self, - fabricclientsettings: *const super::super::FABRIC_CLIENT_SETTINGS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).SetSettings)( - windows_core::Interface::as_raw(self), - fabricclientsettings, - ) - .ok() - } -} -unsafe impl Send for IFabricClientSettings2 {} -unsafe impl Sync for IFabricClientSettings2 {} -#[repr(C)] -pub struct IFabricClientSettings2_Vtbl { - pub base__: IFabricClientSettings_Vtbl, - pub GetSettings: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub SetSettings: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLIENT_SETTINGS, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClientSettingsResult, - IFabricClientSettingsResult_Vtbl, - 0x3b825afd_cb31_4589_961e_e3778aa23a60 -); -impl std::ops::Deref for IFabricClientSettingsResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricClientSettingsResult, windows_core::IUnknown); -impl IFabricClientSettingsResult { - pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_CLIENT_SETTINGS { - (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricClientSettingsResult {} -unsafe impl Sync for IFabricClientSettingsResult {} -#[repr(C)] -pub struct IFabricClientSettingsResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Settings: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CLIENT_SETTINGS, -} -windows_core::imp::define_interface!( - IFabricClusterHealthResult, - IFabricClusterHealthResult_Vtbl, - 0x6b9b0f2c_6782_4a31_a256_570fa8ba32d3 -); -impl std::ops::Deref for IFabricClusterHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricClusterHealthResult, windows_core::IUnknown); -impl IFabricClusterHealthResult { - pub unsafe fn get_ClusterHealth(&self) -> *mut super::super::FABRIC_CLUSTER_HEALTH { - (windows_core::Interface::vtable(self).get_ClusterHealth)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricClusterHealthResult {} -unsafe impl Sync for IFabricClusterHealthResult {} -#[repr(C)] -pub struct IFabricClusterHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ClusterHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_CLUSTER_HEALTH, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient, - IFabricClusterManagementClient_Vtbl, - 0xa3cf17e0_cf84_4ae0_b720_1785c0fb4ace -); -impl std::ops::Deref for IFabricClusterManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricClusterManagementClient, windows_core::IUnknown); -impl IFabricClusterManagementClient { - pub unsafe fn BeginNodeStateRemoved( - &self, - nodename: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginNodeStateRemoved)( - windows_core::Interface::as_raw(self), - nodename.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndNodeStateRemoved(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndNodeStateRemoved)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRecoverPartitions( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRecoverPartitions)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRecoverPartitions(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRecoverPartitions)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient {} -unsafe impl Sync for IFabricClusterManagementClient {} -#[repr(C)] -pub struct IFabricClusterManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginNodeStateRemoved: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndNodeStateRemoved: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRecoverPartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRecoverPartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient10, - IFabricClusterManagementClient10_Vtbl, - 0xa4aceb4f_2e2b_4be1_9d12_44fe8cb5fb20 -); -impl std::ops::Deref for IFabricClusterManagementClient10 { - type Target = IFabricClusterManagementClient9; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient10, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4, - IFabricClusterManagementClient5, - IFabricClusterManagementClient6, - IFabricClusterManagementClient7, - IFabricClusterManagementClient8, - IFabricClusterManagementClient9 -); -impl IFabricClusterManagementClient10 { - pub unsafe fn BeginGetClusterConfiguration2( - &self, - apiversion: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterConfiguration2)( - windows_core::Interface::as_raw(self), - apiversion.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterConfiguration2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterConfiguration2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricClusterManagementClient10 {} -unsafe impl Sync for IFabricClusterManagementClient10 {} -#[repr(C)] -pub struct IFabricClusterManagementClient10_Vtbl { - pub base__: IFabricClusterManagementClient9_Vtbl, - pub BeginGetClusterConfiguration2: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterConfiguration2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient2, - IFabricClusterManagementClient2_Vtbl, - 0xf9493e16_6a49_4d79_8695_5a6826b504c5 -); -impl std::ops::Deref for IFabricClusterManagementClient2 { - type Target = IFabricClusterManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient2, - windows_core::IUnknown, - IFabricClusterManagementClient -); -impl IFabricClusterManagementClient2 { - pub unsafe fn BeginDeactivateNode( - &self, - nodename: P0, - intent: super::super::FABRIC_NODE_DEACTIVATION_INTENT, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeactivateNode)( - windows_core::Interface::as_raw(self), - nodename.param().abi(), - intent, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeactivateNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeactivateNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginActivateNode( - &self, - nodename: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginActivateNode)( - windows_core::Interface::as_raw(self), - nodename.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndActivateNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndActivateNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginProvisionFabric( - &self, - codefilepath: P0, - clustermanifestfilepath: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProvisionFabric)( - windows_core::Interface::as_raw(self), - codefilepath.param().abi(), - clustermanifestfilepath.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProvisionFabric(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProvisionFabric)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUpgradeFabric( - &self, - upgradedescription: *const super::super::FABRIC_UPGRADE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpgradeFabric)( - windows_core::Interface::as_raw(self), - upgradedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpgradeFabric(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpgradeFabric)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetFabricUpgradeProgress( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetFabricUpgradeProgress)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetFabricUpgradeProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetFabricUpgradeProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginMoveNextFabricUpgradeDomain( - &self, - progress: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMoveNextFabricUpgradeDomain)( - windows_core::Interface::as_raw(self), - progress.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMoveNextFabricUpgradeDomain(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndMoveNextFabricUpgradeDomain)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginMoveNextFabricUpgradeDomain2( - &self, - nextupgradedomain: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMoveNextFabricUpgradeDomain2)( - windows_core::Interface::as_raw(self), - nextupgradedomain.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMoveNextFabricUpgradeDomain2( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndMoveNextFabricUpgradeDomain2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUnprovisionFabric( - &self, - codeversion: P0, - configversion: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUnprovisionFabric)( - windows_core::Interface::as_raw(self), - codeversion.param().abi(), - configversion.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUnprovisionFabric(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUnprovisionFabric)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetClusterManifest( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterManifest)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterManifest( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterManifest)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginRecoverPartition( - &self, - partitionid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRecoverPartition)( - windows_core::Interface::as_raw(self), - core::mem::transmute(partitionid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRecoverPartition(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRecoverPartition)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRecoverServicePartitions( - &self, - servicename: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRecoverServicePartitions)( - windows_core::Interface::as_raw(self), - servicename.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRecoverServicePartitions(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRecoverServicePartitions)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRecoverSystemPartitions( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRecoverSystemPartitions)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRecoverSystemPartitions(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRecoverSystemPartitions)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient2 {} -unsafe impl Sync for IFabricClusterManagementClient2 {} -#[repr(C)] -pub struct IFabricClusterManagementClient2_Vtbl { - pub base__: IFabricClusterManagementClient_Vtbl, - pub BeginDeactivateNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - super::super::FABRIC_NODE_DEACTIVATION_INTENT, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeactivateNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginActivateNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndActivateNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginProvisionFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProvisionFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUpgradeFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_UPGRADE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpgradeFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetFabricUpgradeProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetFabricUpgradeProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMoveNextFabricUpgradeDomain: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndMoveNextFabricUpgradeDomain: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMoveNextFabricUpgradeDomain2: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndMoveNextFabricUpgradeDomain2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUnprovisionFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUnprovisionFabric: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetClusterManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRecoverPartition: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRecoverPartition: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRecoverServicePartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRecoverServicePartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRecoverSystemPartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRecoverSystemPartitions: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient3, - IFabricClusterManagementClient3_Vtbl, - 0xc3001d74_92b6_44cb_ac2f_2ffc4a56287c -); -impl std::ops::Deref for IFabricClusterManagementClient3 { - type Target = IFabricClusterManagementClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient3, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2 -); -impl IFabricClusterManagementClient3 { - pub unsafe fn BeginUpdateFabricUpgrade( - &self, - description: *const super::super::FABRIC_UPGRADE_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateFabricUpgrade)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateFabricUpgrade(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateFabricUpgrade)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginStopNode( - &self, - stopnodedescription: *const super::super::FABRIC_STOP_NODE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStopNode)( - windows_core::Interface::as_raw(self), - stopnodedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStopNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStopNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRestartNode( - &self, - restartnodedescription: *const super::super::FABRIC_RESTART_NODE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestartNode)( - windows_core::Interface::as_raw(self), - restartnodedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestartNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRestartNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginStartNode( - &self, - startnodedescription: *const super::super::FABRIC_START_NODE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartNode)( - windows_core::Interface::as_raw(self), - startnodedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartNode(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn CopyClusterPackage( - &self, - imagestoreconnectionstring: P0, - clustermanifestpath: P1, - clustermanifestpathinimagestore: P2, - codepackagepath: P3, - codepackagepathinimagestore: P4, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - P4: windows_core::Param, - { - (windows_core::Interface::vtable(self).CopyClusterPackage)( - windows_core::Interface::as_raw(self), - imagestoreconnectionstring.param().abi(), - clustermanifestpath.param().abi(), - clustermanifestpathinimagestore.param().abi(), - codepackagepath.param().abi(), - codepackagepathinimagestore.param().abi(), - ) - .ok() - } - pub unsafe fn RemoveClusterPackage( - &self, - imagestoreconnectionstring: P0, - clustermanifestpathinimagestore: P1, - codepackagepathinimagestore: P2, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - (windows_core::Interface::vtable(self).RemoveClusterPackage)( - windows_core::Interface::as_raw(self), - imagestoreconnectionstring.param().abi(), - clustermanifestpathinimagestore.param().abi(), - codepackagepathinimagestore.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient3 {} -unsafe impl Sync for IFabricClusterManagementClient3 {} -#[repr(C)] -pub struct IFabricClusterManagementClient3_Vtbl { - pub base__: IFabricClusterManagementClient2_Vtbl, - pub BeginUpdateFabricUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_UPGRADE_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateFabricUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStopNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STOP_NODE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStopNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRestartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_RESTART_NODE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_NODE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub CopyClusterPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub RemoveClusterPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient4, - IFabricClusterManagementClient4_Vtbl, - 0xb6b12671_f283_4d71_a818_0260549bc83e -); -impl std::ops::Deref for IFabricClusterManagementClient4 { - type Target = IFabricClusterManagementClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient4, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3 -); -impl IFabricClusterManagementClient4 { - pub unsafe fn BeginRollbackFabricUpgrade( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRollbackFabricUpgrade)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRollbackFabricUpgrade(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRollbackFabricUpgrade)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient4 {} -unsafe impl Sync for IFabricClusterManagementClient4 {} -#[repr(C)] -pub struct IFabricClusterManagementClient4_Vtbl { - pub base__: IFabricClusterManagementClient3_Vtbl, - pub BeginRollbackFabricUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRollbackFabricUpgrade: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient5, - IFabricClusterManagementClient5_Vtbl, - 0xa6ddd816_a100_11e4_89d3_123b93f75cba -); -impl std::ops::Deref for IFabricClusterManagementClient5 { - type Target = IFabricClusterManagementClient4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient5, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4 -); -impl IFabricClusterManagementClient5 { - pub unsafe fn BeginResetPartitionLoad( - &self, - partitionid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginResetPartitionLoad)( - windows_core::Interface::as_raw(self), - core::mem::transmute(partitionid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndResetPartitionLoad(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndResetPartitionLoad)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient5 {} -unsafe impl Sync for IFabricClusterManagementClient5 {} -#[repr(C)] -pub struct IFabricClusterManagementClient5_Vtbl { - pub base__: IFabricClusterManagementClient4_Vtbl, - pub BeginResetPartitionLoad: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndResetPartitionLoad: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient6, - IFabricClusterManagementClient6_Vtbl, - 0x9e454ae8_4b8c_4136_884a_37b0b92cc855 -); -impl std::ops::Deref for IFabricClusterManagementClient6 { - type Target = IFabricClusterManagementClient5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient6, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4, - IFabricClusterManagementClient5 -); -impl IFabricClusterManagementClient6 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginToggleVerboseServicePlacementHealthReporting( - &self, - enabled: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginToggleVerboseServicePlacementHealthReporting)( - windows_core::Interface::as_raw(self), - enabled.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndToggleVerboseServicePlacementHealthReporting( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndToggleVerboseServicePlacementHealthReporting)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient6 {} -unsafe impl Sync for IFabricClusterManagementClient6 {} -#[repr(C)] -pub struct IFabricClusterManagementClient6_Vtbl { - pub base__: IFabricClusterManagementClient5_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginToggleVerboseServicePlacementHealthReporting: - unsafe extern "system" fn( - *mut core::ffi::c_void, - windows::Win32::Foundation::BOOLEAN, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginToggleVerboseServicePlacementHealthReporting: usize, - pub EndToggleVerboseServicePlacementHealthReporting: - unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient7, - IFabricClusterManagementClient7_Vtbl, - 0x9b9105ac_d595_4f59_9c94_1ffdbf92a876 -); -impl std::ops::Deref for IFabricClusterManagementClient7 { - type Target = IFabricClusterManagementClient6; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient7, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4, - IFabricClusterManagementClient5, - IFabricClusterManagementClient6 -); -impl IFabricClusterManagementClient7 { - pub unsafe fn BeginUpgradeConfiguration( - &self, - startupgradedescription: *const super::super::FABRIC_START_UPGRADE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpgradeConfiguration)( - windows_core::Interface::as_raw(self), - startupgradedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpgradeConfiguration(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpgradeConfiguration)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetClusterConfigurationUpgradeStatus( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterConfigurationUpgradeStatus)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterConfigurationUpgradeStatus( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterConfigurationUpgradeStatus)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetClusterConfiguration( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterConfiguration)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterConfiguration( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterConfiguration)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetUpgradesPendingApproval( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetUpgradesPendingApproval)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetUpgradesPendingApproval(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndGetUpgradesPendingApproval)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginStartApprovedUpgrades( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartApprovedUpgrades)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartApprovedUpgrades(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartApprovedUpgrades)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricClusterManagementClient7 {} -unsafe impl Sync for IFabricClusterManagementClient7 {} -#[repr(C)] -pub struct IFabricClusterManagementClient7_Vtbl { - pub base__: IFabricClusterManagementClient6_Vtbl, - pub BeginUpgradeConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_UPGRADE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpgradeConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetClusterConfigurationUpgradeStatus: - unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterConfigurationUpgradeStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub BeginGetClusterConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetUpgradesPendingApproval: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetUpgradesPendingApproval: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStartApprovedUpgrades: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartApprovedUpgrades: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient8, - IFabricClusterManagementClient8_Vtbl, - 0x0b79641c_79a6_4162_904a_840babd08381 -); -impl std::ops::Deref for IFabricClusterManagementClient8 { - type Target = IFabricClusterManagementClient7; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient8, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4, - IFabricClusterManagementClient5, - IFabricClusterManagementClient6, - IFabricClusterManagementClient7 -); -impl IFabricClusterManagementClient8 { - pub unsafe fn BeginGetClusterManifest2( - &self, - querydescription: *const super::super::FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterManifest2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterManifest2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterManifest2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricClusterManagementClient8 {} -unsafe impl Sync for IFabricClusterManagementClient8 {} -#[repr(C)] -pub struct IFabricClusterManagementClient8_Vtbl { - pub base__: IFabricClusterManagementClient7_Vtbl, - pub BeginGetClusterManifest2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterManifest2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricClusterManagementClient9, - IFabricClusterManagementClient9_Vtbl, - 0xc0f57578_538c_4cbe_bb55_8098b6a7cd4e -); -impl std::ops::Deref for IFabricClusterManagementClient9 { - type Target = IFabricClusterManagementClient8; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricClusterManagementClient9, - windows_core::IUnknown, - IFabricClusterManagementClient, - IFabricClusterManagementClient2, - IFabricClusterManagementClient3, - IFabricClusterManagementClient4, - IFabricClusterManagementClient5, - IFabricClusterManagementClient6, - IFabricClusterManagementClient7, - IFabricClusterManagementClient8 -); -impl IFabricClusterManagementClient9 { - pub unsafe fn BeginGetUpgradeOrchestrationServiceState( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetUpgradeOrchestrationServiceState)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetUpgradeOrchestrationServiceState( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetUpgradeOrchestrationServiceState)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginSetUpgradeOrchestrationServiceState( - &self, - state: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginSetUpgradeOrchestrationServiceState)( - windows_core::Interface::as_raw(self), - state.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndSetUpgradeOrchestrationServiceState( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndSetUpgradeOrchestrationServiceState)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricClusterManagementClient9 {} -unsafe impl Sync for IFabricClusterManagementClient9 {} -#[repr(C)] -pub struct IFabricClusterManagementClient9_Vtbl { - pub base__: IFabricClusterManagementClient8_Vtbl, - pub BeginGetUpgradeOrchestrationServiceState: - unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetUpgradeOrchestrationServiceState: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub BeginSetUpgradeOrchestrationServiceState: - unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndSetUpgradeOrchestrationServiceState: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricDeployedApplicationHealthResult, - IFabricDeployedApplicationHealthResult_Vtbl, - 0x4df50bf4_7c28_4210_94f7_50625df6c942 -); -impl std::ops::Deref for IFabricDeployedApplicationHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricDeployedApplicationHealthResult, - windows_core::IUnknown -); -impl IFabricDeployedApplicationHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_DeployedApplicationHealth( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH { - (windows_core::Interface::vtable(self).get_DeployedApplicationHealth)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricDeployedApplicationHealthResult {} -unsafe impl Sync for IFabricDeployedApplicationHealthResult {} -#[repr(C)] -pub struct IFabricDeployedApplicationHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_DeployedApplicationHealth: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_DeployedApplicationHealth: usize, -} -windows_core::imp::define_interface!( - IFabricDeployedServicePackageHealthResult, - IFabricDeployedServicePackageHealthResult_Vtbl, - 0x40991ce0_cdbb_44e9_9cdc_b14a5d5ea4c1 -); -impl std::ops::Deref for IFabricDeployedServicePackageHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricDeployedServicePackageHealthResult, - windows_core::IUnknown -); -impl IFabricDeployedServicePackageHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_DeployedServicePackageHealth( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - (windows_core::Interface::vtable(self).get_DeployedServicePackageHealth)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricDeployedServicePackageHealthResult {} -unsafe impl Sync for IFabricDeployedServicePackageHealthResult {} -#[repr(C)] -pub struct IFabricDeployedServicePackageHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_DeployedServicePackageHealth: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_DeployedServicePackageHealth: usize, -} -windows_core::imp::define_interface!( - IFabricFaultManagementClient, - IFabricFaultManagementClient_Vtbl, - 0x769e1838_8726_4dcd_a3c0_211673a6967a -); -impl std::ops::Deref for IFabricFaultManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricFaultManagementClient, windows_core::IUnknown); -impl IFabricFaultManagementClient { - pub unsafe fn BeginRestartNode( - &self, - description: *const super::super::FABRIC_RESTART_NODE_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestartNode)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestartNode( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndRestartNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginStartNode( - &self, - description: *const super::super::FABRIC_START_NODE_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartNode)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartNode( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndStartNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginStopNode( - &self, - description: *const super::super::FABRIC_STOP_NODE_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStopNode)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStopNode(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndStopNode)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginRestartDeployedCodePackage( - &self, - description: *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestartDeployedCodePackage)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestartDeployedCodePackage( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndRestartDeployedCodePackage)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginMovePrimary( - &self, - description: *const super::super::FABRIC_MOVE_PRIMARY_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMovePrimary)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMovePrimary( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndMovePrimary)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginMoveSecondary( - &self, - description: *const super::super::FABRIC_MOVE_SECONDARY_DESCRIPTION2, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginMoveSecondary)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndMoveSecondary( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndMoveSecondary)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricFaultManagementClient {} -unsafe impl Sync for IFabricFaultManagementClient {} -#[repr(C)] -pub struct IFabricFaultManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginRestartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_RESTART_NODE_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_NODE_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStopNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STOP_NODE_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStopNode: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRestartDeployedCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestartDeployedCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMovePrimary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_MOVE_PRIMARY_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndMovePrimary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginMoveSecondary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_MOVE_SECONDARY_DESCRIPTION2, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndMoveSecondary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricGatewayInformationResult, - IFabricGatewayInformationResult_Vtbl, - 0xa57e7740_fa33_448e_9f35_8bf802a713aa -); -impl std::ops::Deref for IFabricGatewayInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGatewayInformationResult, windows_core::IUnknown); -impl IFabricGatewayInformationResult { - pub unsafe fn get_GatewayInformation(&self) -> *mut super::super::FABRIC_GATEWAY_INFORMATION { - (windows_core::Interface::vtable(self).get_GatewayInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGatewayInformationResult {} -unsafe impl Sync for IFabricGatewayInformationResult {} -#[repr(C)] -pub struct IFabricGatewayInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_GatewayInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_GATEWAY_INFORMATION, -} -windows_core::imp::define_interface!( - IFabricGetApplicationListResult, - IFabricGetApplicationListResult_Vtbl, - 0xf038c61e_7059_41b6_8dea_d304a2080f46 -); -impl std::ops::Deref for IFabricGetApplicationListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetApplicationListResult, windows_core::IUnknown); -impl IFabricGetApplicationListResult { - pub unsafe fn get_ApplicationList( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ApplicationList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetApplicationListResult {} -unsafe impl Sync for IFabricGetApplicationListResult {} -#[repr(C)] -pub struct IFabricGetApplicationListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetApplicationListResult2, - IFabricGetApplicationListResult2_Vtbl, - 0x6637a860_26bc_4f1a_902f_f418fcfe1e51 -); -impl std::ops::Deref for IFabricGetApplicationListResult2 { - type Target = IFabricGetApplicationListResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetApplicationListResult2, - windows_core::IUnknown, - IFabricGetApplicationListResult -); -impl IFabricGetApplicationListResult2 { - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetApplicationListResult2 {} -unsafe impl Sync for IFabricGetApplicationListResult2 {} -#[repr(C)] -pub struct IFabricGetApplicationListResult2_Vtbl { - pub base__: IFabricGetApplicationListResult_Vtbl, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetApplicationLoadInformationResult, - IFabricGetApplicationLoadInformationResult_Vtbl, - 0x38fd0512_7586_4bd5_9616_b7070cf025c0 -); -impl std::ops::Deref for IFabricGetApplicationLoadInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetApplicationLoadInformationResult, - windows_core::IUnknown -); -impl IFabricGetApplicationLoadInformationResult { - pub unsafe fn get_ApplicationLoadInformation( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_LOAD_INFORMATION { - (windows_core::Interface::vtable(self).get_ApplicationLoadInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetApplicationLoadInformationResult {} -unsafe impl Sync for IFabricGetApplicationLoadInformationResult {} -#[repr(C)] -pub struct IFabricGetApplicationLoadInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationLoadInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_LOAD_INFORMATION, -} -windows_core::imp::define_interface!( - IFabricGetApplicationNameResult, - IFabricGetApplicationNameResult_Vtbl, - 0x258dbcc8_ac9a_47ff_838b_57ff506c73b1 -); -impl std::ops::Deref for IFabricGetApplicationNameResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetApplicationNameResult, windows_core::IUnknown); -impl IFabricGetApplicationNameResult { - pub unsafe fn get_ApplicationName( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_NAME_QUERY_RESULT { - (windows_core::Interface::vtable(self).get_ApplicationName)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetApplicationNameResult {} -unsafe impl Sync for IFabricGetApplicationNameResult {} -#[repr(C)] -pub struct IFabricGetApplicationNameResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationName: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_NAME_QUERY_RESULT, -} -windows_core::imp::define_interface!( - IFabricGetApplicationNetworkListResult, - IFabricGetApplicationNetworkListResult_Vtbl, - 0x4f9d0390_aa08_4dee_ba49_62891eb47c37 -); -impl std::ops::Deref for IFabricGetApplicationNetworkListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetApplicationNetworkListResult, - windows_core::IUnknown -); -impl IFabricGetApplicationNetworkListResult { - pub unsafe fn get_ApplicationNetworkList( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ApplicationNetworkList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetApplicationNetworkListResult {} -unsafe impl Sync for IFabricGetApplicationNetworkListResult {} -#[repr(C)] -pub struct IFabricGetApplicationNetworkListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ApplicationNetworkList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } -windows_core::imp::define_interface!( - IFabricGetApplicationTypeListResult, - IFabricGetApplicationTypeListResult_Vtbl, - 0x944f7a70_224e_4191_8dd1_bba46dc88dd2 -); -impl std::ops::Deref for IFabricGetApplicationTypeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetApplicationTypeListResult, - windows_core::IUnknown -); -impl IFabricGetApplicationTypeListResult { - pub unsafe fn get_ApplicationTypeList( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ApplicationTypeList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetApplicationTypeListResult {} -unsafe impl Sync for IFabricGetApplicationTypeListResult {} -#[repr(C)] -pub struct IFabricGetApplicationTypeListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationTypeList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetApplicationTypePagedListResult, - IFabricGetApplicationTypePagedListResult_Vtbl, - 0x5d8dde9c_05e8_428d_b494_43873d7c2db8 -); -impl std::ops::Deref for IFabricGetApplicationTypePagedListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetApplicationTypePagedListResult, - windows_core::IUnknown -); -impl IFabricGetApplicationTypePagedListResult { - pub unsafe fn get_ApplicationTypePagedList( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ApplicationTypePagedList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetApplicationTypePagedListResult {} -unsafe impl Sync for IFabricGetApplicationTypePagedListResult {} -#[repr(C)] -pub struct IFabricGetApplicationTypePagedListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ApplicationTypePagedList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetClusterHealthChunkResult, - IFabricGetClusterHealthChunkResult_Vtbl, - 0x7fefcf06_c840_4d8a_9cc7_36f080e0e121 -); -impl std::ops::Deref for IFabricGetClusterHealthChunkResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetClusterHealthChunkResult, windows_core::IUnknown); -impl IFabricGetClusterHealthChunkResult { - pub unsafe fn get_ClusterHealthChunk(&self) -> *mut super::super::FABRIC_CLUSTER_HEALTH_CHUNK { - (windows_core::Interface::vtable(self).get_ClusterHealthChunk)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetClusterHealthChunkResult {} -unsafe impl Sync for IFabricGetClusterHealthChunkResult {} -#[repr(C)] -pub struct IFabricGetClusterHealthChunkResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ClusterHealthChunk: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CLUSTER_HEALTH_CHUNK, -} -windows_core::imp::define_interface!( - IFabricGetClusterLoadInformationResult, - IFabricGetClusterLoadInformationResult_Vtbl, - 0x7cc3eb08_0e69_4e52_81fc_0190ab997dbf -); -impl std::ops::Deref for IFabricGetClusterLoadInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetClusterLoadInformationResult, - windows_core::IUnknown -); -impl IFabricGetClusterLoadInformationResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ClusterLoadInformation( - &self, - ) -> *mut super::super::FABRIC_CLUSTER_LOAD_INFORMATION { - (windows_core::Interface::vtable(self).get_ClusterLoadInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetClusterLoadInformationResult {} -unsafe impl Sync for IFabricGetClusterLoadInformationResult {} -#[repr(C)] -pub struct IFabricGetClusterLoadInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ClusterLoadInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CLUSTER_LOAD_INFORMATION, - #[cfg(not(feature = "Win32_Foundation"))] - get_ClusterLoadInformation: usize, -} -windows_core::imp::define_interface!( - IFabricGetDeployedApplicationListResult, - IFabricGetDeployedApplicationListResult_Vtbl, - 0x5722b789_3936_4c33_9f7a_342967457612 -); -impl std::ops::Deref for IFabricGetDeployedApplicationListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedApplicationListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedApplicationListResult { - pub unsafe fn get_DeployedApplicationList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedApplicationList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetDeployedApplicationListResult {} -unsafe impl Sync for IFabricGetDeployedApplicationListResult {} -#[repr(C)] -pub struct IFabricGetDeployedApplicationListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedApplicationList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetDeployedApplicationPagedListResult, - IFabricGetDeployedApplicationPagedListResult_Vtbl, - 0xebd76f6f_508e_43ea_9ca2_a98ea2c0e846 -); -impl std::ops::Deref for IFabricGetDeployedApplicationPagedListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedApplicationPagedListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedApplicationPagedListResult { - pub unsafe fn get_DeployedApplicationPagedList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedApplicationPagedList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetDeployedApplicationPagedListResult {} -unsafe impl Sync for IFabricGetDeployedApplicationPagedListResult {} -#[repr(C)] -pub struct IFabricGetDeployedApplicationPagedListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedApplicationPagedList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } -windows_core::imp::define_interface!( - IFabricGetDeployedCodePackageListResult, - IFabricGetDeployedCodePackageListResult_Vtbl, - 0x3f390652_c0dc_4919_8a7f_8ae1e827de0c -); -impl std::ops::Deref for IFabricGetDeployedCodePackageListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedCodePackageListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedCodePackageListResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_DeployedCodePackageList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedCodePackageList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetDeployedCodePackageListResult {} -unsafe impl Sync for IFabricGetDeployedCodePackageListResult {} -#[repr(C)] -pub struct IFabricGetDeployedCodePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , # [ cfg ( feature = "Win32_Foundation" ) ] pub get_DeployedCodePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST , # [ cfg ( not ( feature = "Win32_Foundation" ) ) ] get_DeployedCodePackageList :usize , } -windows_core::imp::define_interface!( - IFabricGetDeployedNetworkCodePackageListResult, - IFabricGetDeployedNetworkCodePackageListResult_Vtbl, - 0x6586d264_a96e_4f46_9388_189de5d61d6d -); -impl std::ops::Deref for IFabricGetDeployedNetworkCodePackageListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedNetworkCodePackageListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedNetworkCodePackageListResult { - pub unsafe fn get_DeployedNetworkCodePackageList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedNetworkCodePackageList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetDeployedNetworkCodePackageListResult {} -unsafe impl Sync for IFabricGetDeployedNetworkCodePackageListResult {} -#[repr(C)] -pub struct IFabricGetDeployedNetworkCodePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedNetworkCodePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } -windows_core::imp::define_interface!( - IFabricGetDeployedNetworkListResult, - IFabricGetDeployedNetworkListResult_Vtbl, - 0x347f5d8c_1abd_48e1_a7d1_9083556dafd3 -); -impl std::ops::Deref for IFabricGetDeployedNetworkListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedNetworkListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedNetworkListResult { - pub unsafe fn get_DeployedNetworkList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedNetworkList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetDeployedNetworkListResult {} -unsafe impl Sync for IFabricGetDeployedNetworkListResult {} -#[repr(C)] -pub struct IFabricGetDeployedNetworkListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_DeployedNetworkList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetDeployedReplicaListResult, - IFabricGetDeployedReplicaListResult_Vtbl, - 0x29e064bf_5d78_49e5_baa6_acfc24a4a8b5 -); -impl std::ops::Deref for IFabricGetDeployedReplicaListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedReplicaListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedReplicaListResult { - pub unsafe fn get_DeployedReplicaList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedReplicaList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetDeployedReplicaListResult {} -unsafe impl Sync for IFabricGetDeployedReplicaListResult {} -#[repr(C)] -pub struct IFabricGetDeployedReplicaListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedReplicaList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetDeployedServicePackageListResult, - IFabricGetDeployedServicePackageListResult_Vtbl, - 0x65851388_0421_4107_977b_39f4e15440d4 -); -impl std::ops::Deref for IFabricGetDeployedServicePackageListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedServicePackageListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedServicePackageListResult { - pub unsafe fn get_DeployedServicePackageList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedServicePackageList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetDeployedServicePackageListResult {} -unsafe impl Sync for IFabricGetDeployedServicePackageListResult {} -#[repr(C)] -pub struct IFabricGetDeployedServicePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedServicePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetDeployedServiceReplicaDetailResult, - IFabricGetDeployedServiceReplicaDetailResult_Vtbl, - 0x6d9d355e_89cf_4928_b758_b11ca4664fbe -); -impl std::ops::Deref for IFabricGetDeployedServiceReplicaDetailResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedServiceReplicaDetailResult, - windows_core::IUnknown -); -impl IFabricGetDeployedServiceReplicaDetailResult { - pub unsafe fn get_ReplicaDetail( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - (windows_core::Interface::vtable(self).get_ReplicaDetail)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetDeployedServiceReplicaDetailResult {} -unsafe impl Sync for IFabricGetDeployedServiceReplicaDetailResult {} -#[repr(C)] -pub struct IFabricGetDeployedServiceReplicaDetailResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ReplicaDetail :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM , } -windows_core::imp::define_interface!( - IFabricGetDeployedServiceTypeListResult, - IFabricGetDeployedServiceTypeListResult_Vtbl, - 0xdba68c7a_3f77_49bb_b611_ff94df062b8d -); -impl std::ops::Deref for IFabricGetDeployedServiceTypeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetDeployedServiceTypeListResult, - windows_core::IUnknown -); -impl IFabricGetDeployedServiceTypeListResult { - pub unsafe fn get_DeployedServiceTypeList( - &self, - ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_DeployedServiceTypeList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetDeployedServiceTypeListResult {} -unsafe impl Sync for IFabricGetDeployedServiceTypeListResult {} -#[repr(C)] -pub struct IFabricGetDeployedServiceTypeListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedServiceTypeList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetNetworkApplicationListResult, - IFabricGetNetworkApplicationListResult_Vtbl, - 0xad1f51ff_e244_498e_9f72_609b01124b84 -); -impl std::ops::Deref for IFabricGetNetworkApplicationListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetNetworkApplicationListResult, - windows_core::IUnknown -); -impl IFabricGetNetworkApplicationListResult { - pub unsafe fn get_NetworkApplicationList( - &self, - ) -> *mut super::super::FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_NetworkApplicationList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetNetworkApplicationListResult {} -unsafe impl Sync for IFabricGetNetworkApplicationListResult {} -#[repr(C)] -pub struct IFabricGetNetworkApplicationListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_NetworkApplicationList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } -windows_core::imp::define_interface!( - IFabricGetNetworkListResult, - IFabricGetNetworkListResult_Vtbl, - 0xbd777a0f_2020_40bb_8f23_8756649cce47 -); -impl std::ops::Deref for IFabricGetNetworkListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetNetworkListResult, windows_core::IUnknown); -impl IFabricGetNetworkListResult { - pub unsafe fn get_NetworkList(&self) -> *mut super::super::FABRIC_NETWORK_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_NetworkList)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetNetworkListResult {} -unsafe impl Sync for IFabricGetNetworkListResult {} -#[repr(C)] -pub struct IFabricGetNetworkListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_NetworkList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_NETWORK_QUERY_RESULT_LIST, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetNetworkNodeListResult, - IFabricGetNetworkNodeListResult_Vtbl, - 0x3ba780e9_58eb_478d_bc89_42c89e19d083 -); -impl std::ops::Deref for IFabricGetNetworkNodeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetNetworkNodeListResult, windows_core::IUnknown); -impl IFabricGetNetworkNodeListResult { - pub unsafe fn get_NetworkNodeList( - &self, - ) -> *mut super::super::FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_NetworkNodeList)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetNetworkNodeListResult {} -unsafe impl Sync for IFabricGetNetworkNodeListResult {} -#[repr(C)] -pub struct IFabricGetNetworkNodeListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_NetworkNodeList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_NETWORK_NODE_QUERY_RESULT_LIST, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetNodeListResult, - IFabricGetNodeListResult_Vtbl, - 0x7cc3eb08_0e69_4e52_81fc_0190ab997dbe -); -impl std::ops::Deref for IFabricGetNodeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetNodeListResult, windows_core::IUnknown); -impl IFabricGetNodeListResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_NodeList(&self) -> *mut super::super::FABRIC_NODE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_NodeList)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricGetNodeListResult {} -unsafe impl Sync for IFabricGetNodeListResult {} -#[repr(C)] -pub struct IFabricGetNodeListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_NodeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_NODE_QUERY_RESULT_LIST, - #[cfg(not(feature = "Win32_Foundation"))] - get_NodeList: usize, -} -windows_core::imp::define_interface!( - IFabricGetNodeListResult2, - IFabricGetNodeListResult2_Vtbl, - 0x4a0f2da7_f851_44e5_8e12_aa521076097a -); -impl std::ops::Deref for IFabricGetNodeListResult2 { - type Target = IFabricGetNodeListResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetNodeListResult2, - windows_core::IUnknown, - IFabricGetNodeListResult -); -impl IFabricGetNodeListResult2 { - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetNodeListResult2 {} -unsafe impl Sync for IFabricGetNodeListResult2 {} -#[repr(C)] -pub struct IFabricGetNodeListResult2_Vtbl { - pub base__: IFabricGetNodeListResult_Vtbl, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetNodeLoadInformationResult, - IFabricGetNodeLoadInformationResult_Vtbl, - 0x4332eb3a_aed6_86fe_c2fa_653123dea09b -); -impl std::ops::Deref for IFabricGetNodeLoadInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetNodeLoadInformationResult, - windows_core::IUnknown -); -impl IFabricGetNodeLoadInformationResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_NodeLoadInformation( - &self, - ) -> *mut super::super::FABRIC_NODE_LOAD_INFORMATION { - (windows_core::Interface::vtable(self).get_NodeLoadInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetNodeLoadInformationResult {} -unsafe impl Sync for IFabricGetNodeLoadInformationResult {} -#[repr(C)] -pub struct IFabricGetNodeLoadInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_NodeLoadInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_NODE_LOAD_INFORMATION, - #[cfg(not(feature = "Win32_Foundation"))] - get_NodeLoadInformation: usize, -} -windows_core::imp::define_interface!( - IFabricGetPartitionListResult, - IFabricGetPartitionListResult_Vtbl, - 0xafc1266c_967b_4769_9f8a_b249c5887ee6 -); -impl std::ops::Deref for IFabricGetPartitionListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetPartitionListResult, windows_core::IUnknown); -impl IFabricGetPartitionListResult { - pub unsafe fn get_PartitionList( - &self, - ) -> *mut super::super::FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_PartitionList)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetPartitionListResult {} -unsafe impl Sync for IFabricGetPartitionListResult {} -#[repr(C)] -pub struct IFabricGetPartitionListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_PartitionList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetPartitionListResult2, - IFabricGetPartitionListResult2_Vtbl, - 0xb131b99a_d251_47b2_9d08_24ddd6793206 -); -impl std::ops::Deref for IFabricGetPartitionListResult2 { - type Target = IFabricGetPartitionListResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetPartitionListResult2, - windows_core::IUnknown, - IFabricGetPartitionListResult -); -impl IFabricGetPartitionListResult2 { - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetPartitionListResult2 {} -unsafe impl Sync for IFabricGetPartitionListResult2 {} -#[repr(C)] -pub struct IFabricGetPartitionListResult2_Vtbl { - pub base__: IFabricGetPartitionListResult_Vtbl, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetPartitionLoadInformationResult, - IFabricGetPartitionLoadInformationResult_Vtbl, - 0x46f1a40c_a4f3_409e_a7ec_6fd115f7acc7 -); -impl std::ops::Deref for IFabricGetPartitionLoadInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetPartitionLoadInformationResult, - windows_core::IUnknown -); -impl IFabricGetPartitionLoadInformationResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_PartitionLoadInformation( - &self, - ) -> *mut super::super::FABRIC_PARTITION_LOAD_INFORMATION { - (windows_core::Interface::vtable(self).get_PartitionLoadInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetPartitionLoadInformationResult {} -unsafe impl Sync for IFabricGetPartitionLoadInformationResult {} -#[repr(C)] -pub struct IFabricGetPartitionLoadInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_PartitionLoadInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PARTITION_LOAD_INFORMATION, - #[cfg(not(feature = "Win32_Foundation"))] - get_PartitionLoadInformation: usize, -} -windows_core::imp::define_interface!( - IFabricGetProvisionedCodeVersionListResult, - IFabricGetProvisionedCodeVersionListResult_Vtbl, - 0xd042bdb6_4364_4818_b395_0e6b1a22cb11 -); -impl std::ops::Deref for IFabricGetProvisionedCodeVersionListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetProvisionedCodeVersionListResult, - windows_core::IUnknown -); -impl IFabricGetProvisionedCodeVersionListResult { - pub unsafe fn get_ProvisionedCodeVersionList( - &self, - ) -> *mut super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ProvisionedCodeVersionList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetProvisionedCodeVersionListResult {} -unsafe impl Sync for IFabricGetProvisionedCodeVersionListResult {} -#[repr(C)] -pub struct IFabricGetProvisionedCodeVersionListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ProvisionedCodeVersionList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetProvisionedConfigVersionListResult, - IFabricGetProvisionedConfigVersionListResult_Vtbl, - 0x1bbb9f78_e883_49d1_a998_7eb864fd4a0e -); -impl std::ops::Deref for IFabricGetProvisionedConfigVersionListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetProvisionedConfigVersionListResult, - windows_core::IUnknown -); -impl IFabricGetProvisionedConfigVersionListResult { - pub unsafe fn get_ProvisionedConfigVersionList( - &self, - ) -> *mut super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ProvisionedConfigVersionList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetProvisionedConfigVersionListResult {} -unsafe impl Sync for IFabricGetProvisionedConfigVersionListResult {} -#[repr(C)] -pub struct IFabricGetProvisionedConfigVersionListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ProvisionedConfigVersionList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetRepairTaskListResult, - IFabricGetRepairTaskListResult_Vtbl, - 0x576b2462_5f69_4351_87c7_3ec2d1654a22 -); -impl std::ops::Deref for IFabricGetRepairTaskListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetRepairTaskListResult, windows_core::IUnknown); -impl IFabricGetRepairTaskListResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Tasks(&self) -> *mut super::super::FABRIC_REPAIR_TASK_LIST { - (windows_core::Interface::vtable(self).get_Tasks)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricGetRepairTaskListResult {} -unsafe impl Sync for IFabricGetRepairTaskListResult {} -#[repr(C)] -pub struct IFabricGetRepairTaskListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Tasks: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_REPAIR_TASK_LIST, - #[cfg(not(feature = "Win32_Foundation"))] - get_Tasks: usize, -} -windows_core::imp::define_interface!( - IFabricGetReplicaListResult, - IFabricGetReplicaListResult_Vtbl, - 0xe00d3761_3ac5_407d_a04f_1b59486217cf -); -impl std::ops::Deref for IFabricGetReplicaListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetReplicaListResult, windows_core::IUnknown); -impl IFabricGetReplicaListResult { - pub unsafe fn get_ReplicaList( - &self, - ) -> *mut super::super::FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ReplicaList)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetReplicaListResult {} -unsafe impl Sync for IFabricGetReplicaListResult {} -#[repr(C)] -pub struct IFabricGetReplicaListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ReplicaList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetReplicaListResult2, - IFabricGetReplicaListResult2_Vtbl, - 0x0bc12f86_c157_4c0d_b274_01fb09145934 -); -impl std::ops::Deref for IFabricGetReplicaListResult2 { - type Target = IFabricGetReplicaListResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetReplicaListResult2, - windows_core::IUnknown, - IFabricGetReplicaListResult -); -impl IFabricGetReplicaListResult2 { - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetReplicaListResult2 {} -unsafe impl Sync for IFabricGetReplicaListResult2 {} -#[repr(C)] -pub struct IFabricGetReplicaListResult2_Vtbl { - pub base__: IFabricGetReplicaListResult_Vtbl, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetReplicaLoadInformationResult, - IFabricGetReplicaLoadInformationResult_Vtbl, - 0xe4190ca0_225c_11e4_8c21_0800200c9a66 -); -impl std::ops::Deref for IFabricGetReplicaLoadInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetReplicaLoadInformationResult, - windows_core::IUnknown -); -impl IFabricGetReplicaLoadInformationResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ReplicaLoadInformation( - &self, - ) -> *mut super::super::FABRIC_REPLICA_LOAD_INFORMATION { - (windows_core::Interface::vtable(self).get_ReplicaLoadInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetReplicaLoadInformationResult {} -unsafe impl Sync for IFabricGetReplicaLoadInformationResult {} -#[repr(C)] -pub struct IFabricGetReplicaLoadInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ReplicaLoadInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_REPLICA_LOAD_INFORMATION, - #[cfg(not(feature = "Win32_Foundation"))] - get_ReplicaLoadInformation: usize, -} -windows_core::imp::define_interface!( - IFabricGetRollingUpgradeMonitoringPolicyResult, - IFabricGetRollingUpgradeMonitoringPolicyResult_Vtbl, - 0x02bd6674_9c5a_4262_89a8_ac1a6a2fb5e9 -); -impl std::ops::Deref for IFabricGetRollingUpgradeMonitoringPolicyResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetRollingUpgradeMonitoringPolicyResult, - windows_core::IUnknown -); -impl IFabricGetRollingUpgradeMonitoringPolicyResult { - pub unsafe fn get_Policy(&self) -> *mut super::super::FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - (windows_core::Interface::vtable(self).get_Policy)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricGetRollingUpgradeMonitoringPolicyResult {} -unsafe impl Sync for IFabricGetRollingUpgradeMonitoringPolicyResult {} -#[repr(C)] -pub struct IFabricGetRollingUpgradeMonitoringPolicyResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Policy: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_ROLLING_UPGRADE_MONITORING_POLICY, -} -windows_core::imp::define_interface!( - IFabricGetServiceGroupMemberListResult, - IFabricGetServiceGroupMemberListResult_Vtbl, - 0xe9f7f574_fd07_4a71_9f22_9cf9ccf3c166 -); -impl std::ops::Deref for IFabricGetServiceGroupMemberListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetServiceGroupMemberListResult, - windows_core::IUnknown -); -impl IFabricGetServiceGroupMemberListResult { - pub unsafe fn get_ServiceGroupMemberList( - &self, - ) -> *mut super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ServiceGroupMemberList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetServiceGroupMemberListResult {} -unsafe impl Sync for IFabricGetServiceGroupMemberListResult {} -#[repr(C)] -pub struct IFabricGetServiceGroupMemberListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ServiceGroupMemberList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetServiceGroupMemberTypeListResult, - IFabricGetServiceGroupMemberTypeListResult_Vtbl, - 0x5e572763_29a9_463a_b602_1332c0f60e6b -); -impl std::ops::Deref for IFabricGetServiceGroupMemberTypeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetServiceGroupMemberTypeListResult, - windows_core::IUnknown -); -impl IFabricGetServiceGroupMemberTypeListResult { - pub unsafe fn get_ServiceGroupMemberTypeList( - &self, - ) -> *mut super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ServiceGroupMemberTypeList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetServiceGroupMemberTypeListResult {} -unsafe impl Sync for IFabricGetServiceGroupMemberTypeListResult {} -#[repr(C)] -pub struct IFabricGetServiceGroupMemberTypeListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ServiceGroupMemberTypeList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST , } -windows_core::imp::define_interface!( - IFabricGetServiceListResult, - IFabricGetServiceListResult_Vtbl, - 0x9953e19a_ea1e_4a1f_bda4_ab42fdb77185 -); -impl std::ops::Deref for IFabricGetServiceListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetServiceListResult, windows_core::IUnknown); -impl IFabricGetServiceListResult { - pub unsafe fn get_ServiceList(&self) -> *mut super::super::FABRIC_SERVICE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ServiceList)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetServiceListResult {} -unsafe impl Sync for IFabricGetServiceListResult {} -#[repr(C)] -pub struct IFabricGetServiceListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ServiceList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SERVICE_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetServiceListResult2, - IFabricGetServiceListResult2_Vtbl, - 0x30263683_4b25_4ec3_86d7_94ed86e7a8bf -); -impl std::ops::Deref for IFabricGetServiceListResult2 { - type Target = IFabricGetServiceListResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetServiceListResult2, - windows_core::IUnknown, - IFabricGetServiceListResult -); -impl IFabricGetServiceListResult2 { - pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { - (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetServiceListResult2 {} -unsafe impl Sync for IFabricGetServiceListResult2 {} -#[repr(C)] -pub struct IFabricGetServiceListResult2_Vtbl { - pub base__: IFabricGetServiceListResult_Vtbl, - pub get_PagingStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PAGING_STATUS, -} -windows_core::imp::define_interface!( - IFabricGetServiceNameResult, - IFabricGetServiceNameResult_Vtbl, - 0xb64fb70c_fe53_4ca1_b6d9_23d1150fe76c -); -impl std::ops::Deref for IFabricGetServiceNameResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetServiceNameResult, windows_core::IUnknown); -impl IFabricGetServiceNameResult { - pub unsafe fn get_ServiceName(&self) -> *mut super::super::FABRIC_SERVICE_NAME_QUERY_RESULT { - (windows_core::Interface::vtable(self).get_ServiceName)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricGetServiceNameResult {} -unsafe impl Sync for IFabricGetServiceNameResult {} -#[repr(C)] -pub struct IFabricGetServiceNameResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ServiceName: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SERVICE_NAME_QUERY_RESULT, -} -windows_core::imp::define_interface!( - IFabricGetServiceTypeListResult, - IFabricGetServiceTypeListResult_Vtbl, - 0x886e4ad2_edb8_4734_9dd4_0e9a2be5238b -); -impl std::ops::Deref for IFabricGetServiceTypeListResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricGetServiceTypeListResult, windows_core::IUnknown); -impl IFabricGetServiceTypeListResult { - pub unsafe fn get_ServiceTypeList( - &self, - ) -> *mut super::super::FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_ServiceTypeList)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetServiceTypeListResult {} -unsafe impl Sync for IFabricGetServiceTypeListResult {} -#[repr(C)] -pub struct IFabricGetServiceTypeListResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ServiceTypeList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricGetUnplacedReplicaInformationResult, - IFabricGetUnplacedReplicaInformationResult_Vtbl, - 0x9d86a611_3fd3_451b_9495_6a831f417473 -); -impl std::ops::Deref for IFabricGetUnplacedReplicaInformationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricGetUnplacedReplicaInformationResult, - windows_core::IUnknown -); -impl IFabricGetUnplacedReplicaInformationResult { - pub unsafe fn get_UnplacedReplicaInformation( - &self, - ) -> *mut super::super::FABRIC_UNPLACED_REPLICA_INFORMATION { - (windows_core::Interface::vtable(self).get_UnplacedReplicaInformation)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricGetUnplacedReplicaInformationResult {} -unsafe impl Sync for IFabricGetUnplacedReplicaInformationResult {} -#[repr(C)] -pub struct IFabricGetUnplacedReplicaInformationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_UnplacedReplicaInformation: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_UNPLACED_REPLICA_INFORMATION, -} -windows_core::imp::define_interface!( - IFabricHealthClient, - IFabricHealthClient_Vtbl, - 0x3d00d0be_7014_41da_9c5b_0a9ef46e2a43 -); -impl std::ops::Deref for IFabricHealthClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricHealthClient, windows_core::IUnknown); -impl IFabricHealthClient { - pub unsafe fn ReportHealth( - &self, - healthreport: *const super::super::FABRIC_HEALTH_REPORT, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportHealth)( - windows_core::Interface::as_raw(self), - healthreport, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetClusterHealth( - &self, - healthpolicy: *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterHealth)( - windows_core::Interface::as_raw(self), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetNodeHealth( - &self, - nodename: P0, - healthpolicy: *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNodeHealth)( - windows_core::Interface::as_raw(self), - nodename.param().abi(), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNodeHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetApplicationHealth( - &self, - applicationname: P0, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationHealth)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetServiceHealth( - &self, - servicename: P0, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceHealth)( - windows_core::Interface::as_raw(self), - servicename.param().abi(), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetPartitionHealth( - &self, - partitionid: windows_core::GUID, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionHealth)( - windows_core::Interface::as_raw(self), - core::mem::transmute(partitionid), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetReplicaHealth( - &self, - partitionid: windows_core::GUID, - replicaid: i64, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetReplicaHealth)( - windows_core::Interface::as_raw(self), - core::mem::transmute(partitionid), - replicaid, - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetReplicaHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetReplicaHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetDeployedApplicationHealth( - &self, - applicationname: P0, - nodename: P1, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedApplicationHealth)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - nodename.param().abi(), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedApplicationHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedApplicationHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetDeployedServicePackageHealth( - &self, - applicationname: P0, - servicemanifestname: P1, - nodename: P2, - healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageHealth)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - servicemanifestname.param().abi(), - nodename.param().abi(), - healthpolicy, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedServicePackageHealth( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedServicePackageHealth)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricHealthClient {} -unsafe impl Sync for IFabricHealthClient {} -#[repr(C)] -pub struct IFabricHealthClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub ReportHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_REPORT, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetClusterHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetClusterHealth: usize, - pub EndGetClusterHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetNodeHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetNodeHealth: usize, - pub EndGetNodeHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetApplicationHealth: usize, - pub EndGetApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetServiceHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetServiceHealth: usize, - pub EndGetServiceHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetPartitionHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetPartitionHealth: usize, - pub EndGetPartitionHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetReplicaHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - i64, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetReplicaHealth: usize, - pub EndGetReplicaHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetDeployedApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetDeployedApplicationHealth: usize, - pub EndGetDeployedApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetDeployedServicePackageHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - windows_core::PCWSTR, - *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetDeployedServicePackageHealth: usize, - pub EndGetDeployedServicePackageHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricHealthClient2, - IFabricHealthClient2_Vtbl, - 0x66cbc014_d7b3_4f81_a498_e580feb9a1f5 -); -impl std::ops::Deref for IFabricHealthClient2 { - type Target = IFabricHealthClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricHealthClient2, - windows_core::IUnknown, - IFabricHealthClient -); -impl IFabricHealthClient2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetClusterHealth2( - &self, - querydescription: *const super::super::FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetNodeHealth2( - &self, - querydescription: *const super::super::FABRIC_NODE_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNodeHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNodeHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetApplicationHealth2( - &self, - querydescription: *const super::super::FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetServiceHealth2( - &self, - querydescription: *const super::super::FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetPartitionHealth2( - &self, - querydescription: *const super::super::FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetReplicaHealth2( - &self, - querydescription: *const super::super::FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetReplicaHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetReplicaHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetReplicaHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetDeployedApplicationHealth2( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedApplicationHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedApplicationHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedApplicationHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetDeployedServicePackageHealth2( - &self, - querydescription : *const super::super:: FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageHealth2)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedServicePackageHealth2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedServicePackageHealth2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricHealthClient2 {} -unsafe impl Sync for IFabricHealthClient2 {} -#[repr(C)] -pub struct IFabricHealthClient2_Vtbl { - pub base__: IFabricHealthClient_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetClusterHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetClusterHealth2: usize, - pub EndGetClusterHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetNodeHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NODE_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetNodeHealth2: usize, - pub EndGetNodeHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetApplicationHealth2: usize, - pub EndGetApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetServiceHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetServiceHealth2: usize, - pub EndGetServiceHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetPartitionHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetPartitionHealth2: usize, - pub EndGetPartitionHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetReplicaHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetReplicaHealth2: usize, - pub EndGetReplicaHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetDeployedApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetDeployedApplicationHealth2: usize, - pub EndGetDeployedApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetDeployedServicePackageHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetDeployedServicePackageHealth2: usize, - pub EndGetDeployedServicePackageHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricHealthClient3, - IFabricHealthClient3_Vtbl, - 0xdd3e4497_3373_458d_ad22_c88ebd27493e -); -impl std::ops::Deref for IFabricHealthClient3 { - type Target = IFabricHealthClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricHealthClient3, - windows_core::IUnknown, - IFabricHealthClient, - IFabricHealthClient2 -); -impl IFabricHealthClient3 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetClusterHealthChunk( - &self, - querydescription: *const super::super::FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterHealthChunk)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterHealthChunk( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterHealthChunk)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricHealthClient3 {} -unsafe impl Sync for IFabricHealthClient3 {} -#[repr(C)] -pub struct IFabricHealthClient3_Vtbl { - pub base__: IFabricHealthClient2_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetClusterHealthChunk: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetClusterHealthChunk: usize, - pub EndGetClusterHealthChunk: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricHealthClient4, - IFabricHealthClient4_Vtbl, - 0x9f0401af_4909_404f_8696_0a71bd753e98 -); -impl std::ops::Deref for IFabricHealthClient4 { - type Target = IFabricHealthClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricHealthClient4, - windows_core::IUnknown, - IFabricHealthClient, - IFabricHealthClient2, - IFabricHealthClient3 -); -impl IFabricHealthClient4 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportHealth2( - &self, - healthreport: *const super::super::FABRIC_HEALTH_REPORT, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportHealth2)( - windows_core::Interface::as_raw(self), - healthreport, - sendoptions, - ) - .ok() - } -} -unsafe impl Send for IFabricHealthClient4 {} -unsafe impl Sync for IFabricHealthClient4 {} -#[repr(C)] -pub struct IFabricHealthClient4_Vtbl { - pub base__: IFabricHealthClient3_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_REPORT, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportHealth2: usize, -} -windows_core::imp::define_interface!( - IFabricInfrastructureServiceClient, - IFabricInfrastructureServiceClient_Vtbl, - 0xa0cfbc71_184b_443b_b102_4b6d0a7cbc49 -); -impl std::ops::Deref for IFabricInfrastructureServiceClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricInfrastructureServiceClient, windows_core::IUnknown); -impl IFabricInfrastructureServiceClient { - pub unsafe fn BeginInvokeInfrastructureCommand( - &self, - servicename: P0, - command: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginInvokeInfrastructureCommand)( - windows_core::Interface::as_raw(self), - servicename.param().abi(), - command.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndInvokeInfrastructureCommand( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndInvokeInfrastructureCommand)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginInvokeInfrastructureQuery( - &self, - servicename: P0, - command: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginInvokeInfrastructureQuery)( - windows_core::Interface::as_raw(self), - servicename.param().abi(), - command.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndInvokeInfrastructureQuery( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndInvokeInfrastructureQuery)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricInfrastructureServiceClient {} -unsafe impl Sync for IFabricInfrastructureServiceClient {} -#[repr(C)] -pub struct IFabricInfrastructureServiceClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginInvokeInfrastructureCommand: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndInvokeInfrastructureCommand: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginInvokeInfrastructureQuery: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndInvokeInfrastructureQuery: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricMovePrimaryResult, - IFabricMovePrimaryResult_Vtbl, - 0x66ac03f5_e61c_47a2_80fe_49309a02c92c -); -impl std::ops::Deref for IFabricMovePrimaryResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricMovePrimaryResult, windows_core::IUnknown); -impl IFabricMovePrimaryResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_MOVE_PRIMARY_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricMovePrimaryResult {} -unsafe impl Sync for IFabricMovePrimaryResult {} -#[repr(C)] -pub struct IFabricMovePrimaryResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_MOVE_PRIMARY_RESULT, -} -windows_core::imp::define_interface!( - IFabricMoveSecondaryResult, - IFabricMoveSecondaryResult_Vtbl, - 0x60fe896a_b690_4abb_94fd_86c615d29bee -); -impl std::ops::Deref for IFabricMoveSecondaryResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricMoveSecondaryResult, windows_core::IUnknown); -impl IFabricMoveSecondaryResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_MOVE_SECONDARY_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricMoveSecondaryResult {} -unsafe impl Sync for IFabricMoveSecondaryResult {} -#[repr(C)] -pub struct IFabricMoveSecondaryResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_MOVE_SECONDARY_RESULT, -} -windows_core::imp::define_interface!( - IFabricNameEnumerationResult, - IFabricNameEnumerationResult_Vtbl, - 0x557e8105_f4f4_4fd3_9d21_075f34e2f98c -); -impl std::ops::Deref for IFabricNameEnumerationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricNameEnumerationResult, windows_core::IUnknown); -impl IFabricNameEnumerationResult { - pub unsafe fn get_EnumerationStatus(&self) -> super::super::FABRIC_ENUMERATION_STATUS { - (windows_core::Interface::vtable(self).get_EnumerationStatus)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn GetNames( - &self, - itemcount: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_URI> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetNames)( - windows_core::Interface::as_raw(self), - itemcount, - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricNameEnumerationResult {} -unsafe impl Sync for IFabricNameEnumerationResult {} -#[repr(C)] -pub struct IFabricNameEnumerationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_EnumerationStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> super::super::FABRIC_ENUMERATION_STATUS, - pub GetNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_URI, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricNetworkManagementClient, - IFabricNetworkManagementClient_Vtbl, - 0xfdb754c6_69c5_4bcf_bba5_cb70c84a4398 -); -impl std::ops::Deref for IFabricNetworkManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricNetworkManagementClient, windows_core::IUnknown); -impl IFabricNetworkManagementClient { - pub unsafe fn BeginCreateNetwork( - &self, - networkname: P0, - description: *const super::super::FABRIC_NETWORK_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateNetwork)( - windows_core::Interface::as_raw(self), - networkname.param().abi(), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateNetwork(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateNetwork)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteNetwork( - &self, - deletedescription: *const super::super::FABRIC_DELETE_NETWORK_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteNetwork)( - windows_core::Interface::as_raw(self), - deletedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteNetwork(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteNetwork)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetNetworkList( - &self, - querydescription: *const super::super::FABRIC_NETWORK_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNetworkList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNetworkList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNetworkList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetNetworkApplicationList( - &self, - querydescription: *const super::super::FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNetworkApplicationList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNetworkApplicationList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNetworkApplicationList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetNetworkNodeList( - &self, - querydescription: *const super::super::FABRIC_NETWORK_NODE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNetworkNodeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNetworkNodeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNetworkNodeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetApplicationNetworkList( - &self, - querydescription: *const super::super::FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationNetworkList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationNetworkList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationNetworkList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedNetworkList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedNetworkList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedNetworkList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedNetworkList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedNetworkCodePackageList( - &self, - querydescription : *const super::super:: FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedNetworkCodePackageList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedNetworkCodePackageList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedNetworkCodePackageList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricNetworkManagementClient {} -unsafe impl Sync for IFabricNetworkManagementClient {} -#[repr(C)] -pub struct IFabricNetworkManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginCreateNetwork: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *const super::super::FABRIC_NETWORK_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateNetwork: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeleteNetwork: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DELETE_NETWORK_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteNetwork: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NETWORK_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetNetworkApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNetworkApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetNetworkNodeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NETWORK_NODE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNetworkNodeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetApplicationNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedNetworkList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedNetworkCodePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndGetDeployedNetworkCodePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricNodeHealthResult, - IFabricNodeHealthResult_Vtbl, - 0xe461f70b_51b8_4b73_9f35_e38e5ac68719 -); -impl std::ops::Deref for IFabricNodeHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricNodeHealthResult, windows_core::IUnknown); -impl IFabricNodeHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_NodeHealth(&self) -> *mut super::super::FABRIC_NODE_HEALTH { - (windows_core::Interface::vtable(self).get_NodeHealth)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricNodeHealthResult {} -unsafe impl Sync for IFabricNodeHealthResult {} -#[repr(C)] -pub struct IFabricNodeHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_NodeHealth: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_NodeHealth: usize, -} -windows_core::imp::define_interface!( - IFabricNodeTransitionProgressResult, - IFabricNodeTransitionProgressResult_Vtbl, - 0x68a98626_6a1b_4dd8_ad93_74c0936e86aa -); -impl std::ops::Deref for IFabricNodeTransitionProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricNodeTransitionProgressResult, - windows_core::IUnknown -); -impl IFabricNodeTransitionProgressResult { - pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_NODE_TRANSITION_PROGRESS { - (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricNodeTransitionProgressResult {} -unsafe impl Sync for IFabricNodeTransitionProgressResult {} -#[repr(C)] -pub struct IFabricNodeTransitionProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Progress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_NODE_TRANSITION_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricOrchestrationUpgradeStatusResult, - IFabricOrchestrationUpgradeStatusResult_Vtbl, - 0x95a56e4a_490d_445e_865c_ef0a62f15504 -); -impl std::ops::Deref for IFabricOrchestrationUpgradeStatusResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricOrchestrationUpgradeStatusResult, - windows_core::IUnknown -); -impl IFabricOrchestrationUpgradeStatusResult { - pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricOrchestrationUpgradeStatusResult {} -unsafe impl Sync for IFabricOrchestrationUpgradeStatusResult {} -#[repr(C)] -pub struct IFabricOrchestrationUpgradeStatusResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Progress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_ORCHESTRATION_UPGRADE_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricPartitionDataLossProgressResult, - IFabricPartitionDataLossProgressResult_Vtbl, - 0x614921e6_75f1_44e7_9107_ab88819136b8 -); -impl std::ops::Deref for IFabricPartitionDataLossProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricPartitionDataLossProgressResult, - windows_core::IUnknown -); -impl IFabricPartitionDataLossProgressResult { - pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_DATA_LOSS_PROGRESS { - (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricPartitionDataLossProgressResult {} -unsafe impl Sync for IFabricPartitionDataLossProgressResult {} -#[repr(C)] -pub struct IFabricPartitionDataLossProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Progress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_PARTITION_DATA_LOSS_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricPartitionHealthResult, - IFabricPartitionHealthResult_Vtbl, - 0x10c9e99d_bb3f_4263_a7f7_abbaf3c03576 -); -impl std::ops::Deref for IFabricPartitionHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPartitionHealthResult, windows_core::IUnknown); -impl IFabricPartitionHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_PartitionHealth(&self) -> *mut super::super::FABRIC_PARTITION_HEALTH { - (windows_core::Interface::vtable(self).get_PartitionHealth)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricPartitionHealthResult {} -unsafe impl Sync for IFabricPartitionHealthResult {} -#[repr(C)] -pub struct IFabricPartitionHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_PartitionHealth: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PARTITION_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_PartitionHealth: usize, -} -windows_core::imp::define_interface!( - IFabricPartitionQuorumLossProgressResult, - IFabricPartitionQuorumLossProgressResult_Vtbl, - 0x36d8e378_3706_403d_8d99_2afd1a120687 -); -impl std::ops::Deref for IFabricPartitionQuorumLossProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricPartitionQuorumLossProgressResult, - windows_core::IUnknown -); -impl IFabricPartitionQuorumLossProgressResult { - pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricPartitionQuorumLossProgressResult {} -unsafe impl Sync for IFabricPartitionQuorumLossProgressResult {} -#[repr(C)] -pub struct IFabricPartitionQuorumLossProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Progress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_PARTITION_QUORUM_LOSS_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricPartitionRestartProgressResult, - IFabricPartitionRestartProgressResult_Vtbl, - 0xd2cb2ee1_a1ba_4cbd_80f7_14fd3d55bb61 -); -impl std::ops::Deref for IFabricPartitionRestartProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricPartitionRestartProgressResult, - windows_core::IUnknown -); -impl IFabricPartitionRestartProgressResult { - pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_RESTART_PROGRESS { - (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricPartitionRestartProgressResult {} -unsafe impl Sync for IFabricPartitionRestartProgressResult {} -#[repr(C)] -pub struct IFabricPartitionRestartProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Progress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_PARTITION_RESTART_PROGRESS, -} -windows_core::imp::define_interface!( - IFabricPropertyBatchResult, - IFabricPropertyBatchResult_Vtbl, - 0xee747ff5_3fbb_46a8_adbc_47ce09c48bbe -); -impl std::ops::Deref for IFabricPropertyBatchResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPropertyBatchResult, windows_core::IUnknown); -impl IFabricPropertyBatchResult { - pub unsafe fn GetProperty( - &self, - operationindexinrequest: u32, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetProperty)( - windows_core::Interface::as_raw(self), - operationindexinrequest, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricPropertyBatchResult {} -unsafe impl Sync for IFabricPropertyBatchResult {} -#[repr(C)] -pub struct IFabricPropertyBatchResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub GetProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricPropertyEnumerationResult, - IFabricPropertyEnumerationResult_Vtbl, - 0xa42da40d_a637_478d_83f3_2813871234cf -); -impl std::ops::Deref for IFabricPropertyEnumerationResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPropertyEnumerationResult, windows_core::IUnknown); -impl IFabricPropertyEnumerationResult { - pub unsafe fn get_EnumerationStatus(&self) -> super::super::FABRIC_ENUMERATION_STATUS { - (windows_core::Interface::vtable(self).get_EnumerationStatus)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_PropertyCount(&self) -> u32 { - (windows_core::Interface::vtable(self).get_PropertyCount)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn GetProperty( - &self, - index: u32, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetProperty)( - windows_core::Interface::as_raw(self), - index, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricPropertyEnumerationResult {} -unsafe impl Sync for IFabricPropertyEnumerationResult {} -#[repr(C)] -pub struct IFabricPropertyEnumerationResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_EnumerationStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> super::super::FABRIC_ENUMERATION_STATUS, - pub get_PropertyCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, - pub GetProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricPropertyManagementClient, - IFabricPropertyManagementClient_Vtbl, - 0x26e58816_b5d5_4f08_9770_dbf0410c99d6 -); -impl std::ops::Deref for IFabricPropertyManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPropertyManagementClient, windows_core::IUnknown); -impl IFabricPropertyManagementClient { - pub unsafe fn BeginCreateName( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateName)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateName(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateName)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteName( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteName)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteName(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteName)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginNameExists( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginNameExists)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndNameExists(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndNameExists)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginEnumerateSubNames( - &self, - name: P0, - previousresult: P1, - recursive: P2, - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginEnumerateSubNames)( - windows_core::Interface::as_raw(self), - name.param().abi(), - previousresult.param().abi(), - recursive.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndEnumerateSubNames( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndEnumerateSubNames)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginPutPropertyBinary( - &self, - name: P0, - propertyname: P1, - data: &[u8], - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutPropertyBinary)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - data.len().try_into().unwrap(), - core::mem::transmute(data.as_ptr()), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutPropertyBinary(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutPropertyBinary)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginPutPropertyInt64( - &self, - name: P0, - propertyname: P1, - data: i64, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutPropertyInt64)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - data, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutPropertyInt64(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutPropertyInt64)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginPutPropertyDouble( - &self, - name: P0, - propertyname: P1, - data: f64, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutPropertyDouble)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - data, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutPropertyDouble(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutPropertyDouble)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginPutPropertyWString( - &self, - name: P0, - propertyname: P1, - data: P2, - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutPropertyWString)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - data.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutPropertyWString(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutPropertyWString)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginPutPropertyGuid( - &self, - name: P0, - propertyname: P1, - data: *const windows_core::GUID, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutPropertyGuid)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - data, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutPropertyGuid(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutPropertyGuid)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteProperty( - &self, - name: P0, - propertyname: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteProperty)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteProperty(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteProperty)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetPropertyMetadata( - &self, - name: P0, - propertyname: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPropertyMetadata)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPropertyMetadata( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPropertyMetadata)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetProperty( - &self, - name: P0, - propertyname: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetProperty)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetProperty( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetProperty)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginSubmitPropertyBatch( - &self, - name: P0, - operations: &[super::super::FABRIC_PROPERTY_BATCH_OPERATION], - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginSubmitPropertyBatch)( - windows_core::Interface::as_raw(self), - name.param().abi(), - operations.len().try_into().unwrap(), - core::mem::transmute(operations.as_ptr()), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndSubmitPropertyBatch( - &self, - context: P0, - failedoperationindexinrequest: *mut u32, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndSubmitPropertyBatch)( - windows_core::Interface::as_raw(self), - context.param().abi(), - failedoperationindexinrequest, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginEnumerateProperties( - &self, - name: P0, - includevalues: P1, - previousresult: P2, - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginEnumerateProperties)( - windows_core::Interface::as_raw(self), - name.param().abi(), - includevalues.param().abi(), - previousresult.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndEnumerateProperties( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndEnumerateProperties)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricPropertyManagementClient {} -unsafe impl Sync for IFabricPropertyManagementClient {} -#[repr(C)] -pub struct IFabricPropertyManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginCreateName: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeleteName: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginNameExists: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndNameExists: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u8, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginEnumerateSubNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *mut core::ffi::c_void, - windows::Win32::Foundation::BOOLEAN, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginEnumerateSubNames: usize, - pub EndEnumerateSubNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginPutPropertyBinary: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *const u8, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutPropertyBinary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginPutPropertyInt64: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - i64, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutPropertyInt64: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginPutPropertyDouble: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - f64, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutPropertyDouble: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginPutPropertyWString: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutPropertyWString: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginPutPropertyGuid: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - *const windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutPropertyGuid: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeleteProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPropertyMetadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPropertyMetadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetProperty: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginSubmitPropertyBatch: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *const super::super::FABRIC_PROPERTY_BATCH_OPERATION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndSubmitPropertyBatch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u32, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginEnumerateProperties: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - windows::Win32::Foundation::BOOLEAN, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginEnumerateProperties: usize, - pub EndEnumerateProperties: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricPropertyManagementClient2, - IFabricPropertyManagementClient2_Vtbl, - 0x04991c28_3f9d_4a49_9322_a56d308965fd -); -impl std::ops::Deref for IFabricPropertyManagementClient2 { - type Target = IFabricPropertyManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricPropertyManagementClient2, - windows_core::IUnknown, - IFabricPropertyManagementClient -); -impl IFabricPropertyManagementClient2 { - pub unsafe fn BeginPutCustomPropertyOperation( - &self, - name: P0, - propertyoperation: *const super::super::FABRIC_PUT_CUSTOM_PROPERTY_OPERATION, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPutCustomPropertyOperation)( - windows_core::Interface::as_raw(self), - name.param().abi(), - propertyoperation, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPutCustomPropertyOperation(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndPutCustomPropertyOperation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricPropertyManagementClient2 {} -unsafe impl Sync for IFabricPropertyManagementClient2 {} -#[repr(C)] -pub struct IFabricPropertyManagementClient2_Vtbl { - pub base__: IFabricPropertyManagementClient_Vtbl, - pub BeginPutCustomPropertyOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const super::super::FABRIC_PUT_CUSTOM_PROPERTY_OPERATION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPutCustomPropertyOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricPropertyMetadataResult, - IFabricPropertyMetadataResult_Vtbl, - 0x33302306_fb8d_4831_b493_57efcc772462 -); -impl std::ops::Deref for IFabricPropertyMetadataResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPropertyMetadataResult, windows_core::IUnknown); -impl IFabricPropertyMetadataResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY_METADATA { - (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricPropertyMetadataResult {} -unsafe impl Sync for IFabricPropertyMetadataResult {} -#[repr(C)] -pub struct IFabricPropertyMetadataResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Metadata: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_NAMED_PROPERTY_METADATA, - #[cfg(not(feature = "Win32_Foundation"))] - get_Metadata: usize, -} -windows_core::imp::define_interface!( - IFabricPropertyValueResult, - IFabricPropertyValueResult_Vtbl, - 0x9a518b49_9903_4b8f_834e_1979e9c6745e -); -impl std::ops::Deref for IFabricPropertyValueResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricPropertyValueResult, windows_core::IUnknown); -impl IFabricPropertyValueResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Property(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY { - (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn GetValueAsBinary(&self, bytecount: *mut u32) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValueAsBinary)( - windows_core::Interface::as_raw(self), - bytecount, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetValueAsInt64(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValueAsInt64)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetValueAsDouble(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValueAsDouble)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetValueAsWString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValueAsWString)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetValueAsGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValueAsGuid)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricPropertyValueResult {} -unsafe impl Sync for IFabricPropertyValueResult {} -#[repr(C)] -pub struct IFabricPropertyValueResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Property: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_NAMED_PROPERTY, - #[cfg(not(feature = "Win32_Foundation"))] - get_Property: usize, - pub GetValueAsBinary: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut u8, - ) -> windows_core::HRESULT, - pub GetValueAsInt64: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub GetValueAsDouble: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub GetValueAsWString: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub GetValueAsGuid: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut windows_core::GUID, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient, - IFabricQueryClient_Vtbl, - 0xc629e422_90ba_4efd_8f64_cecf51bc3df0 -); -impl std::ops::Deref for IFabricQueryClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricQueryClient, windows_core::IUnknown); -impl IFabricQueryClient { - pub unsafe fn BeginGetNodeList( - &self, - querydescription: *const super::super::FABRIC_NODE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNodeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNodeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetApplicationTypeList( - &self, - querydescription: *const super::super::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationTypeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationTypeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationTypeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetServiceTypeList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceTypeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceTypeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceTypeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetApplicationList( - &self, - querydescription: *const super::super::FABRIC_APPLICATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetServiceList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetPartitionList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetReplicaList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetReplicaList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetReplicaList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetReplicaList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedApplicationList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedApplicationList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedApplicationList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedApplicationList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedServicePackageList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedServicePackageList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedServicePackageList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedServiceTypeList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedServiceTypeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedServiceTypeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedServiceTypeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedCodePackageList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedCodePackageList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedCodePackageList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedCodePackageList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetDeployedReplicaList( - &self, - querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedReplicaList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedReplicaList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedReplicaList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient {} -unsafe impl Sync for IFabricQueryClient {} -#[repr(C)] -pub struct IFabricQueryClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginGetNodeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NODE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNodeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetApplicationTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetServiceTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetServiceList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPartitionList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPartitionList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetReplicaList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetReplicaList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedApplicationList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedServicePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedServicePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedServiceTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedServiceTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedCodePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedCodePackageList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetDeployedReplicaList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedReplicaList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient10, - IFabricQueryClient10_Vtbl, - 0x02139da8_7140_42ae_8403_79a551600e63 -); -impl std::ops::Deref for IFabricQueryClient10 { - type Target = IFabricQueryClient9; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient10, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4, - IFabricQueryClient5, - IFabricQueryClient6, - IFabricQueryClient7, - IFabricQueryClient8, - IFabricQueryClient9 -); -impl IFabricQueryClient10 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetDeployedApplicationPagedList( - &self, - querydescription: *const super::super::FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedApplicationPagedList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedApplicationPagedList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedApplicationPagedList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient10 {} -unsafe impl Sync for IFabricQueryClient10 {} -#[repr(C)] -pub struct IFabricQueryClient10_Vtbl { - pub base__: IFabricQueryClient9_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetDeployedApplicationPagedList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetDeployedApplicationPagedList: usize, - pub EndGetDeployedApplicationPagedList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient2, - IFabricQueryClient2_Vtbl, - 0x4e6d5d61_24c8_4240_a2e8_bcb1fc15d9af -); -impl std::ops::Deref for IFabricQueryClient2 { - type Target = IFabricQueryClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient2, - windows_core::IUnknown, - IFabricQueryClient -); -impl IFabricQueryClient2 { - pub unsafe fn BeginGetDeployedReplicaDetail( - &self, - querydescription : *const super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetDeployedReplicaDetail)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetDeployedReplicaDetail( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetDeployedReplicaDetail)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetClusterLoadInformation( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetClusterLoadInformation)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetClusterLoadInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetClusterLoadInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetPartitionLoadInformation( - &self, - querydescription: *const super::super::FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionLoadInformation)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionLoadInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionLoadInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetProvisionedFabricCodeVersionList( - &self, - querydescription: *const super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetProvisionedFabricCodeVersionList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetProvisionedFabricCodeVersionList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetProvisionedFabricCodeVersionList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetProvisionedFabricConfigVersionList( - &self, - querydescription: *const super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetProvisionedFabricConfigVersionList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetProvisionedFabricConfigVersionList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetProvisionedFabricConfigVersionList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient2 {} -unsafe impl Sync for IFabricQueryClient2 {} -#[repr(C)] -pub struct IFabricQueryClient2_Vtbl { - pub base__: IFabricQueryClient_Vtbl, - pub BeginGetDeployedReplicaDetail: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetDeployedReplicaDetail: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetClusterLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetClusterLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPartitionLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPartitionLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetProvisionedFabricCodeVersionList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetProvisionedFabricCodeVersionList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub BeginGetProvisionedFabricConfigVersionList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetProvisionedFabricConfigVersionList: - unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient3, - IFabricQueryClient3_Vtbl, - 0x16f563f3_4017_496e_b0e7_2650de5774b3 -); -impl std::ops::Deref for IFabricQueryClient3 { - type Target = IFabricQueryClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient3, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2 -); -impl IFabricQueryClient3 { - pub unsafe fn BeginGetNodeLoadInformation( - &self, - querydescription: *const super::super::FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNodeLoadInformation)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNodeLoadInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeLoadInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetReplicaLoadInformation( - &self, - querydescription: *const super::super::FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetReplicaLoadInformation)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetReplicaLoadInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetReplicaLoadInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient3 {} -unsafe impl Sync for IFabricQueryClient3 {} -#[repr(C)] -pub struct IFabricQueryClient3_Vtbl { - pub base__: IFabricQueryClient2_Vtbl, - pub BeginGetNodeLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNodeLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetReplicaLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetReplicaLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient4, - IFabricQueryClient4_Vtbl, - 0xab92081d_0d78_410b_9777_0846dba24c10 -); -impl std::ops::Deref for IFabricQueryClient4 { - type Target = IFabricQueryClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient4, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3 -); -impl IFabricQueryClient4 { - pub unsafe fn BeginGetServiceGroupMemberList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceGroupMemberList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceGroupMemberList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceGroupMemberList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetServiceGroupMemberTypeList( - &self, - querydescription: *const super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceGroupMemberTypeList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceGroupMemberTypeList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceGroupMemberTypeList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient4 {} -unsafe impl Sync for IFabricQueryClient4 {} -#[repr(C)] -pub struct IFabricQueryClient4_Vtbl { - pub base__: IFabricQueryClient3_Vtbl, - pub BeginGetServiceGroupMemberList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceGroupMemberList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetServiceGroupMemberTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceGroupMemberTypeList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient5, - IFabricQueryClient5_Vtbl, - 0x75c35e8c_87a2_4810_a401_b50da858fe34 -); -impl std::ops::Deref for IFabricQueryClient5 { - type Target = IFabricQueryClient4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient5, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4 -); -impl IFabricQueryClient5 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetUnplacedReplicaInformation( - &self, - querydescription : *const super::super:: FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetUnplacedReplicaInformation)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetUnplacedReplicaInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetUnplacedReplicaInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient5 {} -unsafe impl Sync for IFabricQueryClient5 {} -#[repr(C)] -pub struct IFabricQueryClient5_Vtbl { - pub base__: IFabricQueryClient4_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetUnplacedReplicaInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetUnplacedReplicaInformation: usize, - pub EndGetUnplacedReplicaInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient6, - IFabricQueryClient6_Vtbl, - 0x173b2bb4_09c6_42fb_8754_caa8d43cf1b2 -); -impl std::ops::Deref for IFabricQueryClient6 { - type Target = IFabricQueryClient5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient6, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4, - IFabricQueryClient5 -); -impl IFabricQueryClient6 { - pub unsafe fn EndGetNodeList2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeList2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationList2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationList2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceList2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceList2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionList2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionList2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetReplicaList2( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetReplicaList2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient6 {} -unsafe impl Sync for IFabricQueryClient6 {} -#[repr(C)] -pub struct IFabricQueryClient6_Vtbl { - pub base__: IFabricQueryClient5_Vtbl, - pub EndGetNodeList2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationList2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceList2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPartitionList2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetReplicaList2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient7, - IFabricQueryClient7_Vtbl, - 0x538baa81_ba97_46da_95ac_e1cdd184cc74 -); -impl std::ops::Deref for IFabricQueryClient7 { - type Target = IFabricQueryClient6; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient7, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4, - IFabricQueryClient5, - IFabricQueryClient6 -); -impl IFabricQueryClient7 { - pub unsafe fn BeginGetApplicationLoadInformation( - &self, - querydescription : *const super::super:: FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationLoadInformation)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationLoadInformation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationLoadInformation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient7 {} -unsafe impl Sync for IFabricQueryClient7 {} -#[repr(C)] -pub struct IFabricQueryClient7_Vtbl { - pub base__: IFabricQueryClient6_Vtbl, - pub BeginGetApplicationLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationLoadInformation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient8, - IFabricQueryClient8_Vtbl, - 0x2c850629_6a83_4fc3_8468_c868b87e9a17 -); -impl std::ops::Deref for IFabricQueryClient8 { - type Target = IFabricQueryClient7; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient8, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4, - IFabricQueryClient5, - IFabricQueryClient6, - IFabricQueryClient7 -); -impl IFabricQueryClient8 { - pub unsafe fn BeginGetServiceName( - &self, - querydescription: *const super::super::FABRIC_SERVICE_NAME_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceName)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceName( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceName)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetApplicationName( - &self, - querydescription: *const super::super::FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationName)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationName( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationName)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient8 {} -unsafe impl Sync for IFabricQueryClient8 {} -#[repr(C)] -pub struct IFabricQueryClient8_Vtbl { - pub base__: IFabricQueryClient7_Vtbl, - pub BeginGetServiceName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_NAME_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetApplicationName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetApplicationName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricQueryClient9, - IFabricQueryClient9_Vtbl, - 0x76f0b4a5_4941_49d7_993c_ad7afc37c6af -); -impl std::ops::Deref for IFabricQueryClient9 { - type Target = IFabricQueryClient8; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricQueryClient9, - windows_core::IUnknown, - IFabricQueryClient, - IFabricQueryClient2, - IFabricQueryClient3, - IFabricQueryClient4, - IFabricQueryClient5, - IFabricQueryClient6, - IFabricQueryClient7, - IFabricQueryClient8 -); -impl IFabricQueryClient9 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetApplicationTypePagedList( - &self, - querydescription: *const super::super::PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetApplicationTypePagedList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetApplicationTypePagedList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetApplicationTypePagedList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricQueryClient9 {} -unsafe impl Sync for IFabricQueryClient9 {} -#[repr(C)] -pub struct IFabricQueryClient9_Vtbl { - pub base__: IFabricQueryClient8_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetApplicationTypePagedList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetApplicationTypePagedList: usize, - pub EndGetApplicationTypePagedList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricRepairManagementClient, - IFabricRepairManagementClient_Vtbl, - 0xee483ba5_9018_4c99_9804_be6185db88e6 -); -impl std::ops::Deref for IFabricRepairManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricRepairManagementClient, windows_core::IUnknown); -impl IFabricRepairManagementClient { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginCreateRepairTask( - &self, - repairtask: *const super::super::FABRIC_REPAIR_TASK, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateRepairTask)( - windows_core::Interface::as_raw(self), - repairtask, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateRepairTask(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndCreateRepairTask)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginCancelRepairTask( - &self, - requestdescription: *const super::super::FABRIC_REPAIR_CANCEL_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCancelRepairTask)( - windows_core::Interface::as_raw(self), - requestdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCancelRepairTask(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndCancelRepairTask)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginForceApproveRepairTask( - &self, - requestdescription: *const super::super::FABRIC_REPAIR_APPROVE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginForceApproveRepairTask)( - windows_core::Interface::as_raw(self), - requestdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndForceApproveRepairTask(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndForceApproveRepairTask)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginDeleteRepairTask( - &self, - requestdescription: *const super::super::FABRIC_REPAIR_DELETE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteRepairTask)( - windows_core::Interface::as_raw(self), - requestdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteRepairTask(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteRepairTask)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginUpdateRepairExecutionState( - &self, - repairtask: *const super::super::FABRIC_REPAIR_TASK, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateRepairExecutionState)( - windows_core::Interface::as_raw(self), - repairtask, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateRepairExecutionState(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndUpdateRepairExecutionState)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginGetRepairTaskList( - &self, - querydescription: *const super::super::FABRIC_REPAIR_TASK_QUERY_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetRepairTaskList)( - windows_core::Interface::as_raw(self), - querydescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetRepairTaskList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetRepairTaskList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricRepairManagementClient {} -unsafe impl Sync for IFabricRepairManagementClient {} -#[repr(C)] -pub struct IFabricRepairManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginCreateRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_TASK, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginCreateRepairTask: usize, - pub EndCreateRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginCancelRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_CANCEL_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginCancelRepairTask: usize, - pub EndCancelRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub BeginForceApproveRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_APPROVE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndForceApproveRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub BeginDeleteRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_DELETE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteRepairTask: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginUpdateRepairExecutionState: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_TASK, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginUpdateRepairExecutionState: usize, - pub EndUpdateRepairExecutionState: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub BeginGetRepairTaskList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_TASK_QUERY_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetRepairTaskList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricRepairManagementClient2, - IFabricRepairManagementClient2_Vtbl, - 0x5067d775_3baa_48e4_8c72_bb5573cc3fb8 -); -impl std::ops::Deref for IFabricRepairManagementClient2 { - type Target = IFabricRepairManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricRepairManagementClient2, - windows_core::IUnknown, - IFabricRepairManagementClient -); -impl IFabricRepairManagementClient2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginUpdateRepairTaskHealthPolicy( - &self, - updatedescription: *const super::super::FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateRepairTaskHealthPolicy)( - windows_core::Interface::as_raw(self), - updatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateRepairTaskHealthPolicy( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndUpdateRepairTaskHealthPolicy)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricRepairManagementClient2 {} -unsafe impl Sync for IFabricRepairManagementClient2 {} -#[repr(C)] -pub struct IFabricRepairManagementClient2_Vtbl { - pub base__: IFabricRepairManagementClient_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginUpdateRepairTaskHealthPolicy: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginUpdateRepairTaskHealthPolicy: usize, - pub EndUpdateRepairTaskHealthPolicy: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricReplicaHealthResult, - IFabricReplicaHealthResult_Vtbl, - 0xb4d5f2d9_e5cc_49ae_a6c8_89e8df7b6c15 -); -impl std::ops::Deref for IFabricReplicaHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricReplicaHealthResult, windows_core::IUnknown); -impl IFabricReplicaHealthResult { - pub unsafe fn get_ReplicaHealth(&self) -> *mut super::super::FABRIC_REPLICA_HEALTH { - (windows_core::Interface::vtable(self).get_ReplicaHealth)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricReplicaHealthResult {} -unsafe impl Sync for IFabricReplicaHealthResult {} -#[repr(C)] -pub struct IFabricReplicaHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ReplicaHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_REPLICA_HEALTH, -} -windows_core::imp::define_interface!( - IFabricResolvedServicePartitionResult, - IFabricResolvedServicePartitionResult_Vtbl, - 0xfd0fe113_cdf8_4803_b4a0_32b1b3ef3716 -); -impl std::ops::Deref for IFabricResolvedServicePartitionResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricResolvedServicePartitionResult, - windows_core::IUnknown -); -impl IFabricResolvedServicePartitionResult { - pub unsafe fn get_Partition(&self) -> *mut super::super::FABRIC_RESOLVED_SERVICE_PARTITION { - (windows_core::Interface::vtable(self).get_Partition)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn GetEndpoint( - &self, - ) -> windows_core::Result<*mut super::super::FABRIC_RESOLVED_SERVICE_ENDPOINT> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetEndpoint)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn CompareVersion(&self, other: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CompareVersion)( - windows_core::Interface::as_raw(self), - other.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricResolvedServicePartitionResult {} -unsafe impl Sync for IFabricResolvedServicePartitionResult {} -#[repr(C)] -pub struct IFabricResolvedServicePartitionResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Partition: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_RESOLVED_SERVICE_PARTITION, - pub GetEndpoint: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut super::super::FABRIC_RESOLVED_SERVICE_ENDPOINT, - ) -> windows_core::HRESULT, - pub CompareVersion: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i32, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricRestartDeployedCodePackageResult, - IFabricRestartDeployedCodePackageResult_Vtbl, - 0xfe087dc4_7a6a_41e3_90e9_b734a4cef41f -); -impl std::ops::Deref for IFabricRestartDeployedCodePackageResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricRestartDeployedCodePackageResult, - windows_core::IUnknown -); -impl IFabricRestartDeployedCodePackageResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricRestartDeployedCodePackageResult {} -unsafe impl Sync for IFabricRestartDeployedCodePackageResult {} -#[repr(C)] -pub struct IFabricRestartDeployedCodePackageResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_RESULT, -} -windows_core::imp::define_interface!( - IFabricRestartNodeResult, - IFabricRestartNodeResult_Vtbl, - 0x2f7e9d57_fe07_4e34_93e1_01d5a6298ca9 -); -impl std::ops::Deref for IFabricRestartNodeResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricRestartNodeResult, windows_core::IUnknown); -impl IFabricRestartNodeResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricRestartNodeResult {} -unsafe impl Sync for IFabricRestartNodeResult {} -#[repr(C)] -pub struct IFabricRestartNodeResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, -} -windows_core::imp::define_interface!( - IFabricSecretReferencesResult, - IFabricSecretReferencesResult_Vtbl, - 0xbb8f69de_f667_4fab_820d_274cf4303ab4 -); -impl std::ops::Deref for IFabricSecretReferencesResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricSecretReferencesResult, windows_core::IUnknown); -impl IFabricSecretReferencesResult { - pub unsafe fn get_SecretReferences(&self) -> *mut super::super::FABRIC_SECRET_REFERENCE_LIST { - (windows_core::Interface::vtable(self).get_SecretReferences)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricSecretReferencesResult {} -unsafe impl Sync for IFabricSecretReferencesResult {} -#[repr(C)] -pub struct IFabricSecretReferencesResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_SecretReferences: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SECRET_REFERENCE_LIST, -} -windows_core::imp::define_interface!( - IFabricSecretStoreClient, - IFabricSecretStoreClient_Vtbl, - 0x38c4c723_3815_49d8_bdf2_68bfb536b8c9 -); -impl std::ops::Deref for IFabricSecretStoreClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricSecretStoreClient, windows_core::IUnknown); -impl IFabricSecretStoreClient { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetSecrets( - &self, - secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, - includevalue: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetSecrets)( - windows_core::Interface::as_raw(self), - secretreferences, - includevalue.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetSecrets( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetSecrets)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginSetSecrets( - &self, - secrets: *const super::super::FABRIC_SECRET_LIST, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginSetSecrets)( - windows_core::Interface::as_raw(self), - secrets, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndSetSecrets( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndSetSecrets)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginRemoveSecrets( - &self, - secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRemoveSecrets)( - windows_core::Interface::as_raw(self), - secretreferences, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRemoveSecrets( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndRemoveSecrets)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetSecretVersions( - &self, - secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetSecretVersions)( - windows_core::Interface::as_raw(self), - secretreferences, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetSecretVersions( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetSecretVersions)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricSecretStoreClient {} -unsafe impl Sync for IFabricSecretStoreClient {} -#[repr(C)] -pub struct IFabricSecretStoreClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SECRET_REFERENCE_LIST, - windows::Win32::Foundation::BOOLEAN, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetSecrets: usize, - pub EndGetSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginSetSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SECRET_LIST, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndSetSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRemoveSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SECRET_REFERENCE_LIST, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRemoveSecrets: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetSecretVersions: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SECRET_REFERENCE_LIST, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetSecretVersions: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricSecretsResult, - IFabricSecretsResult_Vtbl, - 0xfe15a879_0dbe_4841_9cc6_6e92077cd669 -); -impl std::ops::Deref for IFabricSecretsResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricSecretsResult, windows_core::IUnknown); -impl IFabricSecretsResult { - pub unsafe fn get_Secrets(&self) -> *mut super::super::FABRIC_SECRET_LIST { - (windows_core::Interface::vtable(self).get_Secrets)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricSecretsResult {} -unsafe impl Sync for IFabricSecretsResult {} -#[repr(C)] -pub struct IFabricSecretsResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Secrets: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_SECRET_LIST, -} -windows_core::imp::define_interface!( - IFabricServiceDescriptionResult, - IFabricServiceDescriptionResult_Vtbl, - 0x86b4f744_38c7_4dab_b6b4_11c23734c269 -); -impl std::ops::Deref for IFabricServiceDescriptionResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceDescriptionResult, windows_core::IUnknown); -impl IFabricServiceDescriptionResult { - pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_SERVICE_DESCRIPTION { - (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricServiceDescriptionResult {} -unsafe impl Sync for IFabricServiceDescriptionResult {} -#[repr(C)] -pub struct IFabricServiceDescriptionResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Description: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_DESCRIPTION, -} -windows_core::imp::define_interface!( - IFabricServiceEndpointsVersion, - IFabricServiceEndpointsVersion_Vtbl, - 0x0a673dc5_2297_4fc5_a38f_482d29144fa5 -); -impl std::ops::Deref for IFabricServiceEndpointsVersion { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceEndpointsVersion, windows_core::IUnknown); -impl IFabricServiceEndpointsVersion { - pub unsafe fn Compare(&self, other: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).Compare)( - windows_core::Interface::as_raw(self), - other.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricServiceEndpointsVersion {} -unsafe impl Sync for IFabricServiceEndpointsVersion {} -#[repr(C)] -pub struct IFabricServiceEndpointsVersion_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub Compare: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i32, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceGroupDescriptionResult, - IFabricServiceGroupDescriptionResult_Vtbl, - 0x3ca814d4_e067_48b7_9bdc_9be33810416d -); -impl std::ops::Deref for IFabricServiceGroupDescriptionResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceGroupDescriptionResult, - windows_core::IUnknown -); -impl IFabricServiceGroupDescriptionResult { - pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_SERVICE_GROUP_DESCRIPTION { - (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricServiceGroupDescriptionResult {} -unsafe impl Sync for IFabricServiceGroupDescriptionResult {} -#[repr(C)] -pub struct IFabricServiceGroupDescriptionResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Description: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, -} -windows_core::imp::define_interface!( - IFabricServiceGroupManagementClient, - IFabricServiceGroupManagementClient_Vtbl, - 0x2061227e_0281_4baf_9b19_b2dfb2e63bbe -); -impl std::ops::Deref for IFabricServiceGroupManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceGroupManagementClient, - windows_core::IUnknown -); -impl IFabricServiceGroupManagementClient { - pub unsafe fn BeginCreateServiceGroup( - &self, - description: *const super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateServiceGroup)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateServiceGroup(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateServiceGroup)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteServiceGroup( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteServiceGroup)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteServiceGroup(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteServiceGroup)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetServiceGroupDescription( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceGroupDescription)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceGroupDescription( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceGroupDescription)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricServiceGroupManagementClient {} -unsafe impl Sync for IFabricServiceGroupManagementClient {} -#[repr(C)] -pub struct IFabricServiceGroupManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginCreateServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeleteServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetServiceGroupDescription: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceGroupDescription: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceGroupManagementClient2, - IFabricServiceGroupManagementClient2_Vtbl, - 0x4f0dc42d_8fec_4ea9_a96b_5be1fa1e1d64 -); -impl std::ops::Deref for IFabricServiceGroupManagementClient2 { - type Target = IFabricServiceGroupManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceGroupManagementClient2, - windows_core::IUnknown, - IFabricServiceGroupManagementClient -); -impl IFabricServiceGroupManagementClient2 { - pub unsafe fn BeginUpdateServiceGroup( - &self, - name: P0, - servicegroupupdatedescription: *const super::super::FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateServiceGroup)( - windows_core::Interface::as_raw(self), - name.param().abi(), - servicegroupupdatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateServiceGroup(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateServiceGroup)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceGroupManagementClient2 {} -unsafe impl Sync for IFabricServiceGroupManagementClient2 {} -#[repr(C)] -pub struct IFabricServiceGroupManagementClient2_Vtbl { - pub base__: IFabricServiceGroupManagementClient_Vtbl, - pub BeginUpdateServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const super::super::FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateServiceGroup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceGroupManagementClient3, - IFabricServiceGroupManagementClient3_Vtbl, - 0xcbee0e12_b5a0_44dc_8c3c_c067958f82f6 -); -impl std::ops::Deref for IFabricServiceGroupManagementClient3 { - type Target = IFabricServiceGroupManagementClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceGroupManagementClient3, - windows_core::IUnknown, - IFabricServiceGroupManagementClient, - IFabricServiceGroupManagementClient2 -); -impl IFabricServiceGroupManagementClient3 { - pub unsafe fn BeginCreateServiceGroupFromTemplate( - &self, - applicationname: P0, - servicename: P1, - servicetypename: P2, - initializationdata: &[u8], - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateServiceGroupFromTemplate)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - servicename.param().abi(), - servicetypename.param().abi(), - initializationdata.len().try_into().unwrap(), - core::mem::transmute(initializationdata.as_ptr()), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateServiceGroupFromTemplate( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateServiceGroupFromTemplate)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceGroupManagementClient3 {} -unsafe impl Sync for IFabricServiceGroupManagementClient3 {} -#[repr(C)] -pub struct IFabricServiceGroupManagementClient3_Vtbl { - pub base__: IFabricServiceGroupManagementClient2_Vtbl, - pub BeginCreateServiceGroupFromTemplate: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *const u8, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndCreateServiceGroupFromTemplate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceGroupManagementClient4, - IFabricServiceGroupManagementClient4_Vtbl, - 0x3c73b32e_9a08_48ca_b3a3_993a2029e37a -); -impl std::ops::Deref for IFabricServiceGroupManagementClient4 { - type Target = IFabricServiceGroupManagementClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceGroupManagementClient4, - windows_core::IUnknown, - IFabricServiceGroupManagementClient, - IFabricServiceGroupManagementClient2, - IFabricServiceGroupManagementClient3 -); -impl IFabricServiceGroupManagementClient4 { - pub unsafe fn BeginCreateServiceGroupFromTemplate2( - &self, - servicegroupfromtemplatedescription : *const super::super:: FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateServiceGroupFromTemplate2)( - windows_core::Interface::as_raw(self), - servicegroupfromtemplatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateServiceGroupFromTemplate2( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateServiceGroupFromTemplate2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceGroupManagementClient4 {} -unsafe impl Sync for IFabricServiceGroupManagementClient4 {} -#[repr(C)] -pub struct IFabricServiceGroupManagementClient4_Vtbl { - pub base__: IFabricServiceGroupManagementClient3_Vtbl, - pub BeginCreateServiceGroupFromTemplate2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndCreateServiceGroupFromTemplate2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceHealthResult, - IFabricServiceHealthResult_Vtbl, - 0x52040bd9_a78e_4308_a30e_7114e3684e76 -); -impl std::ops::Deref for IFabricServiceHealthResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceHealthResult, windows_core::IUnknown); -impl IFabricServiceHealthResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ServiceHealth(&self) -> *mut super::super::FABRIC_SERVICE_HEALTH { - (windows_core::Interface::vtable(self).get_ServiceHealth)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricServiceHealthResult {} -unsafe impl Sync for IFabricServiceHealthResult {} -#[repr(C)] -pub struct IFabricServiceHealthResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ServiceHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_HEALTH, - #[cfg(not(feature = "Win32_Foundation"))] - get_ServiceHealth: usize, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient, - IFabricServiceManagementClient_Vtbl, - 0xf7368189_fd1f_437c_888d_8c89cecc57a0 -); -impl std::ops::Deref for IFabricServiceManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceManagementClient, windows_core::IUnknown); -impl IFabricServiceManagementClient { - pub unsafe fn BeginCreateService( - &self, - description: *const super::super::FABRIC_SERVICE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateService)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateService(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateService)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginCreateServiceFromTemplate( - &self, - applicationname: P0, - servicename: P1, - servicetypename: P2, - initializationdata: &[u8], - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateServiceFromTemplate)( - windows_core::Interface::as_raw(self), - applicationname.param().abi(), - servicename.param().abi(), - servicetypename.param().abi(), - initializationdata.len().try_into().unwrap(), - core::mem::transmute(initializationdata.as_ptr()), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateServiceFromTemplate(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateServiceFromTemplate)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeleteService( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteService)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteService(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteService)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetServiceDescription( - &self, - name: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceDescription)( - windows_core::Interface::as_raw(self), - name.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceDescription( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceDescription)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn RegisterServicePartitionResolutionChangeHandler( - &self, - name: P0, - keytype: super::super::FABRIC_PARTITION_KEY_TYPE, - partitionkey: *const core::ffi::c_void, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).RegisterServicePartitionResolutionChangeHandler)( - windows_core::Interface::as_raw(self), - name.param().abi(), - keytype, - partitionkey, - callback.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UnregisterServicePartitionResolutionChangeHandler( - &self, - callbackhandle: i64, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UnregisterServicePartitionResolutionChangeHandler)( - windows_core::Interface::as_raw(self), - callbackhandle, - ) - .ok() - } - pub unsafe fn BeginResolveServicePartition( - &self, - name: P0, - partitionkeytype: super::super::FABRIC_PARTITION_KEY_TYPE, - partitionkey: *const core::ffi::c_void, - previousresult: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginResolveServicePartition)( - windows_core::Interface::as_raw(self), - name.param().abi(), - partitionkeytype, - partitionkey, - previousresult.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndResolveServicePartition( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndResolveServicePartition)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricServiceManagementClient {} -unsafe impl Sync for IFabricServiceManagementClient {} -#[repr(C)] -pub struct IFabricServiceManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginCreateService: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateService: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginCreateServiceFromTemplate: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - super::super::FABRIC_URI, - windows_core::PCWSTR, - u32, - *const u8, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateServiceFromTemplate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeleteService: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeleteService: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetServiceDescription: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceDescription: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RegisterServicePartitionResolutionChangeHandler: - unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - super::super::FABRIC_PARTITION_KEY_TYPE, - *const core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub UnregisterServicePartitionResolutionChangeHandler: - unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - pub BeginResolveServicePartition: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - super::super::FABRIC_PARTITION_KEY_TYPE, - *const core::ffi::c_void, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndResolveServicePartition: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient2, - IFabricServiceManagementClient2_Vtbl, - 0x9933ed08_5d0c_4aed_bab6_f676bf5be8aa -); -impl std::ops::Deref for IFabricServiceManagementClient2 { - type Target = IFabricServiceManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceManagementClient2, - windows_core::IUnknown, - IFabricServiceManagementClient -); -impl IFabricServiceManagementClient2 { - pub unsafe fn BeginGetServiceManifest( - &self, - applicationtypename: P0, - applicationtypeversion: P1, - servicemanifestname: P2, - timeoutmilliseconds: u32, - callback: P3, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetServiceManifest)( - windows_core::Interface::as_raw(self), - applicationtypename.param().abi(), - applicationtypeversion.param().abi(), - servicemanifestname.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetServiceManifest( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetServiceManifest)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginUpdateService( - &self, - name: P0, - serviceupdatedescription: *const super::super::FABRIC_SERVICE_UPDATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateService)( - windows_core::Interface::as_raw(self), - name.param().abi(), - serviceupdatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateService(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateService)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceManagementClient2 {} -unsafe impl Sync for IFabricServiceManagementClient2 {} -#[repr(C)] -pub struct IFabricServiceManagementClient2_Vtbl { - pub base__: IFabricServiceManagementClient_Vtbl, - pub BeginGetServiceManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - windows_core::PCWSTR, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetServiceManifest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUpdateService: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const super::super::FABRIC_SERVICE_UPDATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateService: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient3, - IFabricServiceManagementClient3_Vtbl, - 0x98ec1156_c249_4f66_8d7c_9a5fa88e8e6d -); -impl std::ops::Deref for IFabricServiceManagementClient3 { - type Target = IFabricServiceManagementClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceManagementClient3, - windows_core::IUnknown, - IFabricServiceManagementClient, - IFabricServiceManagementClient2 -); -impl IFabricServiceManagementClient3 { - pub unsafe fn BeginRemoveReplica( - &self, - description: *const super::super::FABRIC_REMOVE_REPLICA_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRemoveReplica)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRemoveReplica(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRemoveReplica)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRestartReplica( - &self, - description: *const super::super::FABRIC_RESTART_REPLICA_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestartReplica)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestartReplica(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRestartReplica)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceManagementClient3 {} -unsafe impl Sync for IFabricServiceManagementClient3 {} -#[repr(C)] -pub struct IFabricServiceManagementClient3_Vtbl { - pub base__: IFabricServiceManagementClient2_Vtbl, - pub BeginRemoveReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REMOVE_REPLICA_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRemoveReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRestartReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_RESTART_REPLICA_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestartReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient4, - IFabricServiceManagementClient4_Vtbl, - 0x8180db27_7d0b_43b0_82e0_4a8e022fc238 -); -impl std::ops::Deref for IFabricServiceManagementClient4 { - type Target = IFabricServiceManagementClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceManagementClient4, - windows_core::IUnknown, - IFabricServiceManagementClient, - IFabricServiceManagementClient2, - IFabricServiceManagementClient3 -); -impl IFabricServiceManagementClient4 { - pub unsafe fn BeginRegisterServiceNotificationFilter( - &self, - description: *const super::super::FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRegisterServiceNotificationFilter)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRegisterServiceNotificationFilter( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndRegisterServiceNotificationFilter)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginUnregisterServiceNotificationFilter( - &self, - filterid: i64, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUnregisterServiceNotificationFilter)( - windows_core::Interface::as_raw(self), - filterid, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUnregisterServiceNotificationFilter( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUnregisterServiceNotificationFilter)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceManagementClient4 {} -unsafe impl Sync for IFabricServiceManagementClient4 {} -#[repr(C)] -pub struct IFabricServiceManagementClient4_Vtbl { - pub base__: IFabricServiceManagementClient3_Vtbl, - pub BeginRegisterServiceNotificationFilter: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndRegisterServiceNotificationFilter: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) - -> windows_core::HRESULT, - pub BeginUnregisterServiceNotificationFilter: - unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUnregisterServiceNotificationFilter: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient5, - IFabricServiceManagementClient5_Vtbl, - 0xf9a70679_8ca3_4e27_9411_483e0c89b1fa -); -impl std::ops::Deref for IFabricServiceManagementClient5 { - type Target = IFabricServiceManagementClient4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceManagementClient5, - windows_core::IUnknown, - IFabricServiceManagementClient, - IFabricServiceManagementClient2, - IFabricServiceManagementClient3, - IFabricServiceManagementClient4 -); -impl IFabricServiceManagementClient5 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginDeleteService2( - &self, - deletedescription: *const super::super::FABRIC_DELETE_SERVICE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeleteService2)( - windows_core::Interface::as_raw(self), - deletedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeleteService2(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeleteService2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceManagementClient5 {} -unsafe impl Sync for IFabricServiceManagementClient5 {} -#[repr(C)] -pub struct IFabricServiceManagementClient5_Vtbl { - pub base__: IFabricServiceManagementClient4_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginDeleteService2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_DELETE_SERVICE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginDeleteService2: usize, - pub EndDeleteService2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceManagementClient6, - IFabricServiceManagementClient6_Vtbl, - 0x23e4ee1b_049a_48f5_8dd7_b601eace47de -); -impl std::ops::Deref for IFabricServiceManagementClient6 { - type Target = IFabricServiceManagementClient5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceManagementClient6, - windows_core::IUnknown, - IFabricServiceManagementClient, - IFabricServiceManagementClient2, - IFabricServiceManagementClient3, - IFabricServiceManagementClient4, - IFabricServiceManagementClient5 -); -impl IFabricServiceManagementClient6 { - pub unsafe fn BeginCreateServiceFromTemplate2( - &self, - servicefromtemplatedescription : *const super::super:: FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCreateServiceFromTemplate2)( - windows_core::Interface::as_raw(self), - servicefromtemplatedescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCreateServiceFromTemplate2(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCreateServiceFromTemplate2)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceManagementClient6 {} -unsafe impl Sync for IFabricServiceManagementClient6 {} -#[repr(C)] -pub struct IFabricServiceManagementClient6_Vtbl { - pub base__: IFabricServiceManagementClient5_Vtbl, - pub BeginCreateServiceFromTemplate2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCreateServiceFromTemplate2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceNotification, - IFabricServiceNotification_Vtbl, - 0x8222c825_08ad_4639_afce_a8988cbd6db3 -); -impl std::ops::Deref for IFabricServiceNotification { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceNotification, windows_core::IUnknown); -impl IFabricServiceNotification { - pub unsafe fn get_Notification(&self) -> *mut super::super::FABRIC_SERVICE_NOTIFICATION { - (windows_core::Interface::vtable(self).get_Notification)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetVersion)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricServiceNotification {} -unsafe impl Sync for IFabricServiceNotification {} -#[repr(C)] -pub struct IFabricServiceNotification_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Notification: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SERVICE_NOTIFICATION, - pub GetVersion: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceNotificationEventHandler, - IFabricServiceNotificationEventHandler_Vtbl, - 0xa04b7e9a_daab_45d4_8da3_95ef3ab5dbac -); -impl std::ops::Deref for IFabricServiceNotificationEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServiceNotificationEventHandler, - windows_core::IUnknown -); -impl IFabricServiceNotificationEventHandler { - pub unsafe fn OnNotification( - &self, - __midl__ifabricservicenotificationeventhandler0000: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnNotification)( - windows_core::Interface::as_raw(self), - __midl__ifabricservicenotificationeventhandler0000 - .param() - .abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricServiceNotificationEventHandler {} -unsafe impl Sync for IFabricServiceNotificationEventHandler {} -#[repr(C)] -pub struct IFabricServiceNotificationEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnNotification: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServicePartitionResolutionChangeHandler, - IFabricServicePartitionResolutionChangeHandler_Vtbl, - 0xf495715d_8e03_4232_b8d6_1227b39984fc -); -impl std::ops::Deref for IFabricServicePartitionResolutionChangeHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricServicePartitionResolutionChangeHandler, - windows_core::IUnknown -); -impl IFabricServicePartitionResolutionChangeHandler { - pub unsafe fn OnChange( - &self, - source: P0, - handlerid: i64, - partition: P1, - error: windows_core::HRESULT, - ) where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnChange)( - windows_core::Interface::as_raw(self), - source.param().abi(), - handlerid, - partition.param().abi(), - error, - ) - } -} -unsafe impl Send for IFabricServicePartitionResolutionChangeHandler {} -unsafe impl Sync for IFabricServicePartitionResolutionChangeHandler {} -#[repr(C)] -pub struct IFabricServicePartitionResolutionChangeHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnChange: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - windows_core::HRESULT, - ), -} -windows_core::imp::define_interface!( - IFabricStartNodeResult, - IFabricStartNodeResult_Vtbl, - 0x7e9f51a5_88ac_49b8_958d_329e3334802e -); -impl std::ops::Deref for IFabricStartNodeResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStartNodeResult, windows_core::IUnknown); -impl IFabricStartNodeResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricStartNodeResult {} -unsafe impl Sync for IFabricStartNodeResult {} -#[repr(C)] -pub struct IFabricStartNodeResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, -} -windows_core::imp::define_interface!( - IFabricStopNodeResult, - IFabricStopNodeResult_Vtbl, - 0x711d60a6_9623_476c_970c_83059a0b4d55 -); -impl std::ops::Deref for IFabricStopNodeResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStopNodeResult, windows_core::IUnknown); -impl IFabricStopNodeResult { - pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricStopNodeResult {} -unsafe impl Sync for IFabricStopNodeResult {} -#[repr(C)] -pub struct IFabricStopNodeResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, -} -windows_core::imp::define_interface!( - IFabricTestCommandStatusResult, - IFabricTestCommandStatusResult_Vtbl, - 0x87798f5c_e600_493a_a926_16b6807378e6 -); -impl std::ops::Deref for IFabricTestCommandStatusResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTestCommandStatusResult, windows_core::IUnknown); -impl IFabricTestCommandStatusResult { - pub unsafe fn get_Result(&self) -> *mut super::super::TEST_COMMAND_QUERY_RESULT_LIST { - (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTestCommandStatusResult {} -unsafe impl Sync for IFabricTestCommandStatusResult {} -#[repr(C)] -pub struct IFabricTestCommandStatusResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Result: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::TEST_COMMAND_QUERY_RESULT_LIST, -} -windows_core::imp::define_interface!( - IFabricTestManagementClient, - IFabricTestManagementClient_Vtbl, - 0x0df0f63a_4da0_44fe_81e8_f80cd28e9b28 -); -impl std::ops::Deref for IFabricTestManagementClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTestManagementClient, windows_core::IUnknown); -impl IFabricTestManagementClient { - pub unsafe fn BeginStartPartitionDataLoss( - &self, - invokedatalossdescription : *const super::super:: FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartPartitionDataLoss)( - windows_core::Interface::as_raw(self), - invokedatalossdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartPartitionDataLoss(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartPartitionDataLoss)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetPartitionDataLossProgress( - &self, - operationid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionDataLossProgress)( - windows_core::Interface::as_raw(self), - core::mem::transmute(operationid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionDataLossProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionDataLossProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginStartPartitionQuorumLoss( - &self, - invokequorumlossdescription : *const super::super:: FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartPartitionQuorumLoss)( - windows_core::Interface::as_raw(self), - invokequorumlossdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartPartitionQuorumLoss(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartPartitionQuorumLoss)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetPartitionQuorumLossProgress( - &self, - operationid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionQuorumLossProgress)( - windows_core::Interface::as_raw(self), - core::mem::transmute(operationid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionQuorumLossProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionQuorumLossProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginStartPartitionRestart( - &self, - restartpartitiondescription : *const super::super:: FABRIC_START_PARTITION_RESTART_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartPartitionRestart)( - windows_core::Interface::as_raw(self), - restartpartitiondescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartPartitionRestart(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartPartitionRestart)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetPartitionRestartProgress( - &self, - operationid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetPartitionRestartProgress)( - windows_core::Interface::as_raw(self), - core::mem::transmute(operationid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetPartitionRestartProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetPartitionRestartProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetTestCommandStatusList( - &self, - operationid: *const super::super::FABRIC_TEST_COMMAND_LIST_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetTestCommandStatusList)( - windows_core::Interface::as_raw(self), - operationid, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetTestCommandStatusList( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetTestCommandStatusList)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginCancelTestCommand( - &self, - invokedatalossdescription: *const super::super::FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCancelTestCommand)( - windows_core::Interface::as_raw(self), - invokedatalossdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCancelTestCommand(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndCancelTestCommand)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricTestManagementClient {} -unsafe impl Sync for IFabricTestManagementClient {} -#[repr(C)] -pub struct IFabricTestManagementClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginStartPartitionDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartPartitionDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPartitionDataLossProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPartitionDataLossProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStartPartitionQuorumLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartPartitionQuorumLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPartitionQuorumLossProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndGetPartitionQuorumLossProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStartPartitionRestart: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_PARTITION_RESTART_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartPartitionRestart: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetPartitionRestartProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetPartitionRestartProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetTestCommandStatusList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_TEST_COMMAND_LIST_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetTestCommandStatusList: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginCancelTestCommand: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginCancelTestCommand: usize, - pub EndCancelTestCommand: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTestManagementClient2, - IFabricTestManagementClient2_Vtbl, - 0x1222b1ff_ae51_43b3_bbdf_439e7f61ca1a -); -impl std::ops::Deref for IFabricTestManagementClient2 { - type Target = IFabricTestManagementClient; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricTestManagementClient2, - windows_core::IUnknown, - IFabricTestManagementClient -); -impl IFabricTestManagementClient2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginStartChaos( - &self, - restartpartitiondescription: *const super::super::FABRIC_START_CHAOS_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartChaos)( - windows_core::Interface::as_raw(self), - restartpartitiondescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartChaos(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartChaos)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginStopChaos( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStopChaos)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStopChaos(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStopChaos)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetChaosReport( - &self, - getchaosreportdescription: *const super::super::FABRIC_GET_CHAOS_REPORT_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetChaosReport)( - windows_core::Interface::as_raw(self), - getchaosreportdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetChaosReport( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetChaosReport)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricTestManagementClient2 {} -unsafe impl Sync for IFabricTestManagementClient2 {} -#[repr(C)] -pub struct IFabricTestManagementClient2_Vtbl { - pub base__: IFabricTestManagementClient_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginStartChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_START_CHAOS_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginStartChaos: usize, - pub EndStartChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginStopChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStopChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetChaosReport: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_GET_CHAOS_REPORT_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetChaosReport: usize, - pub EndGetChaosReport: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTestManagementClient3, - IFabricTestManagementClient3_Vtbl, - 0xa4b94afd_0cb5_4010_8995_e58e9b6ca373 -); -impl std::ops::Deref for IFabricTestManagementClient3 { - type Target = IFabricTestManagementClient2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricTestManagementClient3, - windows_core::IUnknown, - IFabricTestManagementClient, - IFabricTestManagementClient2 -); -impl IFabricTestManagementClient3 { - pub unsafe fn BeginStartNodeTransition( - &self, - description: *const super::super::FABRIC_NODE_TRANSITION_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginStartNodeTransition)( - windows_core::Interface::as_raw(self), - description, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndStartNodeTransition(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndStartNodeTransition)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginGetNodeTransitionProgress( - &self, - operationid: windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNodeTransitionProgress)( - windows_core::Interface::as_raw(self), - core::mem::transmute(operationid), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNodeTransitionProgress( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNodeTransitionProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricTestManagementClient3 {} -unsafe impl Sync for IFabricTestManagementClient3 {} -#[repr(C)] -pub struct IFabricTestManagementClient3_Vtbl { - pub base__: IFabricTestManagementClient2_Vtbl, - pub BeginStartNodeTransition: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_NODE_TRANSITION_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndStartNodeTransition: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetNodeTransitionProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::GUID, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNodeTransitionProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTestManagementClient4, - IFabricTestManagementClient4_Vtbl, - 0xb96aa7d4_acc0_4814_89dc_561b0cbb6028 -); -impl std::ops::Deref for IFabricTestManagementClient4 { - type Target = IFabricTestManagementClient3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricTestManagementClient4, - windows_core::IUnknown, - IFabricTestManagementClient, - IFabricTestManagementClient2, - IFabricTestManagementClient3 -); -impl IFabricTestManagementClient4 { - pub unsafe fn BeginGetChaos( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetChaos)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetChaos( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetChaos)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginGetChaosSchedule( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetChaosSchedule)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetChaosSchedule( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetChaosSchedule)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginSetChaosSchedule( - &self, - setchaosscheduledescription: *const super::super::FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginSetChaosSchedule)( - windows_core::Interface::as_raw(self), - setchaosscheduledescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndSetChaosSchedule(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndSetChaosSchedule)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginGetChaosEvents( - &self, - chaoseventsdescription: *const super::super::FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetChaosEvents)( - windows_core::Interface::as_raw(self), - chaoseventsdescription, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetChaosEvents( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetChaosEvents)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricTestManagementClient4 {} -unsafe impl Sync for IFabricTestManagementClient4 {} -#[repr(C)] -pub struct IFabricTestManagementClient4_Vtbl { - pub base__: IFabricTestManagementClient3_Vtbl, - pub BeginGetChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetChaos: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginGetChaosSchedule: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetChaosSchedule: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginSetChaosSchedule: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginSetChaosSchedule: usize, - pub EndSetChaosSchedule: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub BeginGetChaosEvents: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginGetChaosEvents: usize, - pub EndGetChaosEvents: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricUpgradeOrchestrationServiceStateResult, - IFabricUpgradeOrchestrationServiceStateResult_Vtbl, - 0x413968aa_2eb7_4023_b9dc_0f2160b76a6d -); -impl std::ops::Deref for IFabricUpgradeOrchestrationServiceStateResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricUpgradeOrchestrationServiceStateResult, - windows_core::IUnknown -); -impl IFabricUpgradeOrchestrationServiceStateResult { - pub unsafe fn get_State( - &self, - ) -> *mut super::super::FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - (windows_core::Interface::vtable(self).get_State)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricUpgradeOrchestrationServiceStateResult {} -unsafe impl Sync for IFabricUpgradeOrchestrationServiceStateResult {} -#[repr(C)] -pub struct IFabricUpgradeOrchestrationServiceStateResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_State: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE, -} -windows_core::imp::define_interface!( - IFabricUpgradeProgressResult, - IFabricUpgradeProgressResult_Vtbl, - 0x2adb07db_f7db_4621_9afc_daabe1e53bf8 -); -impl std::ops::Deref for IFabricUpgradeProgressResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricUpgradeProgressResult, windows_core::IUnknown); -impl IFabricUpgradeProgressResult { - pub unsafe fn get_TargetCodeVersion(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_TargetCodeVersion)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_TargetConfigVersion(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_TargetConfigVersion)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_UpgradeState(&self) -> super::super::FABRIC_UPGRADE_STATE { - (windows_core::Interface::vtable(self).get_UpgradeState)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn GetUpgradeDomains( - &self, - itemcount: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetUpgradeDomains)( - windows_core::Interface::as_raw(self), - itemcount, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetChangedUpgradeDomains( - &self, - previousprogress: P0, - itemcount: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetChangedUpgradeDomains)( - windows_core::Interface::as_raw(self), - previousprogress.param().abi(), - itemcount, - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricUpgradeProgressResult {} -unsafe impl Sync for IFabricUpgradeProgressResult {} -#[repr(C)] -pub struct IFabricUpgradeProgressResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_TargetCodeVersion: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_TargetConfigVersion: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_UpgradeState: - unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_UPGRADE_STATE, - pub GetUpgradeDomains: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, - ) -> windows_core::HRESULT, - pub GetChangedUpgradeDomains: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricUpgradeProgressResult2, - IFabricUpgradeProgressResult2_Vtbl, - 0x9cc0aaf3_0f6c_40a3_85ac_38338dd36d75 -); -impl std::ops::Deref for IFabricUpgradeProgressResult2 { - type Target = IFabricUpgradeProgressResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricUpgradeProgressResult2, - windows_core::IUnknown, - IFabricUpgradeProgressResult -); -impl IFabricUpgradeProgressResult2 { - pub unsafe fn get_RollingUpgradeMode(&self) -> super::super::FABRIC_ROLLING_UPGRADE_MODE { - (windows_core::Interface::vtable(self).get_RollingUpgradeMode)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_NextUpgradeDomain(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_NextUpgradeDomain)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricUpgradeProgressResult2 {} -unsafe impl Sync for IFabricUpgradeProgressResult2 {} -#[repr(C)] -pub struct IFabricUpgradeProgressResult2_Vtbl { - pub base__: IFabricUpgradeProgressResult_Vtbl, - pub get_RollingUpgradeMode: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> super::super::FABRIC_ROLLING_UPGRADE_MODE, - pub get_NextUpgradeDomain: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, -} -windows_core::imp::define_interface!( - IFabricUpgradeProgressResult3, - IFabricUpgradeProgressResult3_Vtbl, - 0xdc3346ef_d2ef_40c1_807b_1ca8d2388b47 -); -impl std::ops::Deref for IFabricUpgradeProgressResult3 { - type Target = IFabricUpgradeProgressResult2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricUpgradeProgressResult3, - windows_core::IUnknown, - IFabricUpgradeProgressResult, - IFabricUpgradeProgressResult2 -); -impl IFabricUpgradeProgressResult3 { - pub unsafe fn get_UpgradeProgress(&self) -> *mut super::super::FABRIC_UPGRADE_PROGRESS { - (windows_core::Interface::vtable(self).get_UpgradeProgress)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricUpgradeProgressResult3 {} -unsafe impl Sync for IFabricUpgradeProgressResult3 {} -#[repr(C)] -pub struct IFabricUpgradeProgressResult3_Vtbl { - pub base__: IFabricUpgradeProgressResult2_Vtbl, - pub get_UpgradeProgress: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_UPGRADE_PROGRESS, -} -pub const FabricClient: windows_core::GUID = - windows_core::GUID::from_u128(0x75f087fa_37f1_4984_b513_724da5b02197); -#[cfg(feature = "implement")] -core::include!("impl.rs"); diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/mod.rs b/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/mod.rs deleted file mode 100644 index d200608f..00000000 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/mod.rs +++ /dev/null @@ -1,6150 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -#[inline] -pub unsafe fn FabricBeginCreateRuntime( - riid: *const windows_core::GUID, - exithandler: P0, - timeoutmilliseconds: u32, - callback: P1, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricBeginCreateRuntime( - riid: *const windows_core::GUID, - exithandler: *mut core::ffi::c_void, - timeoutmilliseconds: u32, - callback: *mut core::ffi::c_void, - context: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricBeginCreateRuntime( - riid, - exithandler.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn FabricBeginGetActivationContext( - riid: *const windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, -) -> windows_core::Result -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricBeginGetActivationContext( - riid: *const windows_core::GUID, - timeoutmilliseconds: u32, - callback: *mut core::ffi::c_void, - context: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricBeginGetActivationContext( - riid, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn FabricBeginGetCodePackageActivator( - riid: *const windows_core::GUID, - timeoutmilliseconds: u32, - callback: P0, -) -> windows_core::Result -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricBeginGetCodePackageActivator( - riid: *const windows_core::GUID, - timeoutmilliseconds: u32, - callback: *mut core::ffi::c_void, - context: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricBeginGetCodePackageActivator( - riid, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn FabricBeginGetNodeContext( - timeoutmilliseconds: u32, - callback: P0, -) -> windows_core::Result -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricBeginGetNodeContext( - timeoutmilliseconds: u32, - callback: *mut core::ffi::c_void, - context: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricBeginGetNodeContext(timeoutmilliseconds, callback.param().abi(), &mut result__) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn FabricCreateKeyValueStoreReplica( - riid: *const windows_core::GUID, - storename: P0, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: P1, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateKeyValueStoreReplica( - riid: *const windows_core::GUID, - storename: windows_core::PCWSTR, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: *mut core::ffi::c_void, - keyvaluestore: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateKeyValueStoreReplica( - riid, - storename.param().abi(), - core::mem::transmute(partitionid), - replicaid, - replicatorsettings, - localstorekind, - localstoresettings, - storeeventhandler.param().abi(), - &mut result__, - ) - .map(|| result__) -} -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn FabricCreateKeyValueStoreReplica2( - riid: *const windows_core::GUID, - storename: P0, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: P1, - secondaryeventhandler: P2, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateKeyValueStoreReplica2( - riid: *const windows_core::GUID, - storename: windows_core::PCWSTR, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: *mut core::ffi::c_void, - secondaryeventhandler: *mut core::ffi::c_void, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, - keyvaluestore: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateKeyValueStoreReplica2( - riid, - storename.param().abi(), - core::mem::transmute(partitionid), - replicaid, - replicatorsettings, - localstorekind, - localstoresettings, - storeeventhandler.param().abi(), - secondaryeventhandler.param().abi(), - notificationmode, - &mut result__, - ) - .map(|| result__) -} -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn FabricCreateKeyValueStoreReplica3( - riid: *const windows_core::GUID, - storename: P0, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: P1, - secondaryeventhandler: P2, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateKeyValueStoreReplica3( - riid: *const windows_core::GUID, - storename: windows_core::PCWSTR, - partitionid: windows_core::GUID, - replicaid: i64, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: *mut core::ffi::c_void, - secondaryeventhandler: *mut core::ffi::c_void, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, - keyvaluestore: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateKeyValueStoreReplica3( - riid, - storename.param().abi(), - core::mem::transmute(partitionid), - replicaid, - replicatorsettings, - localstorekind, - localstoresettings, - storeeventhandler.param().abi(), - secondaryeventhandler.param().abi(), - notificationmode, - &mut result__, - ) - .map(|| result__) -} -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn FabricCreateKeyValueStoreReplica4( - riid: *const windows_core::GUID, - storename: P0, - partitionid: windows_core::GUID, - replicaid: i64, - servicename: P1, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: P2, - secondaryeventhandler: P3, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateKeyValueStoreReplica4( - riid: *const windows_core::GUID, - storename: windows_core::PCWSTR, - partitionid: windows_core::GUID, - replicaid: i64, - servicename: super::super::FABRIC_URI, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: *mut core::ffi::c_void, - secondaryeventhandler: *mut core::ffi::c_void, - notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, - keyvaluestore: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateKeyValueStoreReplica4( - riid, - storename.param().abi(), - core::mem::transmute(partitionid), - replicaid, - servicename.param().abi(), - replicatorsettings, - localstorekind, - localstoresettings, - storeeventhandler.param().abi(), - secondaryeventhandler.param().abi(), - notificationmode, - &mut result__, - ) - .map(|| result__) -} -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn FabricCreateKeyValueStoreReplica5( - riid: *const windows_core::GUID, - storename: P0, - partitionid: windows_core::GUID, - replicaid: i64, - servicename: P1, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - kvssettings: *const super::super::FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: P2, - secondaryeventhandler: P3, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateKeyValueStoreReplica5( - riid: *const windows_core::GUID, - storename: windows_core::PCWSTR, - partitionid: windows_core::GUID, - replicaid: i64, - servicename: super::super::FABRIC_URI, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - kvssettings: *const super::super::FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS, - localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, - localstoresettings: *const core::ffi::c_void, - storeeventhandler: *mut core::ffi::c_void, - secondaryeventhandler: *mut core::ffi::c_void, - keyvaluestore: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateKeyValueStoreReplica5( - riid, - storename.param().abi(), - core::mem::transmute(partitionid), - replicaid, - servicename.param().abi(), - replicatorsettings, - kvssettings, - localstorekind, - localstoresettings, - storeeventhandler.param().abi(), - secondaryeventhandler.param().abi(), - &mut result__, - ) - .map(|| result__) -} -#[inline] -pub unsafe fn FabricCreateRuntime( - riid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricCreateRuntime( - riid: *const windows_core::GUID, - fabricruntime: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricCreateRuntime(riid, &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricEndCreateRuntime( - context: P0, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricEndCreateRuntime( - context: *mut core::ffi::c_void, - fabricruntime: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricEndCreateRuntime(context.param().abi(), &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricEndGetActivationContext( - context: P0, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricEndGetActivationContext( - context: *mut core::ffi::c_void, - activationcontext: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricEndGetActivationContext(context.param().abi(), &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricEndGetCodePackageActivator( - context: P0, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricEndGetCodePackageActivator( - context: *mut core::ffi::c_void, - activator: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricEndGetCodePackageActivator(context.param().abi(), &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricEndGetNodeContext( - context: P0, -) -> windows_core::Result<*mut core::ffi::c_void> -where - P0: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricEndGetNodeContext( - context: *mut core::ffi::c_void, - nodecontext: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricEndGetNodeContext(context.param().abi(), &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricGetActivationContext( - riid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricGetActivationContext( - riid: *const windows_core::GUID, - activationcontext: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricGetActivationContext(riid, &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricGetCodePackageActivator( - riid: *const windows_core::GUID, -) -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricGetCodePackageActivator( - riid: *const windows_core::GUID, - activator: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricGetCodePackageActivator(riid, &mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricGetNodeContext() -> windows_core::Result<*mut core::ffi::c_void> { - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricGetNodeContext( - nodecontext: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricGetNodeContext(&mut result__).map(|| result__) -} -#[inline] -pub unsafe fn FabricLoadEseLocalStoreSettings( - codepackageactivationcontext: P0, - configurationpackagename: P1, - sectionname: P2, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricLoadEseLocalStoreSettings( - codepackageactivationcontext: *mut core::ffi::c_void, - configurationpackagename: windows_core::PCWSTR, - sectionname: windows_core::PCWSTR, - settings: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricLoadEseLocalStoreSettings( - codepackageactivationcontext.param().abi(), - configurationpackagename.param().abi(), - sectionname.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn FabricLoadReplicatorSettings( - codepackageactivationcontext: P0, - configurationpackagename: P1, - sectionname: P2, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricLoadReplicatorSettings( - codepackageactivationcontext: *mut core::ffi::c_void, - configurationpackagename: windows_core::PCWSTR, - sectionname: windows_core::PCWSTR, - replicatorsettings: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricLoadReplicatorSettings( - codepackageactivationcontext.param().abi(), - configurationpackagename.param().abi(), - sectionname.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn FabricLoadSecurityCredentials( - codepackageactivationcontext: P0, - configurationpackagename: P1, - sectionname: P2, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricRuntime")] - extern "system" { - pub fn FabricLoadSecurityCredentials( - codepackageactivationcontext: *mut core::ffi::c_void, - configurationpackagename: windows_core::PCWSTR, - sectionname: windows_core::PCWSTR, - securitycredentials: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - FabricLoadSecurityCredentials( - codepackageactivationcontext.param().abi(), - configurationpackagename.param().abi(), - sectionname.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -windows_core::imp::define_interface!( - IFabricAtomicGroupStateProvider, - IFabricAtomicGroupStateProvider_Vtbl, - 0x2b670953_6148_4f7d_a920_b390de43d913 -); -impl std::ops::Deref for IFabricAtomicGroupStateProvider { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricAtomicGroupStateProvider, windows_core::IUnknown); -impl IFabricAtomicGroupStateProvider { - pub unsafe fn BeginAtomicGroupCommit( - &self, - atomicgroupid: i64, - commitsequencenumber: i64, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginAtomicGroupCommit)( - windows_core::Interface::as_raw(self), - atomicgroupid, - commitsequencenumber, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndAtomicGroupCommit(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndAtomicGroupCommit)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginAtomicGroupRollback( - &self, - atomicgroupid: i64, - rollbackequencenumber: i64, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginAtomicGroupRollback)( - windows_core::Interface::as_raw(self), - atomicgroupid, - rollbackequencenumber, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndAtomicGroupRollback(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndAtomicGroupRollback)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUndoProgress( - &self, - fromcommitsequencenumber: i64, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUndoProgress)( - windows_core::Interface::as_raw(self), - fromcommitsequencenumber, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUndoProgress(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUndoProgress)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricAtomicGroupStateProvider {} -unsafe impl Sync for IFabricAtomicGroupStateProvider {} -#[repr(C)] -pub struct IFabricAtomicGroupStateProvider_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginAtomicGroupCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - i64, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndAtomicGroupCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginAtomicGroupRollback: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - i64, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndAtomicGroupRollback: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUndoProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUndoProgress: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricAtomicGroupStateReplicator, - IFabricAtomicGroupStateReplicator_Vtbl, - 0x80d2155c_4fc2_4fde_9696_c2f39b471c3d -); -impl std::ops::Deref for IFabricAtomicGroupStateReplicator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricAtomicGroupStateReplicator, windows_core::IUnknown); -impl IFabricAtomicGroupStateReplicator { - pub unsafe fn CreateAtomicGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateAtomicGroup)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginReplicateAtomicGroupOperation( - &self, - atomicgroupid: i64, - operationdata: P0, - callback: P1, - operationsequencenumber: *mut i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupOperation)( - windows_core::Interface::as_raw(self), - atomicgroupid, - operationdata.param().abi(), - callback.param().abi(), - operationsequencenumber, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndReplicateAtomicGroupOperation( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndReplicateAtomicGroupOperation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginReplicateAtomicGroupCommit( - &self, - atomicgroupid: i64, - callback: P0, - commitsequencenumber: *mut i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupCommit)( - windows_core::Interface::as_raw(self), - atomicgroupid, - callback.param().abi(), - commitsequencenumber, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndReplicateAtomicGroupCommit(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndReplicateAtomicGroupCommit)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginReplicateAtomicGroupRollback( - &self, - atomicgroupid: i64, - callback: P0, - rollbacksequencenumber: *mut i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupRollback)( - windows_core::Interface::as_raw(self), - atomicgroupid, - callback.param().abi(), - rollbacksequencenumber, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndReplicateAtomicGroupRollback( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndReplicateAtomicGroupRollback)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricAtomicGroupStateReplicator {} -unsafe impl Sync for IFabricAtomicGroupStateReplicator {} -#[repr(C)] -pub struct IFabricAtomicGroupStateReplicator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub CreateAtomicGroup: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub BeginReplicateAtomicGroupOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndReplicateAtomicGroupOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub BeginReplicateAtomicGroupCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - *mut i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndReplicateAtomicGroupCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub BeginReplicateAtomicGroupRollback: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - *mut i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndReplicateAtomicGroupRollback: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricCodePackage, - IFabricCodePackage_Vtbl, - 0x20792b45_4d13_41a4_af13_346e529f00c5 -); -impl std::ops::Deref for IFabricCodePackage { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricCodePackage, windows_core::IUnknown); -impl IFabricCodePackage { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_CODE_PACKAGE_DESCRIPTION { - (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricCodePackage {} -unsafe impl Sync for IFabricCodePackage {} -#[repr(C)] -pub struct IFabricCodePackage_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Description: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_CODE_PACKAGE_DESCRIPTION, - #[cfg(not(feature = "Win32_Foundation"))] - get_Description: usize, - pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, -} -windows_core::imp::define_interface!( - IFabricCodePackage2, - IFabricCodePackage2_Vtbl, - 0xcdf0a4e6_ad80_4cd6_b67e_e4c002428600 -); -impl std::ops::Deref for IFabricCodePackage2 { - type Target = IFabricCodePackage; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackage2, - windows_core::IUnknown, - IFabricCodePackage -); -impl IFabricCodePackage2 { - pub unsafe fn get_SetupEntryPointRunAsPolicy( - &self, - ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION { - (windows_core::Interface::vtable(self).get_SetupEntryPointRunAsPolicy)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_EntryPointRunAsPolicy( - &self, - ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION { - (windows_core::Interface::vtable(self).get_EntryPointRunAsPolicy)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricCodePackage2 {} -unsafe impl Sync for IFabricCodePackage2 {} -#[repr(C)] -pub struct IFabricCodePackage2_Vtbl { - pub base__: IFabricCodePackage_Vtbl, - pub get_SetupEntryPointRunAsPolicy: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION, - pub get_EntryPointRunAsPolicy: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext, - IFabricCodePackageActivationContext_Vtbl, - 0x68a971e2_f15f_4d95_a79c_8a257909659e -); -impl std::ops::Deref for IFabricCodePackageActivationContext { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext, - windows_core::IUnknown -); -impl IFabricCodePackageActivationContext { - pub unsafe fn get_ContextId(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_ContextId)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn get_CodePackageName(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_CodePackageName)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_CodePackageVersion(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_CodePackageVersion)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_WorkDirectory(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_WorkDirectory)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_LogDirectory(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_LogDirectory)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_TempDirectory(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_TempDirectory)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_ServiceTypes( - &self, - ) -> *mut super::super::FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - (windows_core::Interface::vtable(self).get_ServiceTypes)(windows_core::Interface::as_raw( - self, - )) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ServiceGroupTypes( - &self, - ) -> *mut super::super::FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - (windows_core::Interface::vtable(self).get_ServiceGroupTypes)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_ApplicationPrincipals( - &self, - ) -> *mut super::super::FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - (windows_core::Interface::vtable(self).get_ApplicationPrincipals)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_ServiceEndpointResources( - &self, - ) -> *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - (windows_core::Interface::vtable(self).get_ServiceEndpointResources)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn GetServiceEndpointResource( - &self, - serviceendpointresourcename: P0, - ) -> windows_core::Result<*mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION> - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetServiceEndpointResource)( - windows_core::Interface::as_raw(self), - serviceendpointresourcename.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetCodePackageNames( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCodePackageNames)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetConfigurationPackageNames( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetConfigurationPackageNames)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetDataPackageNames( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetDataPackageNames)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetCodePackage( - &self, - codepackagename: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCodePackage)( - windows_core::Interface::as_raw(self), - codepackagename.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetConfigurationPackage( - &self, - configpackagename: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetConfigurationPackage)( - windows_core::Interface::as_raw(self), - configpackagename.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetDataPackage( - &self, - datapackagename: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetDataPackage)( - windows_core::Interface::as_raw(self), - datapackagename.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn RegisterCodePackageChangeHandler( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).RegisterCodePackageChangeHandler)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UnregisterCodePackageChangeHandler( - &self, - callbackhandle: i64, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UnregisterCodePackageChangeHandler)( - windows_core::Interface::as_raw(self), - callbackhandle, - ) - .ok() - } - pub unsafe fn RegisterConfigurationPackageChangeHandler( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).RegisterConfigurationPackageChangeHandler)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UnregisterConfigurationPackageChangeHandler( - &self, - callbackhandle: i64, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UnregisterConfigurationPackageChangeHandler)( - windows_core::Interface::as_raw(self), - callbackhandle, - ) - .ok() - } - pub unsafe fn RegisterDataPackageChangeHandler( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).RegisterDataPackageChangeHandler)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UnregisterDataPackageChangeHandler( - &self, - callbackhandle: i64, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UnregisterDataPackageChangeHandler)( - windows_core::Interface::as_raw(self), - callbackhandle, - ) - .ok() - } -} -unsafe impl Send for IFabricCodePackageActivationContext {} -unsafe impl Sync for IFabricCodePackageActivationContext {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_ContextId: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_CodePackageName: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_CodePackageVersion: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_WorkDirectory: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_LogDirectory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_TempDirectory: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_ServiceTypes: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_TYPE_DESCRIPTION_LIST, - #[cfg(feature = "Win32_Foundation")] - pub get_ServiceGroupTypes: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST, - #[cfg(not(feature = "Win32_Foundation"))] - get_ServiceGroupTypes: usize, - pub get_ApplicationPrincipals: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION, - pub get_ServiceEndpointResources: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST, - pub GetServiceEndpointResource: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, - ) -> windows_core::HRESULT, - pub GetCodePackageNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetConfigurationPackageNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetDataPackageNames: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetConfigurationPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetDataPackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RegisterCodePackageChangeHandler: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub UnregisterCodePackageChangeHandler: - unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - pub RegisterConfigurationPackageChangeHandler: - unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub UnregisterConfigurationPackageChangeHandler: - unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - pub RegisterDataPackageChangeHandler: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub UnregisterDataPackageChangeHandler: - unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext2, - IFabricCodePackageActivationContext2_Vtbl, - 0x6c83d5c1_1954_4b80_9175_0d0e7c8715c9 -); -impl std::ops::Deref for IFabricCodePackageActivationContext2 { - type Target = IFabricCodePackageActivationContext; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext2, - windows_core::IUnknown, - IFabricCodePackageActivationContext -); -impl IFabricCodePackageActivationContext2 { - pub unsafe fn get_ApplicationName(&self) -> super::super::FABRIC_URI { - (windows_core::Interface::vtable(self).get_ApplicationName)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_ApplicationTypeName(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_ApplicationTypeName)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn GetServiceManifestName( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetServiceManifestName)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetServiceManifestVersion( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetServiceManifestVersion)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricCodePackageActivationContext2 {} -unsafe impl Sync for IFabricCodePackageActivationContext2 {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext2_Vtbl { - pub base__: IFabricCodePackageActivationContext_Vtbl, - pub get_ApplicationName: - unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_URI, - pub get_ApplicationTypeName: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub GetServiceManifestName: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetServiceManifestVersion: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext3, - IFabricCodePackageActivationContext3_Vtbl, - 0x6efee900_f491_4b03_bc5b_3a70de103593 -); -impl std::ops::Deref for IFabricCodePackageActivationContext3 { - type Target = IFabricCodePackageActivationContext2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext3, - windows_core::IUnknown, - IFabricCodePackageActivationContext, - IFabricCodePackageActivationContext2 -); -impl IFabricCodePackageActivationContext3 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportApplicationHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportApplicationHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportDeployedApplicationHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportDeployedApplicationHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportDeployedServicePackageHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportDeployedServicePackageHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } -} -unsafe impl Send for IFabricCodePackageActivationContext3 {} -unsafe impl Sync for IFabricCodePackageActivationContext3 {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext3_Vtbl { - pub base__: IFabricCodePackageActivationContext2_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportApplicationHealth: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportDeployedApplicationHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportDeployedApplicationHealth: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportDeployedServicePackageHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportDeployedServicePackageHealth: usize, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext4, - IFabricCodePackageActivationContext4_Vtbl, - 0x99efebb6_a7b4_4d45_b45e_f191a66eef03 -); -impl std::ops::Deref for IFabricCodePackageActivationContext4 { - type Target = IFabricCodePackageActivationContext3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext4, - windows_core::IUnknown, - IFabricCodePackageActivationContext, - IFabricCodePackageActivationContext2, - IFabricCodePackageActivationContext3 -); -impl IFabricCodePackageActivationContext4 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportApplicationHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportApplicationHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportDeployedApplicationHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportDeployedApplicationHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportDeployedServicePackageHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportDeployedServicePackageHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } -} -unsafe impl Send for IFabricCodePackageActivationContext4 {} -unsafe impl Sync for IFabricCodePackageActivationContext4 {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext4_Vtbl { - pub base__: IFabricCodePackageActivationContext3_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportApplicationHealth2: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportDeployedApplicationHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportDeployedApplicationHealth2: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportDeployedServicePackageHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) - -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportDeployedServicePackageHealth2: usize, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext5, - IFabricCodePackageActivationContext5_Vtbl, - 0xfe45387e_8711_4949_ac36_31dc95035513 -); -impl std::ops::Deref for IFabricCodePackageActivationContext5 { - type Target = IFabricCodePackageActivationContext4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext5, - windows_core::IUnknown, - IFabricCodePackageActivationContext, - IFabricCodePackageActivationContext2, - IFabricCodePackageActivationContext3, - IFabricCodePackageActivationContext4 -); -impl IFabricCodePackageActivationContext5 { - pub unsafe fn get_ServiceListenAddress(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_ServiceListenAddress)( - windows_core::Interface::as_raw(self), - ) - } - pub unsafe fn get_ServicePublishAddress(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_ServicePublishAddress)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricCodePackageActivationContext5 {} -unsafe impl Sync for IFabricCodePackageActivationContext5 {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext5_Vtbl { - pub base__: IFabricCodePackageActivationContext4_Vtbl, - pub get_ServiceListenAddress: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - pub get_ServicePublishAddress: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivationContext6, - IFabricCodePackageActivationContext6_Vtbl, - 0xfa5fda9b_472c_45a0_9b60_a374691227a4 -); -impl std::ops::Deref for IFabricCodePackageActivationContext6 { - type Target = IFabricCodePackageActivationContext5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricCodePackageActivationContext6, - windows_core::IUnknown, - IFabricCodePackageActivationContext, - IFabricCodePackageActivationContext2, - IFabricCodePackageActivationContext3, - IFabricCodePackageActivationContext4, - IFabricCodePackageActivationContext5 -); -impl IFabricCodePackageActivationContext6 { - pub unsafe fn GetDirectory( - &self, - logicaldirectoryname: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetDirectory)( - windows_core::Interface::as_raw(self), - logicaldirectoryname.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricCodePackageActivationContext6 {} -unsafe impl Sync for IFabricCodePackageActivationContext6 {} -#[repr(C)] -pub struct IFabricCodePackageActivationContext6_Vtbl { - pub base__: IFabricCodePackageActivationContext5_Vtbl, - pub GetDirectory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricCodePackageActivator, - IFabricCodePackageActivator_Vtbl, - 0x70be1b10_b259_46fc_b813_0b75720e7183 -); -impl std::ops::Deref for IFabricCodePackageActivator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricCodePackageActivator, windows_core::IUnknown); -impl IFabricCodePackageActivator { - pub unsafe fn BeginActivateCodePackage( - &self, - codepackagenames: *const super::super::FABRIC_STRING_LIST, - environment: *const super::super::FABRIC_STRING_MAP, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginActivateCodePackage)( - windows_core::Interface::as_raw(self), - codepackagenames, - environment, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndActivateCodePackage(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndActivateCodePackage)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginDeactivateCodePackage( - &self, - codepackagenames: *const super::super::FABRIC_STRING_LIST, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginDeactivateCodePackage)( - windows_core::Interface::as_raw(self), - codepackagenames, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndDeactivateCodePackage(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndDeactivateCodePackage)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn AbortCodePackage( - &self, - codepackagenames: *const super::super::FABRIC_STRING_LIST, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).AbortCodePackage)( - windows_core::Interface::as_raw(self), - codepackagenames, - ) - .ok() - } - pub unsafe fn RegisterCodePackageEventHandler( - &self, - eventhandler: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).RegisterCodePackageEventHandler)( - windows_core::Interface::as_raw(self), - eventhandler.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UnregisterCodePackageEventHandler( - &self, - callbackhandle: u64, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UnregisterCodePackageEventHandler)( - windows_core::Interface::as_raw(self), - callbackhandle, - ) - .ok() - } -} -unsafe impl Send for IFabricCodePackageActivator {} -unsafe impl Sync for IFabricCodePackageActivator {} -#[repr(C)] -pub struct IFabricCodePackageActivator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginActivateCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STRING_LIST, - *const super::super::FABRIC_STRING_MAP, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndActivateCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginDeactivateCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STRING_LIST, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndDeactivateCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub AbortCodePackage: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STRING_LIST, - ) -> windows_core::HRESULT, - pub RegisterCodePackageEventHandler: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u64, - ) -> windows_core::HRESULT, - pub UnregisterCodePackageEventHandler: - unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricCodePackageChangeHandler, - IFabricCodePackageChangeHandler_Vtbl, - 0xb90d36cd_acb5_427a_b318_3b045981d0cc -); -impl std::ops::Deref for IFabricCodePackageChangeHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricCodePackageChangeHandler, windows_core::IUnknown); -impl IFabricCodePackageChangeHandler { - pub unsafe fn OnPackageAdded(&self, source: P0, codepackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageAdded)( - windows_core::Interface::as_raw(self), - source.param().abi(), - codepackage.param().abi(), - ) - } - pub unsafe fn OnPackageRemoved(&self, source: P0, codepackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageRemoved)( - windows_core::Interface::as_raw(self), - source.param().abi(), - codepackage.param().abi(), - ) - } - pub unsafe fn OnPackageModified( - &self, - source: P0, - previouscodepackage: P1, - codepackage: P2, - ) where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageModified)( - windows_core::Interface::as_raw(self), - source.param().abi(), - previouscodepackage.param().abi(), - codepackage.param().abi(), - ) - } -} -unsafe impl Send for IFabricCodePackageChangeHandler {} -unsafe impl Sync for IFabricCodePackageChangeHandler {} -#[repr(C)] -pub struct IFabricCodePackageChangeHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnPackageAdded: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageRemoved: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageModified: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), -} -windows_core::imp::define_interface!( - IFabricCodePackageEventHandler, - IFabricCodePackageEventHandler_Vtbl, - 0x899e0ca8_16df_458e_8915_d0307b4ab101 -); -impl std::ops::Deref for IFabricCodePackageEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricCodePackageEventHandler, windows_core::IUnknown); -impl IFabricCodePackageEventHandler { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn OnCodePackageEvent( - &self, - source: P0, - eventdesc: *const super::super::FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION, - ) where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnCodePackageEvent)( - windows_core::Interface::as_raw(self), - source.param().abi(), - eventdesc, - ) - } -} -unsafe impl Send for IFabricCodePackageEventHandler {} -unsafe impl Sync for IFabricCodePackageEventHandler {} -#[repr(C)] -pub struct IFabricCodePackageEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub OnCodePackageEvent: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *const super::super::FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION, - ), - #[cfg(not(feature = "Win32_Foundation"))] - OnCodePackageEvent: usize, -} -windows_core::imp::define_interface!( - IFabricConfigurationPackage, - IFabricConfigurationPackage_Vtbl, - 0xac4c3bfa_2563_46b7_a71d_2dca7b0a8f4d -); -impl std::ops::Deref for IFabricConfigurationPackage { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricConfigurationPackage, windows_core::IUnknown); -impl IFabricConfigurationPackage { - pub unsafe fn get_Description( - &self, - ) -> *mut super::super::FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_CONFIGURATION_SETTINGS { - (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetSection( - &self, - sectionname: P0, - ) -> windows_core::Result<*mut super::super::FABRIC_CONFIGURATION_SECTION> - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetSection)( - windows_core::Interface::as_raw(self), - sectionname.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetValue( - &self, - sectionname: P0, - parametername: P1, - isencrypted: *mut u8, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValue)( - windows_core::Interface::as_raw(self), - sectionname.param().abi(), - parametername.param().abi(), - isencrypted, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn DecryptValue( - &self, - encryptedvalue: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).DecryptValue)( - windows_core::Interface::as_raw(self), - encryptedvalue.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricConfigurationPackage {} -unsafe impl Sync for IFabricConfigurationPackage {} -#[repr(C)] -pub struct IFabricConfigurationPackage_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Description: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION, - pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, - #[cfg(feature = "Win32_Foundation")] - pub get_Settings: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_CONFIGURATION_SETTINGS, - #[cfg(not(feature = "Win32_Foundation"))] - get_Settings: usize, - #[cfg(feature = "Win32_Foundation")] - pub GetSection: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut super::super::FABRIC_CONFIGURATION_SECTION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetSection: usize, - pub GetValue: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - *mut u8, - *mut windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub DecryptValue: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricConfigurationPackage2, - IFabricConfigurationPackage2_Vtbl, - 0xd3161f31_708a_4f83_91ff_f2af15f74a2f -); -impl std::ops::Deref for IFabricConfigurationPackage2 { - type Target = IFabricConfigurationPackage; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricConfigurationPackage2, - windows_core::IUnknown, - IFabricConfigurationPackage -); -impl IFabricConfigurationPackage2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn GetValues( - &self, - sectionname: P0, - parameterprefix: P1, - ) -> windows_core::Result<*mut super::super::FABRIC_CONFIGURATION_PARAMETER_LIST> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetValues)( - windows_core::Interface::as_raw(self), - sectionname.param().abi(), - parameterprefix.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricConfigurationPackage2 {} -unsafe impl Sync for IFabricConfigurationPackage2 {} -#[repr(C)] -pub struct IFabricConfigurationPackage2_Vtbl { - pub base__: IFabricConfigurationPackage_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub GetValues: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::PCWSTR, - *mut *mut super::super::FABRIC_CONFIGURATION_PARAMETER_LIST, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - GetValues: usize, -} -windows_core::imp::define_interface!( - IFabricConfigurationPackageChangeHandler, - IFabricConfigurationPackageChangeHandler_Vtbl, - 0xc3954d48_b5ee_4ff4_9bc0_c30f6d0d3a85 -); -impl std::ops::Deref for IFabricConfigurationPackageChangeHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricConfigurationPackageChangeHandler, - windows_core::IUnknown -); -impl IFabricConfigurationPackageChangeHandler { - pub unsafe fn OnPackageAdded(&self, source: P0, configpackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageAdded)( - windows_core::Interface::as_raw(self), - source.param().abi(), - configpackage.param().abi(), - ) - } - pub unsafe fn OnPackageRemoved(&self, source: P0, configpackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageRemoved)( - windows_core::Interface::as_raw(self), - source.param().abi(), - configpackage.param().abi(), - ) - } - pub unsafe fn OnPackageModified( - &self, - source: P0, - previousconfigpackage: P1, - configpackage: P2, - ) where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageModified)( - windows_core::Interface::as_raw(self), - source.param().abi(), - previousconfigpackage.param().abi(), - configpackage.param().abi(), - ) - } -} -unsafe impl Send for IFabricConfigurationPackageChangeHandler {} -unsafe impl Sync for IFabricConfigurationPackageChangeHandler {} -#[repr(C)] -pub struct IFabricConfigurationPackageChangeHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnPackageAdded: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageRemoved: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageModified: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), -} -windows_core::imp::define_interface!( - IFabricDataPackage, - IFabricDataPackage_Vtbl, - 0xaa67de09_3657_435f_a2f6_b3a17a0a4371 -); -impl std::ops::Deref for IFabricDataPackage { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricDataPackage, windows_core::IUnknown); -impl IFabricDataPackage { - pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_DATA_PACKAGE_DESCRIPTION { - (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( - self, - )) - } - pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { - (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricDataPackage {} -unsafe impl Sync for IFabricDataPackage {} -#[repr(C)] -pub struct IFabricDataPackage_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Description: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_DATA_PACKAGE_DESCRIPTION, - pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, -} -windows_core::imp::define_interface!( - IFabricDataPackageChangeHandler, - IFabricDataPackageChangeHandler_Vtbl, - 0x8d0a726f_bd17_4b32_807b_be2a8024b2e0 -); -impl std::ops::Deref for IFabricDataPackageChangeHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricDataPackageChangeHandler, windows_core::IUnknown); -impl IFabricDataPackageChangeHandler { - pub unsafe fn OnPackageAdded(&self, source: P0, datapackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageAdded)( - windows_core::Interface::as_raw(self), - source.param().abi(), - datapackage.param().abi(), - ) - } - pub unsafe fn OnPackageRemoved(&self, source: P0, datapackage: P1) - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageRemoved)( - windows_core::Interface::as_raw(self), - source.param().abi(), - datapackage.param().abi(), - ) - } - pub unsafe fn OnPackageModified( - &self, - source: P0, - previousdatapackage: P1, - datapackage: P2, - ) where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnPackageModified)( - windows_core::Interface::as_raw(self), - source.param().abi(), - previousdatapackage.param().abi(), - datapackage.param().abi(), - ) - } -} -unsafe impl Send for IFabricDataPackageChangeHandler {} -unsafe impl Sync for IFabricDataPackageChangeHandler {} -#[repr(C)] -pub struct IFabricDataPackageChangeHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnPackageAdded: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageRemoved: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), - pub OnPackageModified: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ), -} -windows_core::imp::define_interface!( - IFabricEseLocalStoreSettingsResult, - IFabricEseLocalStoreSettingsResult_Vtbl, - 0xaace77ae_d8e1_4144_b1ee_5ac74fd54f65 -); -impl std::ops::Deref for IFabricEseLocalStoreSettingsResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricEseLocalStoreSettingsResult, windows_core::IUnknown); -impl IFabricEseLocalStoreSettingsResult { - pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_ESE_LOCAL_STORE_SETTINGS { - (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricEseLocalStoreSettingsResult {} -unsafe impl Sync for IFabricEseLocalStoreSettingsResult {} -#[repr(C)] -pub struct IFabricEseLocalStoreSettingsResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Settings: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_ESE_LOCAL_STORE_SETTINGS, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreEnumerator, - IFabricKeyValueStoreEnumerator_Vtbl, - 0x6722b848_15bb_4528_bf54_c7bbe27b6f9a -); -impl std::ops::Deref for IFabricKeyValueStoreEnumerator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreEnumerator, windows_core::IUnknown); -impl IFabricKeyValueStoreEnumerator { - pub unsafe fn EnumerateByKey( - &self, - keyprefix: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateByKey)( - windows_core::Interface::as_raw(self), - keyprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EnumerateMetadataByKey( - &self, - keyprefix: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateMetadataByKey)( - windows_core::Interface::as_raw(self), - keyprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreEnumerator {} -unsafe impl Sync for IFabricKeyValueStoreEnumerator {} -#[repr(C)] -pub struct IFabricKeyValueStoreEnumerator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub EnumerateByKey: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EnumerateMetadataByKey: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreEnumerator2, - IFabricKeyValueStoreEnumerator2_Vtbl, - 0x63dfd264_4f2b_4be6_8234_1fa200165fe9 -); -impl std::ops::Deref for IFabricKeyValueStoreEnumerator2 { - type Target = IFabricKeyValueStoreEnumerator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreEnumerator2, - windows_core::IUnknown, - IFabricKeyValueStoreEnumerator -); -impl IFabricKeyValueStoreEnumerator2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnumerateByKey2( - &self, - keyprefix: P0, - strictprefix: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateByKey2)( - windows_core::Interface::as_raw(self), - keyprefix.param().abi(), - strictprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnumerateMetadataByKey2( - &self, - keyprefix: P0, - strictprefix: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateMetadataByKey2)( - windows_core::Interface::as_raw(self), - keyprefix.param().abi(), - strictprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreEnumerator2 {} -unsafe impl Sync for IFabricKeyValueStoreEnumerator2 {} -#[repr(C)] -pub struct IFabricKeyValueStoreEnumerator2_Vtbl { - pub base__: IFabricKeyValueStoreEnumerator_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub EnumerateByKey2: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows::Win32::Foundation::BOOLEAN, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnumerateByKey2: usize, - #[cfg(feature = "Win32_Foundation")] - pub EnumerateMetadataByKey2: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows::Win32::Foundation::BOOLEAN, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnumerateMetadataByKey2: usize, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemEnumerator, - IFabricKeyValueStoreItemEnumerator_Vtbl, - 0xc202788f_54d3_44a6_8f3c_b4bbfcdb95d2 -); -impl std::ops::Deref for IFabricKeyValueStoreItemEnumerator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreItemEnumerator, windows_core::IUnknown); -impl IFabricKeyValueStoreItemEnumerator { - pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() - } - pub unsafe fn get_Current(&self) -> Option { - (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreItemEnumerator {} -unsafe impl Sync for IFabricKeyValueStoreItemEnumerator {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemEnumerator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Current: - unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemEnumerator2, - IFabricKeyValueStoreItemEnumerator2_Vtbl, - 0xda143bbc_81e1_48cd_afd7_b642bc5b9bfd -); -impl std::ops::Deref for IFabricKeyValueStoreItemEnumerator2 { - type Target = IFabricKeyValueStoreItemEnumerator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreItemEnumerator2, - windows_core::IUnknown, - IFabricKeyValueStoreItemEnumerator -); -impl IFabricKeyValueStoreItemEnumerator2 { - pub unsafe fn TryMoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryMoveNext)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricKeyValueStoreItemEnumerator2 {} -unsafe impl Sync for IFabricKeyValueStoreItemEnumerator2 {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemEnumerator2_Vtbl { - pub base__: IFabricKeyValueStoreItemEnumerator_Vtbl, - pub TryMoveNext: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemMetadataEnumerator, - IFabricKeyValueStoreItemMetadataEnumerator_Vtbl, - 0x0bc06aee_fffa_4450_9099_116a5f0e0b53 -); -impl std::ops::Deref for IFabricKeyValueStoreItemMetadataEnumerator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreItemMetadataEnumerator, - windows_core::IUnknown -); -impl IFabricKeyValueStoreItemMetadataEnumerator { - pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() - } - pub unsafe fn get_Current(&self) -> Option { - (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreItemMetadataEnumerator {} -unsafe impl Sync for IFabricKeyValueStoreItemMetadataEnumerator {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemMetadataEnumerator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Current: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> Option, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemMetadataEnumerator2, - IFabricKeyValueStoreItemMetadataEnumerator2_Vtbl, - 0x8803d53e_dd73_40fc_a662_1bfe999419ea -); -impl std::ops::Deref for IFabricKeyValueStoreItemMetadataEnumerator2 { - type Target = IFabricKeyValueStoreItemMetadataEnumerator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreItemMetadataEnumerator2, - windows_core::IUnknown, - IFabricKeyValueStoreItemMetadataEnumerator -); -impl IFabricKeyValueStoreItemMetadataEnumerator2 { - pub unsafe fn TryMoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryMoveNext)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricKeyValueStoreItemMetadataEnumerator2 {} -unsafe impl Sync for IFabricKeyValueStoreItemMetadataEnumerator2 {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemMetadataEnumerator2_Vtbl { - pub base__: IFabricKeyValueStoreItemMetadataEnumerator_Vtbl, - pub TryMoveNext: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemMetadataResult, - IFabricKeyValueStoreItemMetadataResult_Vtbl, - 0x17c483a1_69e6_4bdc_a058_54fd4a1839fd -); -impl std::ops::Deref for IFabricKeyValueStoreItemMetadataResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreItemMetadataResult, - windows_core::IUnknown -); -impl IFabricKeyValueStoreItemMetadataResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreItemMetadataResult {} -unsafe impl Sync for IFabricKeyValueStoreItemMetadataResult {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemMetadataResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Metadata: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM_METADATA, - #[cfg(not(feature = "Win32_Foundation"))] - get_Metadata: usize, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreItemResult, - IFabricKeyValueStoreItemResult_Vtbl, - 0xc1f1c89d_b0b8_44dc_bc97_6c074c1a805e -); -impl std::ops::Deref for IFabricKeyValueStoreItemResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreItemResult, windows_core::IUnknown); -impl IFabricKeyValueStoreItemResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_Item(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM { - (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreItemResult {} -unsafe impl Sync for IFabricKeyValueStoreItemResult {} -#[repr(C)] -pub struct IFabricKeyValueStoreItemResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_Item: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM, - #[cfg(not(feature = "Win32_Foundation"))] - get_Item: usize, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreNotification, - IFabricKeyValueStoreNotification_Vtbl, - 0xcb660aa6_c51e_4f05_9526_93982b550e8f -); -impl std::ops::Deref for IFabricKeyValueStoreNotification { - type Target = IFabricKeyValueStoreItemResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreNotification, - windows_core::IUnknown, - IFabricKeyValueStoreItemResult -); -impl IFabricKeyValueStoreNotification { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn IsDelete(&self) -> windows::Win32::Foundation::BOOLEAN { - (windows_core::Interface::vtable(self).IsDelete)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreNotification {} -unsafe impl Sync for IFabricKeyValueStoreNotification {} -#[repr(C)] -pub struct IFabricKeyValueStoreNotification_Vtbl { - pub base__: IFabricKeyValueStoreItemResult_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub IsDelete: - unsafe extern "system" fn(*mut core::ffi::c_void) -> windows::Win32::Foundation::BOOLEAN, - #[cfg(not(feature = "Win32_Foundation"))] - IsDelete: usize, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreNotificationEnumerator, - IFabricKeyValueStoreNotificationEnumerator_Vtbl, - 0xef25bc08_be76_43c7_adad_20f01fba3399 -); -impl std::ops::Deref for IFabricKeyValueStoreNotificationEnumerator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreNotificationEnumerator, - windows_core::IUnknown -); -impl IFabricKeyValueStoreNotificationEnumerator { - pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() - } - pub unsafe fn get_Current(&self) -> Option { - (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn Reset(&self) { - (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricKeyValueStoreNotificationEnumerator {} -unsafe impl Sync for IFabricKeyValueStoreNotificationEnumerator {} -#[repr(C)] -pub struct IFabricKeyValueStoreNotificationEnumerator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Current: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> Option, - pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreNotificationEnumerator2, - IFabricKeyValueStoreNotificationEnumerator2_Vtbl, - 0x55eec7c6_ae81_407a_b84c_22771d314ac7 -); -impl std::ops::Deref for IFabricKeyValueStoreNotificationEnumerator2 { - type Target = IFabricKeyValueStoreNotificationEnumerator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreNotificationEnumerator2, - windows_core::IUnknown, - IFabricKeyValueStoreNotificationEnumerator -); -impl IFabricKeyValueStoreNotificationEnumerator2 { - pub unsafe fn TryMoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryMoveNext)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricKeyValueStoreNotificationEnumerator2 {} -unsafe impl Sync for IFabricKeyValueStoreNotificationEnumerator2 {} -#[repr(C)] -pub struct IFabricKeyValueStoreNotificationEnumerator2_Vtbl { - pub base__: IFabricKeyValueStoreNotificationEnumerator_Vtbl, - pub TryMoveNext: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica, - IFabricKeyValueStoreReplica_Vtbl, - 0x97da35c4_38ed_4a2a_8f37_fbeb56382235 -); -impl std::ops::Deref for IFabricKeyValueStoreReplica { - type Target = IFabricStatefulServiceReplica; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica, - windows_core::IUnknown, - IFabricStatefulServiceReplica -); -impl IFabricKeyValueStoreReplica { - pub unsafe fn GetCurrentEpoch( - &self, - currentepoch: *mut super::super::FABRIC_EPOCH, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).GetCurrentEpoch)( - windows_core::Interface::as_raw(self), - currentepoch, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn UpdateReplicatorSettings( - &self, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UpdateReplicatorSettings)( - windows_core::Interface::as_raw(self), - replicatorsettings, - ) - .ok() - } - pub unsafe fn CreateTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateTransaction)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn Add( - &self, - transaction: P0, - key: P1, - value: &[u8], - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).Add)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - value.len().try_into().unwrap(), - core::mem::transmute(value.as_ptr()), - ) - .ok() - } - pub unsafe fn Remove( - &self, - transaction: P0, - key: P1, - checksequencenumber: i64, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).Remove)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - checksequencenumber, - ) - .ok() - } - pub unsafe fn Update( - &self, - transaction: P0, - key: P1, - value: &[u8], - checksequencenumber: i64, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).Update)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - value.len().try_into().unwrap(), - core::mem::transmute(value.as_ptr()), - checksequencenumber, - ) - .ok() - } - pub unsafe fn Get( - &self, - transaction: P0, - key: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).Get)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetMetadata( - &self, - transaction: P0, - key: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetMetadata)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn Contains(&self, transaction: P0, key: P1) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).Contains)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn Enumerate( - &self, - transaction: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).Enumerate)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EnumerateByKey( - &self, - transaction: P0, - keyprefix: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateByKey)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - keyprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EnumerateMetadata( - &self, - transaction: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateMetadata)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EnumerateMetadataByKey( - &self, - transaction: P0, - keyprefix: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateMetadataByKey)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - keyprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreReplica {} -unsafe impl Sync for IFabricKeyValueStoreReplica {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica_Vtbl { - pub base__: IFabricStatefulServiceReplica_Vtbl, - pub GetCurrentEpoch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut super::super::FABRIC_EPOCH, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub UpdateReplicatorSettings: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICATOR_SETTINGS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - UpdateReplicatorSettings: usize, - pub CreateTransaction: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i32, - *const u8, - ) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i64, - ) -> windows_core::HRESULT, - pub Update: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i32, - *const u8, - i64, - ) -> windows_core::HRESULT, - pub Get: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetMetadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Contains: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut u8, - ) -> windows_core::HRESULT, - pub Enumerate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EnumerateByKey: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EnumerateMetadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EnumerateMetadataByKey: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica2, - IFabricKeyValueStoreReplica2_Vtbl, - 0xfef805b2_5aca_4caa_9c51_fb3bd577a792 -); -impl std::ops::Deref for IFabricKeyValueStoreReplica2 { - type Target = IFabricKeyValueStoreReplica; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica2, - windows_core::IUnknown, - IFabricStatefulServiceReplica, - IFabricKeyValueStoreReplica -); -impl IFabricKeyValueStoreReplica2 { - pub unsafe fn Backup(&self, backupdirectory: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).Backup)( - windows_core::Interface::as_raw(self), - backupdirectory.param().abi(), - ) - .ok() - } - pub unsafe fn Restore(&self, backupdirectory: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).Restore)( - windows_core::Interface::as_raw(self), - backupdirectory.param().abi(), - ) - .ok() - } - pub unsafe fn CreateTransaction2( - &self, - settings: *const super::super::FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateTransaction2)( - windows_core::Interface::as_raw(self), - settings, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreReplica2 {} -unsafe impl Sync for IFabricKeyValueStoreReplica2 {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica2_Vtbl { - pub base__: IFabricKeyValueStoreReplica_Vtbl, - pub Backup: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub Restore: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub CreateTransaction2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica3, - IFabricKeyValueStoreReplica3_Vtbl, - 0xc1297172_a8aa_4096_bdcc_1ece0c5d8c8f -); -impl std::ops::Deref for IFabricKeyValueStoreReplica3 { - type Target = IFabricKeyValueStoreReplica2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica3, - windows_core::IUnknown, - IFabricStatefulServiceReplica, - IFabricKeyValueStoreReplica, - IFabricKeyValueStoreReplica2 -); -impl IFabricKeyValueStoreReplica3 { - pub unsafe fn BeginBackup( - &self, - backupdirectory: P0, - backupoption: super::super::FABRIC_STORE_BACKUP_OPTION, - postbackuphandler: P1, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginBackup)( - windows_core::Interface::as_raw(self), - backupdirectory.param().abi(), - backupoption, - postbackuphandler.param().abi(), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndBackup(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndBackup)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricKeyValueStoreReplica3 {} -unsafe impl Sync for IFabricKeyValueStoreReplica3 {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica3_Vtbl { - pub base__: IFabricKeyValueStoreReplica2_Vtbl, - pub BeginBackup: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - super::super::FABRIC_STORE_BACKUP_OPTION, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndBackup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica4, - IFabricKeyValueStoreReplica4_Vtbl, - 0xff16d2f1_41a9_4c64_804a_a20bf28c04f3 -); -impl std::ops::Deref for IFabricKeyValueStoreReplica4 { - type Target = IFabricKeyValueStoreReplica3; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica4, - windows_core::IUnknown, - IFabricStatefulServiceReplica, - IFabricKeyValueStoreReplica, - IFabricKeyValueStoreReplica2, - IFabricKeyValueStoreReplica3 -); -impl IFabricKeyValueStoreReplica4 { - pub unsafe fn BeginRestore( - &self, - backupdirectory: P0, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestore)( - windows_core::Interface::as_raw(self), - backupdirectory.param().abi(), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRestore(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRestore)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricKeyValueStoreReplica4 {} -unsafe impl Sync for IFabricKeyValueStoreReplica4 {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica4_Vtbl { - pub base__: IFabricKeyValueStoreReplica3_Vtbl, - pub BeginRestore: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRestore: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica5, - IFabricKeyValueStoreReplica5_Vtbl, - 0x34f2da40_6227_448a_be72_c517b0d69432 -); -impl std::ops::Deref for IFabricKeyValueStoreReplica5 { - type Target = IFabricKeyValueStoreReplica4; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica5, - windows_core::IUnknown, - IFabricStatefulServiceReplica, - IFabricKeyValueStoreReplica, - IFabricKeyValueStoreReplica2, - IFabricKeyValueStoreReplica3, - IFabricKeyValueStoreReplica4 -); -impl IFabricKeyValueStoreReplica5 { - pub unsafe fn TryAdd( - &self, - transaction: P0, - key: P1, - value: &[u8], - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryAdd)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - value.len().try_into().unwrap(), - core::mem::transmute(value.as_ptr()), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn TryRemove( - &self, - transaction: P0, - key: P1, - checksequencenumber: i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryRemove)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - checksequencenumber, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn TryUpdate( - &self, - transaction: P0, - key: P1, - value: &[u8], - checksequencenumber: i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryUpdate)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - value.len().try_into().unwrap(), - core::mem::transmute(value.as_ptr()), - checksequencenumber, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn TryGet( - &self, - transaction: P0, - key: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryGet)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn TryGetMetadata( - &self, - transaction: P0, - key: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).TryGetMetadata)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - key.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnumerateByKey2( - &self, - transaction: P0, - keyprefix: P1, - strictprefix: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateByKey2)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - keyprefix.param().abi(), - strictprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnumerateMetadataByKey2( - &self, - transaction: P0, - keyprefix: P1, - strictprefix: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EnumerateMetadataByKey2)( - windows_core::Interface::as_raw(self), - transaction.param().abi(), - keyprefix.param().abi(), - strictprefix.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreReplica5 {} -unsafe impl Sync for IFabricKeyValueStoreReplica5 {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica5_Vtbl { - pub base__: IFabricKeyValueStoreReplica4_Vtbl, - pub TryAdd: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i32, - *const u8, - *mut u8, - ) -> windows_core::HRESULT, - pub TryRemove: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i64, - *mut u8, - ) -> windows_core::HRESULT, - pub TryUpdate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - i32, - *const u8, - i64, - *mut u8, - ) -> windows_core::HRESULT, - pub TryGet: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub TryGetMetadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub EnumerateByKey2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows::Win32::Foundation::BOOLEAN, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnumerateByKey2: usize, - #[cfg(feature = "Win32_Foundation")] - pub EnumerateMetadataByKey2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows::Win32::Foundation::BOOLEAN, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - EnumerateMetadataByKey2: usize, -} -windows_core::imp::define_interface!( - IFabricKeyValueStoreReplica6, - IFabricKeyValueStoreReplica6_Vtbl, - 0x56e77be1_e81f_4e42_8522_162c2d608184 -); -impl std::ops::Deref for IFabricKeyValueStoreReplica6 { - type Target = IFabricKeyValueStoreReplica5; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricKeyValueStoreReplica6, - windows_core::IUnknown, - IFabricStatefulServiceReplica, - IFabricKeyValueStoreReplica, - IFabricKeyValueStoreReplica2, - IFabricKeyValueStoreReplica3, - IFabricKeyValueStoreReplica4, - IFabricKeyValueStoreReplica5 -); -impl IFabricKeyValueStoreReplica6 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn BeginRestore2( - &self, - backupdirectory: P0, - settings: *const super::super::FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRestore2)( - windows_core::Interface::as_raw(self), - backupdirectory.param().abi(), - settings, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricKeyValueStoreReplica6 {} -unsafe impl Sync for IFabricKeyValueStoreReplica6 {} -#[repr(C)] -pub struct IFabricKeyValueStoreReplica6_Vtbl { - pub base__: IFabricKeyValueStoreReplica5_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub BeginRestore2: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *const super::super::FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - BeginRestore2: usize, -} -windows_core::imp::define_interface!( - IFabricNodeContextResult, - IFabricNodeContextResult_Vtbl, - 0x0952f885_6f5a_4ed3_abe4_90c403d1e3ce -); -impl std::ops::Deref for IFabricNodeContextResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricNodeContextResult, windows_core::IUnknown); -impl IFabricNodeContextResult { - pub unsafe fn get_NodeContext(&self) -> *mut super::super::FABRIC_NODE_CONTEXT { - (windows_core::Interface::vtable(self).get_NodeContext)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricNodeContextResult {} -unsafe impl Sync for IFabricNodeContextResult {} -#[repr(C)] -pub struct IFabricNodeContextResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_NodeContext: - unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_CONTEXT, -} -windows_core::imp::define_interface!( - IFabricNodeContextResult2, - IFabricNodeContextResult2_Vtbl, - 0x472bf2e1_d617_4b5c_a91d_fabed9ff3550 -); -impl std::ops::Deref for IFabricNodeContextResult2 { - type Target = IFabricNodeContextResult; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricNodeContextResult2, - windows_core::IUnknown, - IFabricNodeContextResult -); -impl IFabricNodeContextResult2 { - pub unsafe fn GetDirectory( - &self, - logicaldirectoryname: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetDirectory)( - windows_core::Interface::as_raw(self), - logicaldirectoryname.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricNodeContextResult2 {} -unsafe impl Sync for IFabricNodeContextResult2 {} -#[repr(C)] -pub struct IFabricNodeContextResult2_Vtbl { - pub base__: IFabricNodeContextResult_Vtbl, - pub GetDirectory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricOperation, - IFabricOperation_Vtbl, - 0xf4ad6bfa_e23c_4a48_9617_c099cd59a23a -); -impl std::ops::Deref for IFabricOperation { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricOperation, windows_core::IUnknown); -impl IFabricOperation { - pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_OPERATION_METADATA { - (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn GetData( - &self, - count: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_OPERATION_DATA_BUFFER> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetData)( - windows_core::Interface::as_raw(self), - count, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn Acknowledge(&self) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).Acknowledge)(windows_core::Interface::as_raw(self)) - .ok() - } -} -unsafe impl Send for IFabricOperation {} -unsafe impl Sync for IFabricOperation {} -#[repr(C)] -pub struct IFabricOperation_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Metadata: unsafe extern "system" fn( - *mut core::ffi::c_void, - ) - -> *mut super::super::FABRIC_OPERATION_METADATA, - pub GetData: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_OPERATION_DATA_BUFFER, - ) -> windows_core::HRESULT, - pub Acknowledge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricOperationData, - IFabricOperationData_Vtbl, - 0xbab8ad87_37b7_482a_985d_baf38a785dcd -); -impl std::ops::Deref for IFabricOperationData { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricOperationData, windows_core::IUnknown); -impl IFabricOperationData { - pub unsafe fn GetData( - &self, - count: *mut u32, - ) -> windows_core::Result<*mut super::super::FABRIC_OPERATION_DATA_BUFFER> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetData)( - windows_core::Interface::as_raw(self), - count, - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricOperationData {} -unsafe impl Sync for IFabricOperationData {} -#[repr(C)] -pub struct IFabricOperationData_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub GetData: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut u32, - *mut *mut super::super::FABRIC_OPERATION_DATA_BUFFER, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricOperationDataStream, - IFabricOperationDataStream_Vtbl, - 0xc4e9084c_be92_49c9_8c18_d44d088c2e32 -); -impl std::ops::Deref for IFabricOperationDataStream { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricOperationDataStream, windows_core::IUnknown); -impl IFabricOperationDataStream { - pub unsafe fn BeginGetNext( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetNext)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetNext(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetNext)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricOperationDataStream {} -unsafe impl Sync for IFabricOperationDataStream {} -#[repr(C)] -pub struct IFabricOperationDataStream_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginGetNext: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetNext: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricOperationStream, - IFabricOperationStream_Vtbl, - 0xa98fb97a_d6b0_408a_a878_a9edb09c2587 -); -impl std::ops::Deref for IFabricOperationStream { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricOperationStream, windows_core::IUnknown); -impl IFabricOperationStream { - pub unsafe fn BeginGetOperation( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginGetOperation)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndGetOperation(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndGetOperation)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricOperationStream {} -unsafe impl Sync for IFabricOperationStream {} -#[repr(C)] -pub struct IFabricOperationStream_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginGetOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndGetOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricOperationStream2, - IFabricOperationStream2_Vtbl, - 0x0930199b_590a_4065_bec9_5f93b6aae086 -); -impl std::ops::Deref for IFabricOperationStream2 { - type Target = IFabricOperationStream; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricOperationStream2, - windows_core::IUnknown, - IFabricOperationStream -); -impl IFabricOperationStream2 { - pub unsafe fn ReportFault( - &self, - faulttype: super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportFault)( - windows_core::Interface::as_raw(self), - faulttype, - ) - .ok() - } -} -unsafe impl Send for IFabricOperationStream2 {} -unsafe impl Sync for IFabricOperationStream2 {} -#[repr(C)] -pub struct IFabricOperationStream2_Vtbl { - pub base__: IFabricOperationStream_Vtbl, - pub ReportFault: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricPrimaryReplicator, - IFabricPrimaryReplicator_Vtbl, - 0x564e50dd_c3a4_4600_a60e_6658874307ae -); -impl std::ops::Deref for IFabricPrimaryReplicator { - type Target = IFabricReplicator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricPrimaryReplicator, - windows_core::IUnknown, - IFabricReplicator -); -impl IFabricPrimaryReplicator { - pub unsafe fn BeginOnDataLoss( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOnDataLoss)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOnDataLoss)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn UpdateCatchUpReplicaSetConfiguration( - &self, - currentconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - previousconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UpdateCatchUpReplicaSetConfiguration)( - windows_core::Interface::as_raw(self), - currentconfiguration, - previousconfiguration, - ) - .ok() - } - pub unsafe fn BeginWaitForCatchUpQuorum( - &self, - catchupmode: super::super::FABRIC_REPLICA_SET_QUORUM_MODE, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginWaitForCatchUpQuorum)( - windows_core::Interface::as_raw(self), - catchupmode, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndWaitForCatchUpQuorum(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndWaitForCatchUpQuorum)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn UpdateCurrentReplicaSetConfiguration( - &self, - currentconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UpdateCurrentReplicaSetConfiguration)( - windows_core::Interface::as_raw(self), - currentconfiguration, - ) - .ok() - } - pub unsafe fn BeginBuildReplica( - &self, - replica: *const super::super::FABRIC_REPLICA_INFORMATION, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginBuildReplica)( - windows_core::Interface::as_raw(self), - replica, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndBuildReplica(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndBuildReplica)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn RemoveReplica(&self, replicaid: i64) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).RemoveReplica)( - windows_core::Interface::as_raw(self), - replicaid, - ) - .ok() - } -} -unsafe impl Send for IFabricPrimaryReplicator {} -unsafe impl Sync for IFabricPrimaryReplicator {} -#[repr(C)] -pub struct IFabricPrimaryReplicator_Vtbl { - pub base__: IFabricReplicator_Vtbl, - pub BeginOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u8, - ) -> windows_core::HRESULT, - pub UpdateCatchUpReplicaSetConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - ) - -> windows_core::HRESULT, - pub BeginWaitForCatchUpQuorum: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_REPLICA_SET_QUORUM_MODE, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndWaitForCatchUpQuorum: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub UpdateCurrentReplicaSetConfiguration: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, - ) - -> windows_core::HRESULT, - pub BeginBuildReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICA_INFORMATION, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndBuildReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RemoveReplica: - unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricProcessExitHandler, - IFabricProcessExitHandler_Vtbl, - 0xc58d50a2_01f0_4267_bbe7_223b565c1346 -); -impl std::ops::Deref for IFabricProcessExitHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricProcessExitHandler, windows_core::IUnknown); -impl IFabricProcessExitHandler { - pub unsafe fn FabricProcessExited(&self) { - (windows_core::Interface::vtable(self).FabricProcessExited)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricProcessExitHandler {} -unsafe impl Sync for IFabricProcessExitHandler {} -#[repr(C)] -pub struct IFabricProcessExitHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub FabricProcessExited: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricReplicator, - IFabricReplicator_Vtbl, - 0x067f144a_e5be_4f5e_a181_8b5593e20242 -); -impl std::ops::Deref for IFabricReplicator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricReplicator, windows_core::IUnknown); -impl IFabricReplicator { - pub unsafe fn BeginOpen( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOpen)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOpen( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOpen)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginChangeRole( - &self, - epoch: *const super::super::FABRIC_EPOCH, - role: super::super::FABRIC_REPLICA_ROLE, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginChangeRole)( - windows_core::Interface::as_raw(self), - epoch, - role, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndChangeRole(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndChangeRole)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginUpdateEpoch( - &self, - epoch: *const super::super::FABRIC_EPOCH, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateEpoch)( - windows_core::Interface::as_raw(self), - epoch, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateEpoch(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateEpoch)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginClose( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginClose)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndClose)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn Abort(&self) { - (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn GetCurrentProgress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCurrentProgress)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetCatchUpCapability(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCatchUpCapability)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricReplicator {} -unsafe impl Sync for IFabricReplicator {} -#[repr(C)] -pub struct IFabricReplicator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginChangeRole: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_EPOCH, - super::super::FABRIC_REPLICA_ROLE, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndChangeRole: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginUpdateEpoch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_EPOCH, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateEpoch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), - pub GetCurrentProgress: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub GetCatchUpCapability: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricReplicatorCatchupSpecificQuorum, - IFabricReplicatorCatchupSpecificQuorum_Vtbl, - 0xaa3116fe_277d_482d_bd16_5366fa405757 -); -impl std::ops::Deref for IFabricReplicatorCatchupSpecificQuorum { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricReplicatorCatchupSpecificQuorum, - windows_core::IUnknown -); -impl IFabricReplicatorCatchupSpecificQuorum {} -unsafe impl Send for IFabricReplicatorCatchupSpecificQuorum {} -unsafe impl Sync for IFabricReplicatorCatchupSpecificQuorum {} -#[repr(C)] -pub struct IFabricReplicatorCatchupSpecificQuorum_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, -} -windows_core::imp::define_interface!( - IFabricReplicatorSettingsResult, - IFabricReplicatorSettingsResult_Vtbl, - 0x718954f3_dc1e_4060_9806_0cbf36f71051 -); -impl std::ops::Deref for IFabricReplicatorSettingsResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricReplicatorSettingsResult, windows_core::IUnknown); -impl IFabricReplicatorSettingsResult { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn get_ReplicatorSettings(&self) -> *mut super::super::FABRIC_REPLICATOR_SETTINGS { - (windows_core::Interface::vtable(self).get_ReplicatorSettings)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricReplicatorSettingsResult {} -unsafe impl Sync for IFabricReplicatorSettingsResult {} -#[repr(C)] -pub struct IFabricReplicatorSettingsResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub get_ReplicatorSettings: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_REPLICATOR_SETTINGS, - #[cfg(not(feature = "Win32_Foundation"))] - get_ReplicatorSettings: usize, -} -windows_core::imp::define_interface!( - IFabricRuntime, - IFabricRuntime_Vtbl, - 0xcc53af8e_74cd_11df_ac3e_0024811e3892 -); -impl std::ops::Deref for IFabricRuntime { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricRuntime, windows_core::IUnknown); -impl IFabricRuntime { - pub unsafe fn BeginRegisterStatelessServiceFactory( - &self, - servicetypename: P0, - factory: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRegisterStatelessServiceFactory)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - factory.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRegisterStatelessServiceFactory( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRegisterStatelessServiceFactory)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn RegisterStatelessServiceFactory( - &self, - servicetypename: P0, - factory: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).RegisterStatelessServiceFactory)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - factory.param().abi(), - ) - .ok() - } - pub unsafe fn BeginRegisterStatefulServiceFactory( - &self, - servicetypename: P0, - factory: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRegisterStatefulServiceFactory)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - factory.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRegisterStatefulServiceFactory( - &self, - context: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRegisterStatefulServiceFactory)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn RegisterStatefulServiceFactory( - &self, - servicetypename: P0, - factory: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).RegisterStatefulServiceFactory)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - factory.param().abi(), - ) - .ok() - } - pub unsafe fn CreateServiceGroupFactoryBuilder( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateServiceGroupFactoryBuilder)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginRegisterServiceGroupFactory( - &self, - groupservicetype: P0, - factory: P1, - timeoutmilliseconds: u32, - callback: P2, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRegisterServiceGroupFactory)( - windows_core::Interface::as_raw(self), - groupservicetype.param().abi(), - factory.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRegisterServiceGroupFactory(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndRegisterServiceGroupFactory)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn RegisterServiceGroupFactory( - &self, - groupservicetype: P0, - factory: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).RegisterServiceGroupFactory)( - windows_core::Interface::as_raw(self), - groupservicetype.param().abi(), - factory.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricRuntime {} -unsafe impl Sync for IFabricRuntime {} -#[repr(C)] -pub struct IFabricRuntime_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginRegisterStatelessServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndRegisterStatelessServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RegisterStatelessServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRegisterStatefulServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) - -> windows_core::HRESULT, - pub EndRegisterStatefulServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RegisterStatefulServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub CreateServiceGroupFactoryBuilder: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginRegisterServiceGroupFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRegisterServiceGroupFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RegisterServiceGroupFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricSecondaryEventHandler, - IFabricSecondaryEventHandler_Vtbl, - 0x7d124a7d_258e_49f2_a9b0_e800406103fb -); -impl std::ops::Deref for IFabricSecondaryEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricSecondaryEventHandler, windows_core::IUnknown); -impl IFabricSecondaryEventHandler { - pub unsafe fn OnCopyComplete(&self, enumerator: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnCopyComplete)( - windows_core::Interface::as_raw(self), - enumerator.param().abi(), - ) - .ok() - } - pub unsafe fn OnReplicationOperation(&self, enumerator: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnReplicationOperation)( - windows_core::Interface::as_raw(self), - enumerator.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricSecondaryEventHandler {} -unsafe impl Sync for IFabricSecondaryEventHandler {} -#[repr(C)] -pub struct IFabricSecondaryEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnCopyComplete: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub OnReplicationOperation: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricSecurityCredentialsResult, - IFabricSecurityCredentialsResult_Vtbl, - 0x049a111d_6a30_48e9_8f69_470760d3efb9 -); -impl std::ops::Deref for IFabricSecurityCredentialsResult { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricSecurityCredentialsResult, windows_core::IUnknown); -impl IFabricSecurityCredentialsResult { - pub unsafe fn get_SecurityCredentials(&self) -> *mut super::super::FABRIC_SECURITY_CREDENTIALS { - (windows_core::Interface::vtable(self).get_SecurityCredentials)( - windows_core::Interface::as_raw(self), - ) - } -} -unsafe impl Send for IFabricSecurityCredentialsResult {} -unsafe impl Sync for IFabricSecurityCredentialsResult {} -#[repr(C)] -pub struct IFabricSecurityCredentialsResult_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_SecurityCredentials: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> *mut super::super::FABRIC_SECURITY_CREDENTIALS, -} -windows_core::imp::define_interface!( - IFabricServiceGroupFactory, - IFabricServiceGroupFactory_Vtbl, - 0x3860d61d_1e51_4a65_b109_d93c11311657 -); -impl std::ops::Deref for IFabricServiceGroupFactory { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceGroupFactory, windows_core::IUnknown); -impl IFabricServiceGroupFactory {} -unsafe impl Send for IFabricServiceGroupFactory {} -unsafe impl Sync for IFabricServiceGroupFactory {} -#[repr(C)] -pub struct IFabricServiceGroupFactory_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, -} -windows_core::imp::define_interface!( - IFabricServiceGroupFactoryBuilder, - IFabricServiceGroupFactoryBuilder_Vtbl, - 0xa9fe8b06_19b1_49e6_8911_41d9d9219e1c -); -impl std::ops::Deref for IFabricServiceGroupFactoryBuilder { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceGroupFactoryBuilder, windows_core::IUnknown); -impl IFabricServiceGroupFactoryBuilder { - pub unsafe fn AddStatelessServiceFactory( - &self, - memberservicetype: P0, - factory: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).AddStatelessServiceFactory)( - windows_core::Interface::as_raw(self), - memberservicetype.param().abi(), - factory.param().abi(), - ) - .ok() - } - pub unsafe fn AddStatefulServiceFactory( - &self, - memberservicetype: P0, - factory: P1, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - P1: windows_core::Param, - { - (windows_core::Interface::vtable(self).AddStatefulServiceFactory)( - windows_core::Interface::as_raw(self), - memberservicetype.param().abi(), - factory.param().abi(), - ) - .ok() - } - pub unsafe fn RemoveServiceFactory(&self, memberservicetype: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).RemoveServiceFactory)( - windows_core::Interface::as_raw(self), - memberservicetype.param().abi(), - ) - .ok() - } - pub unsafe fn ToServiceGroupFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).ToServiceGroupFactory)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricServiceGroupFactoryBuilder {} -unsafe impl Sync for IFabricServiceGroupFactoryBuilder {} -#[repr(C)] -pub struct IFabricServiceGroupFactoryBuilder_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub AddStatelessServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub AddStatefulServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub RemoveServiceFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub ToServiceGroupFactory: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricServiceGroupPartition, - IFabricServiceGroupPartition_Vtbl, - 0x2b24299a_7489_467f_8e7f_4507bff73b86 -); -impl std::ops::Deref for IFabricServiceGroupPartition { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricServiceGroupPartition, windows_core::IUnknown); -impl IFabricServiceGroupPartition { - pub unsafe fn ResolveMember( - &self, - name: P0, - riid: *const windows_core::GUID, - ) -> windows_core::Result<*mut core::ffi::c_void> - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).ResolveMember)( - windows_core::Interface::as_raw(self), - name.param().abi(), - riid, - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricServiceGroupPartition {} -unsafe impl Sync for IFabricServiceGroupPartition {} -#[repr(C)] -pub struct IFabricServiceGroupPartition_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub ResolveMember: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_URI, - *const windows_core::GUID, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStateProvider, - IFabricStateProvider_Vtbl, - 0x3ebfec79_bd27_43f3_8be8_da38ee723951 -); -impl std::ops::Deref for IFabricStateProvider { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStateProvider, windows_core::IUnknown); -impl IFabricStateProvider { - pub unsafe fn BeginUpdateEpoch( - &self, - epoch: *const super::super::FABRIC_EPOCH, - previousepochlastsequencenumber: i64, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginUpdateEpoch)( - windows_core::Interface::as_raw(self), - epoch, - previousepochlastsequencenumber, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndUpdateEpoch(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndUpdateEpoch)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn GetLastCommittedSequenceNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetLastCommittedSequenceNumber)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn BeginOnDataLoss( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOnDataLoss)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOnDataLoss)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetCopyContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCopyContext)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetCopyState( - &self, - uptosequencenumber: i64, - copycontextstream: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCopyState)( - windows_core::Interface::as_raw(self), - uptosequencenumber, - copycontextstream.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricStateProvider {} -unsafe impl Sync for IFabricStateProvider {} -#[repr(C)] -pub struct IFabricStateProvider_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginUpdateEpoch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_EPOCH, - i64, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndUpdateEpoch: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetLastCommittedSequenceNumber: - unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub BeginOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u8, - ) -> windows_core::HRESULT, - pub GetCopyContext: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetCopyState: unsafe extern "system" fn( - *mut core::ffi::c_void, - i64, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStateReplicator, - IFabricStateReplicator_Vtbl, - 0x89e9a978_c771_44f2_92e8_3bf271cabe9c -); -impl std::ops::Deref for IFabricStateReplicator { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStateReplicator, windows_core::IUnknown); -impl IFabricStateReplicator { - pub unsafe fn BeginReplicate( - &self, - operationdata: P0, - callback: P1, - sequencenumber: *mut i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginReplicate)( - windows_core::Interface::as_raw(self), - operationdata.param().abi(), - callback.param().abi(), - sequencenumber, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndReplicate(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndReplicate)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetReplicationStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetReplicationStream)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn GetCopyStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetCopyStream)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn UpdateReplicatorSettings( - &self, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).UpdateReplicatorSettings)( - windows_core::Interface::as_raw(self), - replicatorsettings, - ) - .ok() - } -} -unsafe impl Send for IFabricStateReplicator {} -unsafe impl Sync for IFabricStateReplicator {} -#[repr(C)] -pub struct IFabricStateReplicator_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginReplicate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndReplicate: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub GetReplicationStream: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub GetCopyStream: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub UpdateReplicatorSettings: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICATOR_SETTINGS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - UpdateReplicatorSettings: usize, -} -windows_core::imp::define_interface!( - IFabricStateReplicator2, - IFabricStateReplicator2_Vtbl, - 0x4a28d542_658f_46f9_9bf4_79b7cae25c5d -); -impl std::ops::Deref for IFabricStateReplicator2 { - type Target = IFabricStateReplicator; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStateReplicator2, - windows_core::IUnknown, - IFabricStateReplicator -); -impl IFabricStateReplicator2 { - pub unsafe fn GetReplicatorSettings( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetReplicatorSettings)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricStateReplicator2 {} -unsafe impl Sync for IFabricStateReplicator2 {} -#[repr(C)] -pub struct IFabricStateReplicator2_Vtbl { - pub base__: IFabricStateReplicator_Vtbl, - pub GetReplicatorSettings: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatefulServiceFactory, - IFabricStatefulServiceFactory_Vtbl, - 0x77ff0c6b_6780_48ec_b4b0_61989327b0f2 -); -impl std::ops::Deref for IFabricStatefulServiceFactory { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatefulServiceFactory, windows_core::IUnknown); -impl IFabricStatefulServiceFactory { - pub unsafe fn CreateReplica( - &self, - servicetypename: P0, - servicename: P1, - initializationdata: &[u8], - partitionid: windows_core::GUID, - replicaid: i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateReplica)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - servicename.param().abi(), - initializationdata.len().try_into().unwrap(), - core::mem::transmute(initializationdata.as_ptr()), - core::mem::transmute(partitionid), - replicaid, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricStatefulServiceFactory {} -unsafe impl Sync for IFabricStatefulServiceFactory {} -#[repr(C)] -pub struct IFabricStatefulServiceFactory_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub CreateReplica: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - super::super::FABRIC_URI, - u32, - *const u8, - windows_core::GUID, - i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatefulServicePartition, - IFabricStatefulServicePartition_Vtbl, - 0x5beccc37_8655_4f20_bd43_f50691d7cd16 -); -impl std::ops::Deref for IFabricStatefulServicePartition { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatefulServicePartition, windows_core::IUnknown); -impl IFabricStatefulServicePartition { - pub unsafe fn GetPartitionInfo( - &self, - ) -> windows_core::Result<*mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetPartitionInfo)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetReadStatus( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetReadStatus)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn GetWriteStatus( - &self, - ) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetWriteStatus)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn CreateReplicator( - &self, - stateprovider: P0, - replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, - replicator: *mut Option, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateReplicator)( - windows_core::Interface::as_raw(self), - stateprovider.param().abi(), - replicatorsettings, - core::mem::transmute(replicator), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn ReportLoad( - &self, - metrics: &[super::super::FABRIC_LOAD_METRIC], - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportLoad)( - windows_core::Interface::as_raw(self), - metrics.len().try_into().unwrap(), - core::mem::transmute(metrics.as_ptr()), - ) - .ok() - } - pub unsafe fn ReportFault( - &self, - faulttype: super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportFault)( - windows_core::Interface::as_raw(self), - faulttype, - ) - .ok() - } -} -unsafe impl Send for IFabricStatefulServicePartition {} -unsafe impl Sync for IFabricStatefulServicePartition {} -#[repr(C)] -pub struct IFabricStatefulServicePartition_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub GetPartitionInfo: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION, - ) -> windows_core::HRESULT, - pub GetReadStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut super::super::FABRIC_SERVICE_PARTITION_ACCESS_STATUS, - ) -> windows_core::HRESULT, - pub GetWriteStatus: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut super::super::FABRIC_SERVICE_PARTITION_ACCESS_STATUS, - ) -> windows_core::HRESULT, - #[cfg(feature = "Win32_Foundation")] - pub CreateReplicator: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *const super::super::FABRIC_REPLICATOR_SETTINGS, - *mut *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - CreateReplicator: usize, - pub ReportLoad: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *const super::super::FABRIC_LOAD_METRIC, - ) -> windows_core::HRESULT, - pub ReportFault: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatefulServicePartition1, - IFabricStatefulServicePartition1_Vtbl, - 0xc9c66f2f_9dff_4c87_bbe4_a08b4c4074cf -); -impl std::ops::Deref for IFabricStatefulServicePartition1 { - type Target = IFabricStatefulServicePartition; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatefulServicePartition1, - windows_core::IUnknown, - IFabricStatefulServicePartition -); -impl IFabricStatefulServicePartition1 { - pub unsafe fn ReportMoveCost( - &self, - movecost: super::super::FABRIC_MOVE_COST, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportMoveCost)( - windows_core::Interface::as_raw(self), - movecost, - ) - .ok() - } -} -unsafe impl Send for IFabricStatefulServicePartition1 {} -unsafe impl Sync for IFabricStatefulServicePartition1 {} -#[repr(C)] -pub struct IFabricStatefulServicePartition1_Vtbl { - pub base__: IFabricStatefulServicePartition_Vtbl, - pub ReportMoveCost: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_MOVE_COST, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatefulServicePartition2, - IFabricStatefulServicePartition2_Vtbl, - 0xdf27b476_fa25_459f_a7d3_87d3eec9c73c -); -impl std::ops::Deref for IFabricStatefulServicePartition2 { - type Target = IFabricStatefulServicePartition1; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatefulServicePartition2, - windows_core::IUnknown, - IFabricStatefulServicePartition, - IFabricStatefulServicePartition1 -); -impl IFabricStatefulServicePartition2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportReplicaHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportReplicaHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportPartitionHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportPartitionHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } -} -unsafe impl Send for IFabricStatefulServicePartition2 {} -unsafe impl Sync for IFabricStatefulServicePartition2 {} -#[repr(C)] -pub struct IFabricStatefulServicePartition2_Vtbl { - pub base__: IFabricStatefulServicePartition1_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportReplicaHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportReplicaHealth: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportPartitionHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportPartitionHealth: usize, -} -windows_core::imp::define_interface!( - IFabricStatefulServicePartition3, - IFabricStatefulServicePartition3_Vtbl, - 0x51f1269d_b061_4c1c_96cf_6508cece813b -); -impl std::ops::Deref for IFabricStatefulServicePartition3 { - type Target = IFabricStatefulServicePartition2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatefulServicePartition3, - windows_core::IUnknown, - IFabricStatefulServicePartition, - IFabricStatefulServicePartition1, - IFabricStatefulServicePartition2 -); -impl IFabricStatefulServicePartition3 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportReplicaHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportReplicaHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportPartitionHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportPartitionHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } -} -unsafe impl Send for IFabricStatefulServicePartition3 {} -unsafe impl Sync for IFabricStatefulServicePartition3 {} -#[repr(C)] -pub struct IFabricStatefulServicePartition3_Vtbl { - pub base__: IFabricStatefulServicePartition2_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportReplicaHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportReplicaHealth2: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportPartitionHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportPartitionHealth2: usize, -} -windows_core::imp::define_interface!( - IFabricStatefulServiceReplica, - IFabricStatefulServiceReplica_Vtbl, - 0x8ae3be0e_505d_4dc1_ad8f_0cb0f9576b8a -); -impl std::ops::Deref for IFabricStatefulServiceReplica { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatefulServiceReplica, windows_core::IUnknown); -impl IFabricStatefulServiceReplica { - pub unsafe fn BeginOpen( - &self, - openmode: super::super::FABRIC_REPLICA_OPEN_MODE, - partition: P0, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOpen)( - windows_core::Interface::as_raw(self), - openmode, - partition.param().abi(), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOpen(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOpen)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginChangeRole( - &self, - newrole: super::super::FABRIC_REPLICA_ROLE, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginChangeRole)( - windows_core::Interface::as_raw(self), - newrole, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndChangeRole( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndChangeRole)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginClose( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginClose)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndClose)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn Abort(&self) { - (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricStatefulServiceReplica {} -unsafe impl Sync for IFabricStatefulServiceReplica {} -#[repr(C)] -pub struct IFabricStatefulServiceReplica_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_REPLICA_OPEN_MODE, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginChangeRole: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_REPLICA_ROLE, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndChangeRole: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricStatelessServiceFactory, - IFabricStatelessServiceFactory_Vtbl, - 0xcc53af8f_74cd_11df_ac3e_0024811e3892 -); -impl std::ops::Deref for IFabricStatelessServiceFactory { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatelessServiceFactory, windows_core::IUnknown); -impl IFabricStatelessServiceFactory { - pub unsafe fn CreateInstance( - &self, - servicetypename: P0, - servicename: P1, - initializationdata: &[u8], - partitionid: windows_core::GUID, - instanceid: i64, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).CreateInstance)( - windows_core::Interface::as_raw(self), - servicetypename.param().abi(), - servicename.param().abi(), - initializationdata.len().try_into().unwrap(), - core::mem::transmute(initializationdata.as_ptr()), - core::mem::transmute(partitionid), - instanceid, - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } -} -unsafe impl Send for IFabricStatelessServiceFactory {} -unsafe impl Sync for IFabricStatelessServiceFactory {} -#[repr(C)] -pub struct IFabricStatelessServiceFactory_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub CreateInstance: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - super::super::FABRIC_URI, - u32, - *const u8, - windows_core::GUID, - i64, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatelessServiceInstance, - IFabricStatelessServiceInstance_Vtbl, - 0xcc53af90_74cd_11df_ac3e_0024811e3892 -); -impl std::ops::Deref for IFabricStatelessServiceInstance { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatelessServiceInstance, windows_core::IUnknown); -impl IFabricStatelessServiceInstance { - pub unsafe fn BeginOpen( - &self, - partition: P0, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOpen)( - windows_core::Interface::as_raw(self), - partition.param().abi(), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOpen( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOpen)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginClose( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginClose)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndClose)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn Abort(&self) { - (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricStatelessServiceInstance {} -unsafe impl Sync for IFabricStatelessServiceInstance {} -#[repr(C)] -pub struct IFabricStatelessServiceInstance_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricStatelessServicePartition, - IFabricStatelessServicePartition_Vtbl, - 0xcc53af91_74cd_11df_ac3e_0024811e3892 -); -impl std::ops::Deref for IFabricStatelessServicePartition { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStatelessServicePartition, windows_core::IUnknown); -impl IFabricStatelessServicePartition { - pub unsafe fn GetPartitionInfo( - &self, - ) -> windows_core::Result<*mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION> { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).GetPartitionInfo)( - windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn ReportLoad( - &self, - metrics: &[super::super::FABRIC_LOAD_METRIC], - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportLoad)( - windows_core::Interface::as_raw(self), - metrics.len().try_into().unwrap(), - core::mem::transmute(metrics.as_ptr()), - ) - .ok() - } - pub unsafe fn ReportFault( - &self, - faulttype: super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportFault)( - windows_core::Interface::as_raw(self), - faulttype, - ) - .ok() - } -} -unsafe impl Send for IFabricStatelessServicePartition {} -unsafe impl Sync for IFabricStatelessServicePartition {} -#[repr(C)] -pub struct IFabricStatelessServicePartition_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub GetPartitionInfo: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION, - ) -> windows_core::HRESULT, - pub ReportLoad: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *const super::super::FABRIC_LOAD_METRIC, - ) -> windows_core::HRESULT, - pub ReportFault: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_FAULT_TYPE, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatelessServicePartition1, - IFabricStatelessServicePartition1_Vtbl, - 0xbf6bb505_7bd0_4371_b6c0_cba319a5e50b -); -impl std::ops::Deref for IFabricStatelessServicePartition1 { - type Target = IFabricStatelessServicePartition; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatelessServicePartition1, - windows_core::IUnknown, - IFabricStatelessServicePartition -); -impl IFabricStatelessServicePartition1 { - pub unsafe fn ReportMoveCost( - &self, - movecost: super::super::FABRIC_MOVE_COST, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportMoveCost)( - windows_core::Interface::as_raw(self), - movecost, - ) - .ok() - } -} -unsafe impl Send for IFabricStatelessServicePartition1 {} -unsafe impl Sync for IFabricStatelessServicePartition1 {} -#[repr(C)] -pub struct IFabricStatelessServicePartition1_Vtbl { - pub base__: IFabricStatelessServicePartition_Vtbl, - pub ReportMoveCost: unsafe extern "system" fn( - *mut core::ffi::c_void, - super::super::FABRIC_MOVE_COST, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStatelessServicePartition2, - IFabricStatelessServicePartition2_Vtbl, - 0x9ff35b6c_9d97_4312_93ad_7f34cbdb4ca4 -); -impl std::ops::Deref for IFabricStatelessServicePartition2 { - type Target = IFabricStatelessServicePartition1; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatelessServicePartition2, - windows_core::IUnknown, - IFabricStatelessServicePartition, - IFabricStatelessServicePartition1 -); -impl IFabricStatelessServicePartition2 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportInstanceHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportInstanceHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportPartitionHealth( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportPartitionHealth)( - windows_core::Interface::as_raw(self), - healthinfo, - ) - .ok() - } -} -unsafe impl Send for IFabricStatelessServicePartition2 {} -unsafe impl Sync for IFabricStatelessServicePartition2 {} -#[repr(C)] -pub struct IFabricStatelessServicePartition2_Vtbl { - pub base__: IFabricStatelessServicePartition1_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportInstanceHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportInstanceHealth: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportPartitionHealth: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportPartitionHealth: usize, -} -windows_core::imp::define_interface!( - IFabricStatelessServicePartition3, - IFabricStatelessServicePartition3_Vtbl, - 0xf2fa2000_70a7_4ed5_9d3e_0b7deca2433f -); -impl std::ops::Deref for IFabricStatelessServicePartition3 { - type Target = IFabricStatelessServicePartition2; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStatelessServicePartition3, - windows_core::IUnknown, - IFabricStatelessServicePartition, - IFabricStatelessServicePartition1, - IFabricStatelessServicePartition2 -); -impl IFabricStatelessServicePartition3 { - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportInstanceHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportInstanceHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } - #[cfg(feature = "Win32_Foundation")] - pub unsafe fn ReportPartitionHealth2( - &self, - healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, - sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::Result<()> { - (windows_core::Interface::vtable(self).ReportPartitionHealth2)( - windows_core::Interface::as_raw(self), - healthinfo, - sendoptions, - ) - .ok() - } -} -unsafe impl Send for IFabricStatelessServicePartition3 {} -unsafe impl Sync for IFabricStatelessServicePartition3 {} -#[repr(C)] -pub struct IFabricStatelessServicePartition3_Vtbl { - pub base__: IFabricStatelessServicePartition2_Vtbl, - #[cfg(feature = "Win32_Foundation")] - pub ReportInstanceHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportInstanceHealth2: usize, - #[cfg(feature = "Win32_Foundation")] - pub ReportPartitionHealth2: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_HEALTH_INFORMATION, - *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, - ) -> windows_core::HRESULT, - #[cfg(not(feature = "Win32_Foundation"))] - ReportPartitionHealth2: usize, -} -windows_core::imp::define_interface!( - IFabricStoreEventHandler, - IFabricStoreEventHandler_Vtbl, - 0x220e6da4_985b_4dee_8fe9_77521b838795 -); -impl std::ops::Deref for IFabricStoreEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStoreEventHandler, windows_core::IUnknown); -impl IFabricStoreEventHandler { - pub unsafe fn OnDataLoss(&self) { - (windows_core::Interface::vtable(self).OnDataLoss)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricStoreEventHandler {} -unsafe impl Sync for IFabricStoreEventHandler {} -#[repr(C)] -pub struct IFabricStoreEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnDataLoss: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricStoreEventHandler2, - IFabricStoreEventHandler2_Vtbl, - 0xcce4523f_614b_4d6a_98a3_1e197c0213ea -); -impl std::ops::Deref for IFabricStoreEventHandler2 { - type Target = IFabricStoreEventHandler; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricStoreEventHandler2, - windows_core::IUnknown, - IFabricStoreEventHandler -); -impl IFabricStoreEventHandler2 { - pub unsafe fn BeginOnDataLoss( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOnDataLoss)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOnDataLoss)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricStoreEventHandler2 {} -unsafe impl Sync for IFabricStoreEventHandler2 {} -#[repr(C)] -pub struct IFabricStoreEventHandler2_Vtbl { - pub base__: IFabricStoreEventHandler_Vtbl, - pub BeginOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOnDataLoss: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u8, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricStorePostBackupHandler, - IFabricStorePostBackupHandler_Vtbl, - 0x2af2e8a6_41df_4e32_9d2a_d73a711e652a -); -impl std::ops::Deref for IFabricStorePostBackupHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricStorePostBackupHandler, windows_core::IUnknown); -impl IFabricStorePostBackupHandler { - pub unsafe fn BeginPostBackup( - &self, - info: *const super::super::FABRIC_STORE_BACKUP_INFO, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginPostBackup)( - windows_core::Interface::as_raw(self), - info, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndPostBackup(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndPostBackup)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } -} -unsafe impl Send for IFabricStorePostBackupHandler {} -unsafe impl Sync for IFabricStorePostBackupHandler {} -#[repr(C)] -pub struct IFabricStorePostBackupHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginPostBackup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const super::super::FABRIC_STORE_BACKUP_INFO, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndPostBackup: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut u8, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTransaction, - IFabricTransaction_Vtbl, - 0x19ee48b4_6d4d_470b_ac1e_2d3996a173c8 -); -impl std::ops::Deref for IFabricTransaction { - type Target = IFabricTransactionBase; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricTransaction, - windows_core::IUnknown, - IFabricTransactionBase -); -impl IFabricTransaction { - pub unsafe fn BeginCommit( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginCommit)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndCommit(&self, context: P0) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndCommit)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn Rollback(&self) { - (windows_core::Interface::vtable(self).Rollback)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTransaction {} -unsafe impl Sync for IFabricTransaction {} -#[repr(C)] -pub struct IFabricTransaction_Vtbl { - pub base__: IFabricTransactionBase_Vtbl, - pub BeginCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndCommit: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut i64, - ) -> windows_core::HRESULT, - pub Rollback: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricTransactionBase, - IFabricTransactionBase_Vtbl, - 0x32d656a1_7ad5_47b8_bd66_a2e302626b7e -); -impl std::ops::Deref for IFabricTransactionBase { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransactionBase, windows_core::IUnknown); -impl IFabricTransactionBase { - pub unsafe fn get_Id(&self) -> *mut windows_core::GUID { - (windows_core::Interface::vtable(self).get_Id)(windows_core::Interface::as_raw(self)) - } - pub unsafe fn get_IsolationLevel(&self) -> super::super::FABRIC_TRANSACTION_ISOLATION_LEVEL { - (windows_core::Interface::vtable(self).get_IsolationLevel)(windows_core::Interface::as_raw( - self, - )) - } -} -unsafe impl Send for IFabricTransactionBase {} -unsafe impl Sync for IFabricTransactionBase {} -#[repr(C)] -pub struct IFabricTransactionBase_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub get_Id: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut windows_core::GUID, - pub get_IsolationLevel: - unsafe extern "system" fn( - *mut core::ffi::c_void, - ) -> super::super::FABRIC_TRANSACTION_ISOLATION_LEVEL, -} -pub const FabricRuntime: windows_core::GUID = - windows_core::GUID::from_u128(0xcc53af8c_74cd_11df_ac3e_0024811e3892); -pub type FnFabricMain = Option< - unsafe extern "system" fn( - runtime: Option, - activationcontext: Option, - ) -> windows_core::HRESULT, ->; -#[cfg(feature = "implement")] -core::include!("impl.rs"); diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/mod.rs b/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/mod.rs deleted file mode 100644 index 7a47cb23..00000000 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/mod.rs +++ /dev/null @@ -1,849 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -#[inline] -pub unsafe fn CreateFabricTransportClient( - interfaceid: *const windows_core::GUID, - settings: *const FABRIC_TRANSPORT_SETTINGS, - connectionaddress: P0, - notificationhandler: P1, - clienteventhandler: P2, - messagedisposer: P3, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, - P3: windows_core::Param, -{ - #[link(name = "FabricTransport")] - extern "system" { - pub fn CreateFabricTransportClient( - interfaceid: *const windows_core::GUID, - settings: *const FABRIC_TRANSPORT_SETTINGS, - connectionaddress: windows_core::PCWSTR, - notificationhandler: *mut core::ffi::c_void, - clienteventhandler: *mut core::ffi::c_void, - messagedisposer: *mut core::ffi::c_void, - client: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - CreateFabricTransportClient( - interfaceid, - settings, - connectionaddress.param().abi(), - notificationhandler.param().abi(), - clienteventhandler.param().abi(), - messagedisposer.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -#[inline] -pub unsafe fn CreateFabricTransportListener( - interfaceid: *const windows_core::GUID, - settings: *const FABRIC_TRANSPORT_SETTINGS, - address: *const FABRIC_TRANSPORT_LISTEN_ADDRESS, - requesthandler: P0, - connectionhandler: P1, - disposeprocessor: P2, -) -> windows_core::Result -where - P0: windows_core::Param, - P1: windows_core::Param, - P2: windows_core::Param, -{ - #[link(name = "FabricTransport")] - extern "system" { - pub fn CreateFabricTransportListener( - interfaceid: *const windows_core::GUID, - settings: *const FABRIC_TRANSPORT_SETTINGS, - address: *const FABRIC_TRANSPORT_LISTEN_ADDRESS, - requesthandler: *mut core::ffi::c_void, - connectionhandler: *mut core::ffi::c_void, - disposeprocessor: *mut core::ffi::c_void, - listener: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT; - } - let mut result__ = std::mem::zeroed(); - CreateFabricTransportListener( - interfaceid, - settings, - address, - requesthandler.param().abi(), - connectionhandler.param().abi(), - disposeprocessor.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) -} -windows_core::imp::define_interface!( - IFabricTransportCallbackMessageHandler, - IFabricTransportCallbackMessageHandler_Vtbl, - 0x9ba8ac7a_3464_4774_b9b9_1d7f0f1920ba -); -impl std::ops::Deref for IFabricTransportCallbackMessageHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!( - IFabricTransportCallbackMessageHandler, - windows_core::IUnknown -); -impl IFabricTransportCallbackMessageHandler { - pub unsafe fn HandleOneWay(&self, message: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).HandleOneWay)( - windows_core::Interface::as_raw(self), - message.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricTransportCallbackMessageHandler {} -unsafe impl Sync for IFabricTransportCallbackMessageHandler {} -#[repr(C)] -pub struct IFabricTransportCallbackMessageHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub HandleOneWay: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTransportClient, - IFabricTransportClient_Vtbl, - 0x5b0634fe_6a52_4bd9_8059_892c72c1d73a -); -impl std::ops::Deref for IFabricTransportClient { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportClient, windows_core::IUnknown); -impl IFabricTransportClient { - pub unsafe fn BeginRequest( - &self, - message: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginRequest)( - windows_core::Interface::as_raw(self), - message.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndRequest( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndRequest)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn Send(&self, message: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).Send)( - windows_core::Interface::as_raw(self), - message.param().abi(), - ) - .ok() - } - pub unsafe fn BeginOpen( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOpen)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOpen(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndOpen)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginClose( - &self, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginClose)( - windows_core::Interface::as_raw(self), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndClose)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn Abort(&self) { - (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTransportClient {} -unsafe impl Sync for IFabricTransportClient {} -#[repr(C)] -pub struct IFabricTransportClient_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginRequest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndRequest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Send: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricTransportClientConnection, - IFabricTransportClientConnection_Vtbl, - 0xa54c17f7_fe94_4838_b14d_e9b5c258e2d0 -); -impl std::ops::Deref for IFabricTransportClientConnection { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportClientConnection, windows_core::IUnknown); -impl IFabricTransportClientConnection { - pub unsafe fn Send(&self, message: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).Send)( - windows_core::Interface::as_raw(self), - message.param().abi(), - ) - .ok() - } - pub unsafe fn get_ClientId(&self) -> *mut u16 { - (windows_core::Interface::vtable(self).get_ClientId)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTransportClientConnection {} -unsafe impl Sync for IFabricTransportClientConnection {} -#[repr(C)] -pub struct IFabricTransportClientConnection_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub Send: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub get_ClientId: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut u16, -} -windows_core::imp::define_interface!( - IFabricTransportClientEventHandler, - IFabricTransportClientEventHandler_Vtbl, - 0x4935ab6f_a8bc_4b10_a69e_7a3ba3324892 -); -impl std::ops::Deref for IFabricTransportClientEventHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportClientEventHandler, windows_core::IUnknown); -impl IFabricTransportClientEventHandler { - pub unsafe fn OnConnected(&self, connectionaddress: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnConnected)( - windows_core::Interface::as_raw(self), - connectionaddress.param().abi(), - ) - .ok() - } - pub unsafe fn OnDisconnected( - &self, - connectionaddress: P0, - error: windows_core::HRESULT, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).OnDisconnected)( - windows_core::Interface::as_raw(self), - connectionaddress.param().abi(), - error, - ) - .ok() - } -} -unsafe impl Send for IFabricTransportClientEventHandler {} -unsafe impl Sync for IFabricTransportClientEventHandler {} -#[repr(C)] -pub struct IFabricTransportClientEventHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub OnConnected: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - ) -> windows_core::HRESULT, - pub OnDisconnected: unsafe extern "system" fn( - *mut core::ffi::c_void, - windows_core::PCWSTR, - windows_core::HRESULT, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTransportConnectionHandler, - IFabricTransportConnectionHandler_Vtbl, - 0xb069692d_e8f0_4f25_a3b6_b2992598a64c -); -impl std::ops::Deref for IFabricTransportConnectionHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportConnectionHandler, windows_core::IUnknown); -impl IFabricTransportConnectionHandler { - pub unsafe fn BeginProcessConnect( - &self, - clientconnection: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProcessConnect)( - windows_core::Interface::as_raw(self), - clientconnection.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProcessConnect(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProcessConnect)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn BeginProcessDisconnect( - &self, - clientid: *const u16, - timeoutmilliseconds: u32, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProcessDisconnect)( - windows_core::Interface::as_raw(self), - clientid, - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProcessDisconnect(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndProcessDisconnect)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricTransportConnectionHandler {} -unsafe impl Sync for IFabricTransportConnectionHandler {} -#[repr(C)] -pub struct IFabricTransportConnectionHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginProcessConnect: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProcessConnect: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginProcessDisconnect: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const u16, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProcessDisconnect: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -windows_core::imp::define_interface!( - IFabricTransportListener, - IFabricTransportListener_Vtbl, - 0x1b63a266_1eeb_4f3e_8886_521458980d10 -); -impl std::ops::Deref for IFabricTransportListener { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportListener, windows_core::IUnknown); -impl IFabricTransportListener { - pub unsafe fn BeginOpen( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginOpen)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndOpen( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndOpen)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn BeginClose( - &self, - callback: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginClose)( - windows_core::Interface::as_raw(self), - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).EndClose)( - windows_core::Interface::as_raw(self), - context.param().abi(), - ) - .ok() - } - pub unsafe fn Abort(&self) { - (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTransportListener {} -unsafe impl Sync for IFabricTransportListener {} -#[repr(C)] -pub struct IFabricTransportListener_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndOpen: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub BeginClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndClose: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricTransportMessage, - IFabricTransportMessage_Vtbl, - 0xb4357dab_ef06_465f_b453_938f3b0ad4b5 -); -impl std::ops::Deref for IFabricTransportMessage { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportMessage, windows_core::IUnknown); -impl IFabricTransportMessage { - pub unsafe fn GetHeaderAndBodyBuffer( - &self, - headerbuffer: *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, - msgbuffercount: *mut u32, - msgbuffers: *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, - ) { - (windows_core::Interface::vtable(self).GetHeaderAndBodyBuffer)( - windows_core::Interface::as_raw(self), - headerbuffer, - msgbuffercount, - msgbuffers, - ) - } - pub unsafe fn Dispose(&self) { - (windows_core::Interface::vtable(self).Dispose)(windows_core::Interface::as_raw(self)) - } -} -unsafe impl Send for IFabricTransportMessage {} -unsafe impl Sync for IFabricTransportMessage {} -#[repr(C)] -pub struct IFabricTransportMessage_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub GetHeaderAndBodyBuffer: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, - *mut u32, - *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, - ), - pub Dispose: unsafe extern "system" fn(*mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricTransportMessageDisposer, - IFabricTransportMessageDisposer_Vtbl, - 0x914097f3_a821_46ea_b3d9_feafe5f7c4a9 -); -impl std::ops::Deref for IFabricTransportMessageDisposer { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportMessageDisposer, windows_core::IUnknown); -impl IFabricTransportMessageDisposer { - pub unsafe fn Dispose(&self, messages: &[Option]) { - (windows_core::Interface::vtable(self).Dispose)( - windows_core::Interface::as_raw(self), - messages.len().try_into().unwrap(), - core::mem::transmute(messages.as_ptr()), - ) - } -} -unsafe impl Send for IFabricTransportMessageDisposer {} -unsafe impl Sync for IFabricTransportMessageDisposer {} -#[repr(C)] -pub struct IFabricTransportMessageDisposer_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub Dispose: - unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void), -} -windows_core::imp::define_interface!( - IFabricTransportMessageHandler, - IFabricTransportMessageHandler_Vtbl, - 0x6815bdb4_1479_4c44_8b9d_57d6d0cc9d64 -); -impl std::ops::Deref for IFabricTransportMessageHandler { - type Target = windows_core::IUnknown; - fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } - } -} -windows_core::imp::interface_hierarchy!(IFabricTransportMessageHandler, windows_core::IUnknown); -impl IFabricTransportMessageHandler { - pub unsafe fn BeginProcessRequest( - &self, - clientid: *const u16, - message: P0, - timeoutmilliseconds: u32, - callback: P1, - ) -> windows_core::Result - where - P0: windows_core::Param, - P1: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).BeginProcessRequest)( - windows_core::Interface::as_raw(self), - clientid, - message.param().abi(), - timeoutmilliseconds, - callback.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn EndProcessRequest( - &self, - context: P0, - ) -> windows_core::Result - where - P0: windows_core::Param, - { - let mut result__ = std::mem::zeroed(); - (windows_core::Interface::vtable(self).EndProcessRequest)( - windows_core::Interface::as_raw(self), - context.param().abi(), - &mut result__, - ) - .and_then(|| windows_core::Type::from_abi(result__)) - } - pub unsafe fn HandleOneWay( - &self, - clientid: *const u16, - message: P0, - ) -> windows_core::Result<()> - where - P0: windows_core::Param, - { - (windows_core::Interface::vtable(self).HandleOneWay)( - windows_core::Interface::as_raw(self), - clientid, - message.param().abi(), - ) - .ok() - } -} -unsafe impl Send for IFabricTransportMessageHandler {} -unsafe impl Sync for IFabricTransportMessageHandler {} -#[repr(C)] -pub struct IFabricTransportMessageHandler_Vtbl { - pub base__: windows_core::IUnknown_Vtbl, - pub BeginProcessRequest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const u16, - *mut core::ffi::c_void, - u32, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub EndProcessRequest: unsafe extern "system" fn( - *mut core::ffi::c_void, - *mut core::ffi::c_void, - *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT, - pub HandleOneWay: unsafe extern "system" fn( - *mut core::ffi::c_void, - *const u16, - *mut core::ffi::c_void, - ) -> windows_core::HRESULT, -} -#[repr(C)] -pub struct FABRIC_TRANSPORT_LISTEN_ADDRESS { - pub IPAddressOrFQDN: windows_core::PCWSTR, - pub Port: u32, - pub Path: windows_core::PCWSTR, -} -impl Copy for FABRIC_TRANSPORT_LISTEN_ADDRESS {} -impl Clone for FABRIC_TRANSPORT_LISTEN_ADDRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_TRANSPORT_LISTEN_ADDRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_TRANSPORT_LISTEN_ADDRESS") - .field("IPAddressOrFQDN", &self.IPAddressOrFQDN) - .field("Port", &self.Port) - .field("Path", &self.Path) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_TRANSPORT_LISTEN_ADDRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_TRANSPORT_LISTEN_ADDRESS { - fn eq(&self, other: &Self) -> bool { - self.IPAddressOrFQDN == other.IPAddressOrFQDN - && self.Port == other.Port - && self.Path == other.Path - } -} -impl Eq for FABRIC_TRANSPORT_LISTEN_ADDRESS {} -impl Default for FABRIC_TRANSPORT_LISTEN_ADDRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_TRANSPORT_MESSAGE_BUFFER { - pub BufferSize: u32, - pub Buffer: *mut u8, -} -impl Copy for FABRIC_TRANSPORT_MESSAGE_BUFFER {} -impl Clone for FABRIC_TRANSPORT_MESSAGE_BUFFER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_TRANSPORT_MESSAGE_BUFFER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_TRANSPORT_MESSAGE_BUFFER") - .field("BufferSize", &self.BufferSize) - .field("Buffer", &self.Buffer) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_TRANSPORT_MESSAGE_BUFFER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_TRANSPORT_MESSAGE_BUFFER { - fn eq(&self, other: &Self) -> bool { - self.BufferSize == other.BufferSize && self.Buffer == other.Buffer - } -} -impl Eq for FABRIC_TRANSPORT_MESSAGE_BUFFER {} -impl Default for FABRIC_TRANSPORT_MESSAGE_BUFFER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_TRANSPORT_SETTINGS { - pub OperationTimeoutInSeconds: u32, - pub KeepAliveTimeoutInSeconds: u32, - pub MaxMessageSize: u32, - pub MaxConcurrentCalls: u32, - pub MaxQueueSize: u32, - pub SecurityCredentials: *const super::super::FABRIC_SECURITY_CREDENTIALS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_TRANSPORT_SETTINGS {} -impl Clone for FABRIC_TRANSPORT_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_TRANSPORT_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_TRANSPORT_SETTINGS") - .field("OperationTimeoutInSeconds", &self.OperationTimeoutInSeconds) - .field("KeepAliveTimeoutInSeconds", &self.KeepAliveTimeoutInSeconds) - .field("MaxMessageSize", &self.MaxMessageSize) - .field("MaxConcurrentCalls", &self.MaxConcurrentCalls) - .field("MaxQueueSize", &self.MaxQueueSize) - .field("SecurityCredentials", &self.SecurityCredentials) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_TRANSPORT_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_TRANSPORT_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.OperationTimeoutInSeconds == other.OperationTimeoutInSeconds - && self.KeepAliveTimeoutInSeconds == other.KeepAliveTimeoutInSeconds - && self.MaxMessageSize == other.MaxMessageSize - && self.MaxConcurrentCalls == other.MaxConcurrentCalls - && self.MaxQueueSize == other.MaxQueueSize - && self.SecurityCredentials == other.SecurityCredentials - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_TRANSPORT_SETTINGS {} -impl Default for FABRIC_TRANSPORT_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[cfg(feature = "implement")] -core::include!("impl.rs"); diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/impl.rs b/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/impl.rs deleted file mode 100644 index 7352cf27..00000000 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/impl.rs +++ /dev/null @@ -1,216 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -pub trait IFabricAsyncOperationCallback_Impl: Sized { - fn Invoke(&self, context: Option<&IFabricAsyncOperationContext>); -} -impl windows_core::RuntimeName for IFabricAsyncOperationCallback {} -impl IFabricAsyncOperationCallback_Vtbl { - pub const fn new< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationCallback_Impl, - const OFFSET: isize, - >() -> IFabricAsyncOperationCallback_Vtbl { - unsafe extern "system" fn Invoke< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationCallback_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - context: *mut core::ffi::c_void, - ) { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricAsyncOperationCallback_Impl::Invoke( - this, - windows_core::from_raw_borrowed(&context), - ) - } - Self { - base__: windows_core::IUnknown_Vtbl::new::(), - Invoke: Invoke::, - } - } - pub fn matches(iid: &windows_core::GUID) -> bool { - iid == &::IID - } -} -#[cfg(feature = "Win32_Foundation")] -pub trait IFabricAsyncOperationContext_Impl: Sized { - fn IsCompleted(&self) -> windows::Win32::Foundation::BOOLEAN; - fn CompletedSynchronously(&self) -> windows::Win32::Foundation::BOOLEAN; - fn Callback(&self) -> windows_core::Result; - fn Cancel(&self) -> windows_core::Result<()>; -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::RuntimeName for IFabricAsyncOperationContext {} -#[cfg(feature = "Win32_Foundation")] -impl IFabricAsyncOperationContext_Vtbl { - pub const fn new< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationContext_Impl, - const OFFSET: isize, - >() -> IFabricAsyncOperationContext_Vtbl { - unsafe extern "system" fn IsCompleted< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationContext_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - ) -> windows::Win32::Foundation::BOOLEAN { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricAsyncOperationContext_Impl::IsCompleted(this) - } - unsafe extern "system" fn CompletedSynchronously< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationContext_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - ) -> windows::Win32::Foundation::BOOLEAN { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricAsyncOperationContext_Impl::CompletedSynchronously(this) - } - unsafe extern "system" fn Callback< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationContext_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - callback: *mut *mut core::ffi::c_void, - ) -> windows_core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match IFabricAsyncOperationContext_Impl::Callback(this) { - Ok(ok__) => { - core::ptr::write(callback, core::mem::transmute(ok__)); - windows_core::HRESULT(0) - } - Err(err) => err.into(), - } - } - unsafe extern "system" fn Cancel< - Identity: windows_core::IUnknownImpl, - Impl: IFabricAsyncOperationContext_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - ) -> windows_core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricAsyncOperationContext_Impl::Cancel(this).into() - } - Self { - base__: windows_core::IUnknown_Vtbl::new::(), - IsCompleted: IsCompleted::, - CompletedSynchronously: CompletedSynchronously::, - Callback: Callback::, - Cancel: Cancel::, - } - } - pub fn matches(iid: &windows_core::GUID) -> bool { - iid == &::IID - } -} -pub trait IFabricGetReplicatorStatusResult_Impl: Sized { - fn get_ReplicatorStatus(&self) -> *mut super::FABRIC_REPLICATOR_STATUS_QUERY_RESULT; -} -impl windows_core::RuntimeName for IFabricGetReplicatorStatusResult {} -impl IFabricGetReplicatorStatusResult_Vtbl { - pub const fn new< - Identity: windows_core::IUnknownImpl, - Impl: IFabricGetReplicatorStatusResult_Impl, - const OFFSET: isize, - >() -> IFabricGetReplicatorStatusResult_Vtbl { - unsafe extern "system" fn get_ReplicatorStatus< - Identity: windows_core::IUnknownImpl, - Impl: IFabricGetReplicatorStatusResult_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - ) -> *mut super::FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricGetReplicatorStatusResult_Impl::get_ReplicatorStatus(this) - } - Self { - base__: windows_core::IUnknown_Vtbl::new::(), - get_ReplicatorStatus: get_ReplicatorStatus::, - } - } - pub fn matches(iid: &windows_core::GUID) -> bool { - iid == &::IID - } -} -pub trait IFabricStringListResult_Impl: Sized { - fn GetStrings(&self, itemcount: *mut u32) -> windows_core::Result<*mut windows_core::PCWSTR>; -} -impl windows_core::RuntimeName for IFabricStringListResult {} -impl IFabricStringListResult_Vtbl { - pub const fn new< - Identity: windows_core::IUnknownImpl, - Impl: IFabricStringListResult_Impl, - const OFFSET: isize, - >() -> IFabricStringListResult_Vtbl { - unsafe extern "system" fn GetStrings< - Identity: windows_core::IUnknownImpl, - Impl: IFabricStringListResult_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - itemcount: *mut u32, - buffereditems: *mut *mut windows_core::PCWSTR, - ) -> windows_core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - match IFabricStringListResult_Impl::GetStrings( - this, - core::mem::transmute_copy(&itemcount), - ) { - Ok(ok__) => { - core::ptr::write(buffereditems, core::mem::transmute(ok__)); - windows_core::HRESULT(0) - } - Err(err) => err.into(), - } - } - Self { - base__: windows_core::IUnknown_Vtbl::new::(), - GetStrings: GetStrings::, - } - } - pub fn matches(iid: &windows_core::GUID) -> bool { - iid == &::IID - } -} -pub trait IFabricStringResult_Impl: Sized { - fn get_String(&self) -> windows_core::PCWSTR; -} -impl windows_core::RuntimeName for IFabricStringResult {} -impl IFabricStringResult_Vtbl { - pub const fn new< - Identity: windows_core::IUnknownImpl, - Impl: IFabricStringResult_Impl, - const OFFSET: isize, - >() -> IFabricStringResult_Vtbl { - unsafe extern "system" fn get_String< - Identity: windows_core::IUnknownImpl, - Impl: IFabricStringResult_Impl, - const OFFSET: isize, - >( - this: *mut core::ffi::c_void, - ) -> windows_core::PCWSTR { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - IFabricStringResult_Impl::get_String(this) - } - Self { - base__: windows_core::IUnknown_Vtbl::new::(), - get_String: get_String::, - } - } - pub fn matches(iid: &windows_core::GUID) -> bool { - iid == &::IID - } -} diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/mod.rs b/crates/libs/com/src/Microsoft/ServiceFabric/mod.rs deleted file mode 100644 index 6bf6e628..00000000 --- a/crates/libs/com/src/Microsoft/ServiceFabric/mod.rs +++ /dev/null @@ -1,30657 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -#[cfg(feature = "ServiceFabric_FabricCommon")] -pub mod FabricCommon; -pub const FABRIC_APPLICATION_DEFINITION_KIND_COMPOSE: FABRIC_APPLICATION_DEFINITION_KIND = - FABRIC_APPLICATION_DEFINITION_KIND(1i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_ALL: FABRIC_APPLICATION_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_DEFINITION_KIND_FILTER(65535i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_COMPOSE: - FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(2i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_DEFAULT: - FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(0i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(4i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(1i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_INVALID: FABRIC_APPLICATION_DEFINITION_KIND = - FABRIC_APPLICATION_DEFINITION_KIND(65535i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_DEFINITION_KIND = FABRIC_APPLICATION_DEFINITION_KIND(2i32); -pub const FABRIC_APPLICATION_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_DEFINITION_KIND = FABRIC_APPLICATION_DEFINITION_KIND(0i32); -pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_AUTOMATIC: - FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(2i32); -pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_DEFAULT: - FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(1i32); -pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_INVALID: - FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(0i32); -pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_MANUAL: - FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(3i32); -pub const FABRIC_APPLICATION_STATUS_CREATING: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(3i32); -pub const FABRIC_APPLICATION_STATUS_DELETING: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(4i32); -pub const FABRIC_APPLICATION_STATUS_FAILED: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(5i32); -pub const FABRIC_APPLICATION_STATUS_INVALID: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(0i32); -pub const FABRIC_APPLICATION_STATUS_READY: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(1i32); -pub const FABRIC_APPLICATION_STATUS_UPGRADING: FABRIC_APPLICATION_STATUS = - FABRIC_APPLICATION_STATUS(2i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_COMPOSE: FABRIC_APPLICATION_TYPE_DEFINITION_KIND = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND(2i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_ALL: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(65535i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_COMPOSE: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(2i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_DEFAULT: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(0i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(4i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_PACKAGE: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(1i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_INVALID: FABRIC_APPLICATION_TYPE_DEFINITION_KIND = - FABRIC_APPLICATION_TYPE_DEFINITION_KIND(0i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND = FABRIC_APPLICATION_TYPE_DEFINITION_KIND(3i32); -pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_PACKAGE: - FABRIC_APPLICATION_TYPE_DEFINITION_KIND = FABRIC_APPLICATION_TYPE_DEFINITION_KIND(1i32); -pub const FABRIC_APPLICATION_TYPE_STATUS_AVAILABLE: FABRIC_APPLICATION_TYPE_STATUS = - FABRIC_APPLICATION_TYPE_STATUS(2i32); -pub const FABRIC_APPLICATION_TYPE_STATUS_FAILED: FABRIC_APPLICATION_TYPE_STATUS = - FABRIC_APPLICATION_TYPE_STATUS(4i32); -pub const FABRIC_APPLICATION_TYPE_STATUS_INVALID: FABRIC_APPLICATION_TYPE_STATUS = - FABRIC_APPLICATION_TYPE_STATUS(0i32); -pub const FABRIC_APPLICATION_TYPE_STATUS_PROVISIONING: FABRIC_APPLICATION_TYPE_STATUS = - FABRIC_APPLICATION_TYPE_STATUS(1i32); -pub const FABRIC_APPLICATION_TYPE_STATUS_UNPROVISIONING: FABRIC_APPLICATION_TYPE_STATUS = - FABRIC_APPLICATION_TYPE_STATUS(3i32); -pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MAXNODES: - FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(2i32); -pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_METRICS: - FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(4i32); -pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MINNODES: - FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(1i32); -pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_NONE: - FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(0i32); -pub const FABRIC_APPLICATION_UPGRADE_KIND_INVALID: FABRIC_APPLICATION_UPGRADE_KIND = - FABRIC_APPLICATION_UPGRADE_KIND(0i32); -pub const FABRIC_APPLICATION_UPGRADE_KIND_ROLLING: FABRIC_APPLICATION_UPGRADE_KIND = - FABRIC_APPLICATION_UPGRADE_KIND(1i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_FAILED: FABRIC_APPLICATION_UPGRADE_STATE = - FABRIC_APPLICATION_UPGRADE_STATE(6i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_INVALID: FABRIC_APPLICATION_UPGRADE_STATE = - FABRIC_APPLICATION_UPGRADE_STATE(0i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_COMPLETED: - FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(2i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS: - FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(1i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_PENDING: FABRIC_APPLICATION_UPGRADE_STATE = - FABRIC_APPLICATION_UPGRADE_STATE(7i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED: - FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(5i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS: - FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(4i32); -pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_PENDING: - FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(3i32); -pub const FABRIC_AUTO_SEQUENCE_NUMBER: u32 = 0u32; -pub const FABRIC_CHAOS_EVENT_KIND_EXECUTING_FAULTS: FABRIC_CHAOS_EVENT_KIND = - FABRIC_CHAOS_EVENT_KIND(2i32); -pub const FABRIC_CHAOS_EVENT_KIND_INVALID: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(0i32); -pub const FABRIC_CHAOS_EVENT_KIND_STARTED: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(1i32); -pub const FABRIC_CHAOS_EVENT_KIND_STOPPED: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(6i32); -pub const FABRIC_CHAOS_EVENT_KIND_TEST_ERROR: FABRIC_CHAOS_EVENT_KIND = - FABRIC_CHAOS_EVENT_KIND(5i32); -pub const FABRIC_CHAOS_EVENT_KIND_VALIDATION_FAILED: FABRIC_CHAOS_EVENT_KIND = - FABRIC_CHAOS_EVENT_KIND(4i32); -pub const FABRIC_CHAOS_EVENT_KIND_WAITING: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(3i32); -pub const FABRIC_CHAOS_SCHEDULE_STATUS_ACTIVE: FABRIC_CHAOS_SCHEDULE_STATUS = - FABRIC_CHAOS_SCHEDULE_STATUS(1i32); -pub const FABRIC_CHAOS_SCHEDULE_STATUS_EXPIRED: FABRIC_CHAOS_SCHEDULE_STATUS = - FABRIC_CHAOS_SCHEDULE_STATUS(2i32); -pub const FABRIC_CHAOS_SCHEDULE_STATUS_INVALID: FABRIC_CHAOS_SCHEDULE_STATUS = - FABRIC_CHAOS_SCHEDULE_STATUS(0i32); -pub const FABRIC_CHAOS_SCHEDULE_STATUS_PENDING: FABRIC_CHAOS_SCHEDULE_STATUS = - FABRIC_CHAOS_SCHEDULE_STATUS(3i32); -pub const FABRIC_CHAOS_SCHEDULE_STATUS_STOPPED: FABRIC_CHAOS_SCHEDULE_STATUS = - FABRIC_CHAOS_SCHEDULE_STATUS(4i32); -pub const FABRIC_CHAOS_STATUS_INVALID: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(0i32); -pub const FABRIC_CHAOS_STATUS_RUNNING: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(1i32); -pub const FABRIC_CHAOS_STATUS_STOPPED: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(2i32); -pub const FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_AAD: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND = - FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(1i32); -pub const FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_NONE: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND = - FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(0i32); -pub const FABRIC_CLIENT_ROLE_ADMIN: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(2i32); -pub const FABRIC_CLIENT_ROLE_UNKNOWN: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(0i32); -pub const FABRIC_CLIENT_ROLE_USER: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(1i32); -pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_CONTAINERHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = - FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(4i32); -pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_DLLHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = - FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(3i32); -pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_EXEHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = - FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(2i32); -pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_INVALID: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = - FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(0i32); -pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_NONE: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = - FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(1i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_HEALTH: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(4i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_INVALID: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(0i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_READY: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(3i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_STARTED: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(2i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_START_FAILED: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(1i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_STOPPED: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(5i32); -pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_TERMINATED: FABRIC_CODE_PACKAGE_EVENT_TYPE = - FABRIC_CODE_PACKAGE_EVENT_TYPE(6i32); -pub const FABRIC_DATA_LOSS_MODE_FULL: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(2i32); -pub const FABRIC_DATA_LOSS_MODE_INVALID: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(0i32); -pub const FABRIC_DATA_LOSS_MODE_PARTIAL: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(1i32); -pub const FABRIC_DEPLOYMENT_STATUS_ACTIVATING: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(2i32); -pub const FABRIC_DEPLOYMENT_STATUS_ACTIVE: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(3i32); -pub const FABRIC_DEPLOYMENT_STATUS_DEACTIVATING: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(5i32); -pub const FABRIC_DEPLOYMENT_STATUS_DOWNLOADING: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(1i32); -pub const FABRIC_DEPLOYMENT_STATUS_INVALID: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(0i32); -pub const FABRIC_DEPLOYMENT_STATUS_UPGRADING: FABRIC_DEPLOYMENT_STATUS = - FABRIC_DEPLOYMENT_STATUS(4i32); -pub const FABRIC_DIAGNOSTICS_SINKS_KIND_AZUREINTERNAL: FABRIC_DIAGNOSTICS_SINKS_KIND = - FABRIC_DIAGNOSTICS_SINKS_KIND(1i32); -pub const FABRIC_DIAGNOSTICS_SINKS_KIND_INVALID: FABRIC_DIAGNOSTICS_SINKS_KIND = - FABRIC_DIAGNOSTICS_SINKS_KIND(0i32); -pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_INVALID: FABRIC_DLLHOST_HOSTED_DLL_KIND = - FABRIC_DLLHOST_HOSTED_DLL_KIND(0i32); -pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_MANAGED: FABRIC_DLLHOST_HOSTED_DLL_KIND = - FABRIC_DLLHOST_HOSTED_DLL_KIND(2i32); -pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_UNMANAGED: FABRIC_DLLHOST_HOSTED_DLL_KIND = - FABRIC_DLLHOST_HOSTED_DLL_KIND(1i32); -pub const FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_DOMAIN: FABRIC_DLLHOST_ISOLATION_POLICY = - FABRIC_DLLHOST_ISOLATION_POLICY(2i32); -pub const FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_PROCESS: FABRIC_DLLHOST_ISOLATION_POLICY = - FABRIC_DLLHOST_ISOLATION_POLICY(3i32); -pub const FABRIC_DLLHOST_ISOLATION_POLICY_INVALID: FABRIC_DLLHOST_ISOLATION_POLICY = - FABRIC_DLLHOST_ISOLATION_POLICY(0i32); -pub const FABRIC_DLLHOST_ISOLATION_POLICY_SHARED_DOMAIN: FABRIC_DLLHOST_ISOLATION_POLICY = - FABRIC_DLLHOST_ISOLATION_POLICY(1i32); -pub const FABRIC_ENTRY_POINT_STATUS_INVALID: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(0i32); -pub const FABRIC_ENTRY_POINT_STATUS_PENDING: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(1i32); -pub const FABRIC_ENTRY_POINT_STATUS_STARTED: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(3i32); -pub const FABRIC_ENTRY_POINT_STATUS_STARTING: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(2i32); -pub const FABRIC_ENTRY_POINT_STATUS_STOPPED: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(5i32); -pub const FABRIC_ENTRY_POINT_STATUS_STOPPING: FABRIC_ENTRY_POINT_STATUS = - FABRIC_ENTRY_POINT_STATUS(4i32); -pub const FABRIC_ENUMERATION_BEST_EFFORT_FINISHED: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(4i32); -pub const FABRIC_ENUMERATION_BEST_EFFORT_MASK: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(5i32); -pub const FABRIC_ENUMERATION_BEST_EFFORT_MORE_DATA: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(1i32); -pub const FABRIC_ENUMERATION_CONSISTENT_FINISHED: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(8i32); -pub const FABRIC_ENUMERATION_CONSISTENT_MASK: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(10i32); -pub const FABRIC_ENUMERATION_CONSISTENT_MORE_DATA: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(2i32); -pub const FABRIC_ENUMERATION_FINISHED_MASK: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(12i32); -pub const FABRIC_ENUMERATION_INVALID: FABRIC_ENUMERATION_STATUS = FABRIC_ENUMERATION_STATUS(0i32); -pub const FABRIC_ENUMERATION_MORE_DATA_MASK: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(3i32); -pub const FABRIC_ENUMERATION_VALID_MASK: FABRIC_ENUMERATION_STATUS = - FABRIC_ENUMERATION_STATUS(15i32); -pub const FABRIC_EXEHOST_WORKING_FOLDER_CODE_BASE: FABRIC_EXEHOST_WORKING_FOLDER = - FABRIC_EXEHOST_WORKING_FOLDER(3i32); -pub const FABRIC_EXEHOST_WORKING_FOLDER_CODE_PACKAGE: FABRIC_EXEHOST_WORKING_FOLDER = - FABRIC_EXEHOST_WORKING_FOLDER(2i32); -pub const FABRIC_EXEHOST_WORKING_FOLDER_INVALID: FABRIC_EXEHOST_WORKING_FOLDER = - FABRIC_EXEHOST_WORKING_FOLDER(0i32); -pub const FABRIC_EXEHOST_WORKING_FOLDER_WORK: FABRIC_EXEHOST_WORKING_FOLDER = - FABRIC_EXEHOST_WORKING_FOLDER(1i32); -pub const FABRIC_E_ACQUIRE_FILE_LOCK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017662i32); -pub const FABRIC_E_ALREADY_STOPPED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017634i32); -pub const FABRIC_E_APPLICATION_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017764i32); -pub const FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017721i32); -pub const FABRIC_E_APPLICATION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017763i32); -pub const FABRIC_E_APPLICATION_NOT_UPGRADING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017722i32); -pub const FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017767i32); -pub const FABRIC_E_APPLICATION_TYPE_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017765i32); -pub const FABRIC_E_APPLICATION_TYPE_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017766i32); -pub const FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017768i32); -pub const FABRIC_E_APPLICATION_UPDATE_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017648i32); -pub const FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017762i32); -pub const FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017761i32); -pub const FABRIC_E_BACKUPCOPIER_ACCESS_DENIED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017601i32); -pub const FABRIC_E_BACKUPCOPIER_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017602i32); -pub const FABRIC_E_BACKUPCOPIER_UNEXPECTED_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017603i32); -pub const FABRIC_E_BACKUP_DIRECTORY_NOT_EMPTY: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017664i32); -pub const FABRIC_E_BACKUP_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017672i32); -pub const FABRIC_E_BACKUP_IS_ENABLED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017612i32); -pub const FABRIC_E_BACKUP_NOT_ENABLED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017613i32); -pub const FABRIC_E_BACKUP_POLICY_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017610i32); -pub const FABRIC_E_BACKUP_POLICY_DOES_NOT_EXIST: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017611i32); -pub const FABRIC_E_CANNOT_CONNECT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017652i32); -pub const FABRIC_E_CENTRAL_SECRET_SERVICE_GENERIC: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017594i32); -pub const FABRIC_E_CERTIFICATE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017641i32); -pub const FABRIC_E_CHAOS_ALREADY_RUNNING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017640i32); -pub const FABRIC_E_CM_OPERATION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017643i32); -pub const FABRIC_E_CODE_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017733i32); -pub const FABRIC_E_COMMUNICATION_ERROR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017796i32); -pub const FABRIC_E_COMPOSE_DEPLOYMENT_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017619i32); -pub const FABRIC_E_COMPOSE_DEPLOYMENT_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017618i32); -pub const FABRIC_E_COMPOSE_DEPLOYMENT_NOT_UPGRADING: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017589i32); -pub const FABRIC_E_CONFIGURATION_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017735i32); -pub const FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017756i32); -pub const FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017757i32); -pub const FABRIC_E_CONFIG_UPGRADE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017627i32); -pub const FABRIC_E_CONNECTION_CLOSED_BY_REMOTE_END: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017646i32); -pub const FABRIC_E_CONNECTION_DENIED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017661i32); -pub const FABRIC_E_CONSTRAINT_KEY_UNDEFINED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017659i32); -pub const FABRIC_E_CONSTRAINT_NOT_SATISFIED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017650i32); -pub const FABRIC_E_CONTAINER_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017606i32); -pub const FABRIC_E_CORRUPTED_IMAGE_STORE_OBJECT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017723i32); -pub const FABRIC_E_DATABASE_MIGRATION_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017595i32); -pub const FABRIC_E_DATA_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017734i32); -pub const FABRIC_E_DECRYPTION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017736i32); -pub const FABRIC_E_DELETE_BACKUP_FILE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017647i32); -pub const FABRIC_E_DIRECTORY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017727i32); -pub const FABRIC_E_DNS_NAME_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017620i32); -pub const FABRIC_E_DNS_SERVICE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017622i32); -pub const FABRIC_E_DUPLICATE_BACKUPS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017637i32); -pub const FABRIC_E_DUPLICATE_SERVICE_NOTIFICATION_FILTER_NAME: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017671i32); -pub const FABRIC_E_ENCRYPTION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017707i32); -pub const FABRIC_E_ENDPOINT_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017649i32); -pub const FABRIC_E_ENDPOINT_NOT_REFERENCED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017585i32); -pub const FABRIC_E_ENUMERATION_COMPLETED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017769i32); -pub const FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017716i32); -pub const FABRIC_E_FABRIC_DATA_ROOT_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017639i32); -pub const FABRIC_E_FABRIC_NOT_UPGRADING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017715i32); -pub const FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017714i32); -pub const FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017713i32); -pub const FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017717i32); -pub const FABRIC_E_FABRIC_VERSION_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017718i32); -pub const FABRIC_E_FABRIC_VERSION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017719i32); -pub const FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_ENABLED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017607i32); -pub const FABRIC_E_FILE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017728i32); -pub const FABRIC_E_FIRST_RESERVED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017796i32); -pub const FABRIC_E_FORCE_NOT_SUPPORTED_FOR_REPLICA_OPERATION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017663i32); -pub const FABRIC_E_GATEWAY_NOT_REACHABLE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017655i32); -pub const FABRIC_E_HEALTH_ENTITY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017705i32); -pub const FABRIC_E_HEALTH_MAX_REPORTS_REACHED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017712i32); -pub const FABRIC_E_HEALTH_STALE_REPORT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017711i32); -pub const FABRIC_E_IMAGEBUILDER_ACCESS_DENIED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017693i32); -pub const FABRIC_E_IMAGEBUILDER_INVALID_MSI_FILE: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017692i32); -pub const FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017642i32); -pub const FABRIC_E_IMAGEBUILDER_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017694i32); -pub const FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017720i32); -pub const FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017754i32); -pub const FABRIC_E_IMAGESTORE_IOERROR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017724i32); -pub const FABRIC_E_INSTANCE_ID_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017680i32); -pub const FABRIC_E_INSUFFICIENT_CLUSTER_CAPACITY: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017677i32); -pub const FABRIC_E_INVALID_ADDRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017795i32); -pub const FABRIC_E_INVALID_ALLOWED_COMMON_NAME_LIST: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017738i32); -pub const FABRIC_E_INVALID_ATOMIC_GROUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017706i32); -pub const FABRIC_E_INVALID_BACKUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017631i32); -pub const FABRIC_E_INVALID_BACKUP_CHAIN: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017636i32); -pub const FABRIC_E_INVALID_BACKUP_SETTING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017674i32); -pub const FABRIC_E_INVALID_CONFIGURATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017755i32); -pub const FABRIC_E_INVALID_CREDENTIALS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017737i32); -pub const FABRIC_E_INVALID_CREDENTIAL_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017746i32); -pub const FABRIC_E_INVALID_DIRECTORY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017726i32); -pub const FABRIC_E_INVALID_DNS_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017621i32); -pub const FABRIC_E_INVALID_DURATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017629i32); -pub const FABRIC_E_INVALID_FOR_STATEFUL_SERVICES: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017617i32); -pub const FABRIC_E_INVALID_FOR_STATELESS_SERVICES: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017616i32); -pub const FABRIC_E_INVALID_INSTANCE_ID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017630i32); -pub const FABRIC_E_INVALID_NAME_URI: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017794i32); -pub const FABRIC_E_INVALID_OPERATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017731i32); -pub const FABRIC_E_INVALID_PACKAGE_SHARING_POLICY: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017676i32); -pub const FABRIC_E_INVALID_PARTITION_KEY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017793i32); -pub const FABRIC_E_INVALID_PARTITION_OPERATION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017667i32); -pub const FABRIC_E_INVALID_PARTITION_SELECTOR: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017624i32); -pub const FABRIC_E_INVALID_PROTECTION_LEVEL: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017741i32); -pub const FABRIC_E_INVALID_REPLICA_OPERATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017670i32); -pub const FABRIC_E_INVALID_REPLICA_SELECTOR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017623i32); -pub const FABRIC_E_INVALID_REPLICA_STATE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017669i32); -pub const FABRIC_E_INVALID_RESTORE_DATA: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017638i32); -pub const FABRIC_E_INVALID_SERVICE_SCALING_POLICY: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017600i32); -pub const FABRIC_E_INVALID_SERVICE_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017695i32); -pub const FABRIC_E_INVALID_SUBJECT_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017739i32); -pub const FABRIC_E_INVALID_TEST_COMMAND_STATE: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017645i32); -pub const FABRIC_E_INVALID_UPLOAD_SESSION_ID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017614i32); -pub const FABRIC_E_INVALID_X509_FIND_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017745i32); -pub const FABRIC_E_INVALID_X509_NAME_LIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017657i32); -pub const FABRIC_E_INVALID_X509_STORE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017740i32); -pub const FABRIC_E_INVALID_X509_STORE_LOCATION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017744i32); -pub const FABRIC_E_INVALID_X509_STORE_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017743i32); -pub const FABRIC_E_INVALID_X509_THUMBPRINT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017742i32); -pub const FABRIC_E_KEY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017709i32); -pub const FABRIC_E_KEY_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017710i32); -pub const FABRIC_E_LAST_RESERVED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017397i32); -pub const FABRIC_E_LAST_USED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017585i32); -pub const FABRIC_E_LOADBALANCER_NOT_READY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017668i32); -pub const FABRIC_E_MESSAGE_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017651i32); -pub const FABRIC_E_MISSING_FULL_BACKUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017673i32); -pub const FABRIC_E_MULTITHREADED_TRANSACTIONS_NOT_ALLOWED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017658i32); -pub const FABRIC_E_NAME_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017792i32); -pub const FABRIC_E_NAME_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017791i32); -pub const FABRIC_E_NAME_NOT_EMPTY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017790i32); -pub const FABRIC_E_NETWORK_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017586i32); -pub const FABRIC_E_NETWORK_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017587i32); -pub const FABRIC_E_NODE_HAS_NOT_STOPPED_YET: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017678i32); -pub const FABRIC_E_NODE_IS_DOWN: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017633i32); -pub const FABRIC_E_NODE_IS_UP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017788i32); -pub const FABRIC_E_NODE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017789i32); -pub const FABRIC_E_NODE_TRANSITION_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017632i32); -pub const FABRIC_E_NOT_PRIMARY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017786i32); -pub const FABRIC_E_NOT_READABLE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017604i32); -pub const FABRIC_E_NOT_READY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017785i32); -pub const FABRIC_E_NO_WRITE_QUORUM: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017787i32); -pub const FABRIC_E_OBJECT_CLOSED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017730i32); -pub const FABRIC_E_OBJECT_DISPOSED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017605i32); -pub const FABRIC_E_ONLY_VALID_FOR_STATEFUL_PERSISTENT_SERVICES: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017615i32); -pub const FABRIC_E_OPERATION_NOT_COMPLETE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017784i32); -pub const FABRIC_E_OPERATION_NOT_SUPPORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017590i32); -pub const FABRIC_E_PARTITION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017753i32); -pub const FABRIC_E_PATH_TOO_LONG: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017725i32); -pub const FABRIC_E_PREDEPLOYMENT_NOT_ALLOWED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017675i32); -pub const FABRIC_E_PRIMARY_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017666i32); -pub const FABRIC_E_PROCESS_ABORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017748i32); -pub const FABRIC_E_PROCESS_DEACTIVATED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017749i32); -pub const FABRIC_E_PROPERTY_CHECK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017771i32); -pub const FABRIC_E_PROPERTY_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017783i32); -pub const FABRIC_E_RECONFIGURATION_PENDING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017782i32); -pub const FABRIC_E_RELIABLE_SESSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017702i32); -pub const FABRIC_E_RELIABLE_SESSION_CANNOT_CONNECT: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017701i32); -pub const FABRIC_E_RELIABLE_SESSION_INVALID_TARGET_PARTITION: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017683i32); -pub const FABRIC_E_RELIABLE_SESSION_MANAGER_ALREADY_LISTENING: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017698i32); -pub const FABRIC_E_RELIABLE_SESSION_MANAGER_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017700i32); -pub const FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017697i32); -pub const FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_LISTENING: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017696i32); -pub const FABRIC_E_RELIABLE_SESSION_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017687i32); -pub const FABRIC_E_RELIABLE_SESSION_QUEUE_EMPTY: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017686i32); -pub const FABRIC_E_RELIABLE_SESSION_QUOTA_EXCEEDED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017685i32); -pub const FABRIC_E_RELIABLE_SESSION_REJECTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017699i32); -pub const FABRIC_E_RELIABLE_SESSION_SERVICE_FAULTED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017684i32); -pub const FABRIC_E_RELIABLE_SESSION_TRANSPORT_STARTUP_FAILURE: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017703i32); -pub const FABRIC_E_REPAIR_TASK_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017689i32); -pub const FABRIC_E_REPAIR_TASK_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017688i32); -pub const FABRIC_E_REPLICATION_OPERATION_TOO_LARGE: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017681i32); -pub const FABRIC_E_REPLICATION_QUEUE_FULL: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017781i32); -pub const FABRIC_E_REPLICA_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017752i32); -pub const FABRIC_E_RESTORE_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017609i32); -pub const FABRIC_E_RESTORE_SAFE_CHECK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017628i32); -pub const FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017608i32); -pub const FABRIC_E_SECONDARY_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017665i32); -pub const FABRIC_E_SECRET_INVALID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017593i32); -pub const FABRIC_E_SECRET_TYPE_CANNOT_BE_CHANGED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017588i32); -pub const FABRIC_E_SECRET_VERSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017592i32); -pub const FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017708i32); -pub const FABRIC_E_SERVER_AUTHENTICATION_FAILED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017660i32); -pub const FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017776i32); -pub const FABRIC_E_SERVICE_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017780i32); -pub const FABRIC_E_SERVICE_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017779i32); -pub const FABRIC_E_SERVICE_ENDPOINT_RESOURCE_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017732i32); -pub const FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017751i32); -pub const FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017750i32); -pub const FABRIC_E_SERVICE_MANIFEST_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017704i32); -pub const FABRIC_E_SERVICE_METADATA_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017777i32); -pub const FABRIC_E_SERVICE_OFFLINE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017778i32); -pub const FABRIC_E_SERVICE_TOO_BUSY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017691i32); -pub const FABRIC_E_SERVICE_TYPE_ALREADY_REGISTERED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017775i32); -pub const FABRIC_E_SERVICE_TYPE_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017759i32); -pub const FABRIC_E_SERVICE_TYPE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017760i32); -pub const FABRIC_E_SERVICE_TYPE_NOT_REGISTERED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017774i32); -pub const FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017758i32); -pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017599i32); -pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017598i32); -pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017591i32); -pub const FABRIC_E_STOP_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017635i32); -pub const FABRIC_E_TEST_COMMAND_OPERATION_ID_ALREADY_EXISTS: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017644i32); -pub const FABRIC_E_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017729i32); -pub const FABRIC_E_TRANSACTION_ABORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017653i32); -pub const FABRIC_E_TRANSACTION_NOT_ACTIVE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017690i32); -pub const FABRIC_E_TRANSACTION_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017682i32); -pub const FABRIC_E_UPGRADE_DOMAIN_ALREADY_COMPLETED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017679i32); -pub const FABRIC_E_UPGRADE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017747i32); -pub const FABRIC_E_UPLOAD_SESSION_ID_CONFLICT: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017625i32); -pub const FABRIC_E_UPLOAD_SESSION_RANGE_NOT_SATISFIABLE: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017626i32); -pub const FABRIC_E_USER_ROLE_CLIENT_CERTIFICATE_NOT_CONFIGURED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017654i32); -pub const FABRIC_E_VALUE_EMPTY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017772i32); -pub const FABRIC_E_VALUE_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017773i32); -pub const FABRIC_E_VERBOSE_FM_PLACEMENT_HEALTH_REPORTING_REQUIRED: FABRIC_ERROR_CODE = - FABRIC_ERROR_CODE(-2147017656i32); -pub const FABRIC_E_VOLUME_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017597i32); -pub const FABRIC_E_VOLUME_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017596i32); -pub const FABRIC_E_WRITE_CONFLICT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017770i32); -pub const FABRIC_FAULT_TYPE_INVALID: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(0i32); -pub const FABRIC_FAULT_TYPE_PERMANENT: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(1i32); -pub const FABRIC_FAULT_TYPE_TRANSIENT: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(2i32); -pub const FABRIC_HEALTH_ENTITY_KIND_APPLICATION: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(4i32); -pub const FABRIC_HEALTH_ENTITY_KIND_CLUSTER: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(8i32); -pub const FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(6i32); -pub const FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(7i32); -pub const FABRIC_HEALTH_ENTITY_KIND_INVALID: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(0i32); -pub const FABRIC_HEALTH_ENTITY_KIND_NODE: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(1i32); -pub const FABRIC_HEALTH_ENTITY_KIND_PARTITION: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(2i32); -pub const FABRIC_HEALTH_ENTITY_KIND_REPLICA: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(5i32); -pub const FABRIC_HEALTH_ENTITY_KIND_SERVICE: FABRIC_HEALTH_ENTITY_KIND = - FABRIC_HEALTH_ENTITY_KIND(3i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(18i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATIONS: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(8i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATION_TYPE_APPLICATIONS: - FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(21i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_DELTA_NODES_CHECK: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(19i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(17i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATIONS: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(5i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(16i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGES: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(4i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_EVENT: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(1i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_INVALID: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(0i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_NODE: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(12i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_NODES: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(7i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_PARTITION: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(14i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_PARTITIONS: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(3i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_REPLICA: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(13i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_REPLICAS: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(2i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_SERVICE: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(15i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_SERVICES: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(6i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_SYSTEM_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(9i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DELTA_NODES_CHECK: - FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(20i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS: - FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(10i32); -pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_NODES: FABRIC_HEALTH_EVALUATION_KIND = - FABRIC_HEALTH_EVALUATION_KIND(11i32); -pub const FABRIC_HEALTH_REPORT_INFINITE_TTL: u32 = 0u32; -pub const FABRIC_HEALTH_REPORT_KIND_APPLICATION: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(6i32); -pub const FABRIC_HEALTH_REPORT_KIND_CLUSTER: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(9i32); -pub const FABRIC_HEALTH_REPORT_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(7i32); -pub const FABRIC_HEALTH_REPORT_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(8i32); -pub const FABRIC_HEALTH_REPORT_KIND_INVALID: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(0i32); -pub const FABRIC_HEALTH_REPORT_KIND_NODE: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(4i32); -pub const FABRIC_HEALTH_REPORT_KIND_PARTITION: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(3i32); -pub const FABRIC_HEALTH_REPORT_KIND_SERVICE: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(5i32); -pub const FABRIC_HEALTH_REPORT_KIND_STATEFUL_SERVICE_REPLICA: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(1i32); -pub const FABRIC_HEALTH_REPORT_KIND_STATELESS_SERVICE_INSTANCE: FABRIC_HEALTH_REPORT_KIND = - FABRIC_HEALTH_REPORT_KIND(2i32); -pub const FABRIC_HEALTH_STATE_ERROR: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(3i32); -pub const FABRIC_HEALTH_STATE_FILTER_ALL: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(65535i32); -pub const FABRIC_HEALTH_STATE_FILTER_DEFAULT: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(0i32); -pub const FABRIC_HEALTH_STATE_FILTER_ERROR: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(8i32); -pub const FABRIC_HEALTH_STATE_FILTER_NONE: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(1i32); -pub const FABRIC_HEALTH_STATE_FILTER_OK: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(2i32); -pub const FABRIC_HEALTH_STATE_FILTER_WARNING: FABRIC_HEALTH_STATE_FILTER = - FABRIC_HEALTH_STATE_FILTER(4i32); -pub const FABRIC_HEALTH_STATE_INVALID: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(0i32); -pub const FABRIC_HEALTH_STATE_OK: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(1i32); -pub const FABRIC_HEALTH_STATE_UNKNOWN: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(65535i32); -pub const FABRIC_HEALTH_STATE_WARNING: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(2i32); -pub const FABRIC_HOST_ISOLATION_MODE_HYPER_V: FABRIC_HOST_ISOLATION_MODE = - FABRIC_HOST_ISOLATION_MODE(2i32); -pub const FABRIC_HOST_ISOLATION_MODE_NONE: FABRIC_HOST_ISOLATION_MODE = - FABRIC_HOST_ISOLATION_MODE(0i32); -pub const FABRIC_HOST_ISOLATION_MODE_PROCESS: FABRIC_HOST_ISOLATION_MODE = - FABRIC_HOST_ISOLATION_MODE(1i32); -pub const FABRIC_HOST_TYPE_CONTAINER_HOST: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(2i32); -pub const FABRIC_HOST_TYPE_EXE_HOST: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(1i32); -pub const FABRIC_HOST_TYPE_INVALID: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(0i32); -pub const FABRIC_IGNORE_SEQUENCE_NUMBER_CHECK: u32 = 0u32; -pub const FABRIC_INFINITE_DURATION: u32 = 4294967295u32; -pub const FABRIC_INVALID_ATOMIC_GROUP_ID: i32 = -1i32; -pub const FABRIC_INVALID_INSTANCE_ID: i32 = -1i32; -pub const FABRIC_INVALID_NODE_INSTANCE_ID: u32 = 0u32; -pub const FABRIC_INVALID_OPERATION_INDEX: u32 = 4294967295u32; -pub const FABRIC_INVALID_REPLICA_ID: i32 = -1i32; -pub const FABRIC_INVALID_SEQUENCE_NUMBER: i32 = -1i32; -pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_DEFAULT: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = - FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(0i32); -pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_LOGICAL: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = - FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(2i32); -pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_PHYSICAL: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = - FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(1i32); -pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_REBUILD: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = - FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(3i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_INACTIVE: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(0i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_MIGRATION: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(1i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_RESTORE_SOURCE_BACKUP: - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(6i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_SOURCE_DATABASE_CLEANUP: - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(4i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_ACTIVE: - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(5i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_CLEANUP: - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(3i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_SWAP: - FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(2i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_CANCELED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = - FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(3i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_COMPLETED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = - FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(2i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_FAILED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = - FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(4i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_INACTIVE: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = - FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(0i32); -pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_PROCESSING: - FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(1i32); -pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_BLOCK_SECONDARY_ACK: - FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(3i32); -pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_INVALID: - FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(0i32); -pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NONE: FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = - FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(1i32); -pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NON_BLOCKING_QUORUM_ACKED: - FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(2i32); -pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_ESE: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = - FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(1i32); -pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_TSTORE: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = - FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(2i32); -pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_UNKNOWN: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = - FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(0i32); -pub const FABRIC_LOCAL_STORE_KIND_ESE: FABRIC_LOCAL_STORE_KIND = FABRIC_LOCAL_STORE_KIND(1i32); -pub const FABRIC_LOCAL_STORE_KIND_INVALID: FABRIC_LOCAL_STORE_KIND = FABRIC_LOCAL_STORE_KIND(0i32); -pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_INVALID: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = - FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(0i32); -pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_MANUAL: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = - FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(2i32); -pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_ROLLBACK: - FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(1i32); -pub const FABRIC_MOVE_COST_HIGH: FABRIC_MOVE_COST = FABRIC_MOVE_COST(3i32); -pub const FABRIC_MOVE_COST_LOW: FABRIC_MOVE_COST = FABRIC_MOVE_COST(1i32); -pub const FABRIC_MOVE_COST_MEDIUM: FABRIC_MOVE_COST = FABRIC_MOVE_COST(2i32); -pub const FABRIC_MOVE_COST_ZERO: FABRIC_MOVE_COST = FABRIC_MOVE_COST(0i32); -pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_INVALID: FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = - FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(0i32); -pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_NODE_NAME: - FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(1i32); -pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR: - FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(2i32); -pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_INVALID: FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = - FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(0i32); -pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_NODE_NAME: - FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(1i32); -pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR: - FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(2i32); -pub const FABRIC_NETWORK_STATUS_CREATING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(2i32); -pub const FABRIC_NETWORK_STATUS_DELETING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(3i32); -pub const FABRIC_NETWORK_STATUS_FAILED: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(5i32); -pub const FABRIC_NETWORK_STATUS_FILTER_ALL: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(65535i32); -pub const FABRIC_NETWORK_STATUS_FILTER_CREATING: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(2i32); -pub const FABRIC_NETWORK_STATUS_FILTER_DEFAULT: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(0i32); -pub const FABRIC_NETWORK_STATUS_FILTER_DELETING: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(4i32); -pub const FABRIC_NETWORK_STATUS_FILTER_FAILED: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(16i32); -pub const FABRIC_NETWORK_STATUS_FILTER_READY: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(1i32); -pub const FABRIC_NETWORK_STATUS_FILTER_UPDATING: FABRIC_NETWORK_STATUS_FILTER = - FABRIC_NETWORK_STATUS_FILTER(8i32); -pub const FABRIC_NETWORK_STATUS_INVALID: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(0i32); -pub const FABRIC_NETWORK_STATUS_READY: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(1i32); -pub const FABRIC_NETWORK_STATUS_UPDATING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(4i32); -pub const FABRIC_NETWORK_TYPE_FEDERATED: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(2i32); -pub const FABRIC_NETWORK_TYPE_INVALID: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(0i32); -pub const FABRIC_NETWORK_TYPE_LOCAL: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(1i32); -pub const FABRIC_NODE_DEACTIVATION_INTENT_INVALID: FABRIC_NODE_DEACTIVATION_INTENT = - FABRIC_NODE_DEACTIVATION_INTENT(0i32); -pub const FABRIC_NODE_DEACTIVATION_INTENT_PAUSE: FABRIC_NODE_DEACTIVATION_INTENT = - FABRIC_NODE_DEACTIVATION_INTENT(1i32); -pub const FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_DATA: FABRIC_NODE_DEACTIVATION_INTENT = - FABRIC_NODE_DEACTIVATION_INTENT(3i32); -pub const FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_NODE: FABRIC_NODE_DEACTIVATION_INTENT = - FABRIC_NODE_DEACTIVATION_INTENT(4i32); -pub const FABRIC_NODE_DEACTIVATION_INTENT_RESTART: FABRIC_NODE_DEACTIVATION_INTENT = - FABRIC_NODE_DEACTIVATION_INTENT(2i32); -pub const FABRIC_NODE_DEACTIVATION_STATUS_COMPLETED: FABRIC_NODE_DEACTIVATION_STATUS = - FABRIC_NODE_DEACTIVATION_STATUS(3i32); -pub const FABRIC_NODE_DEACTIVATION_STATUS_NONE: FABRIC_NODE_DEACTIVATION_STATUS = - FABRIC_NODE_DEACTIVATION_STATUS(0i32); -pub const FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_COMPLETE: FABRIC_NODE_DEACTIVATION_STATUS = - FABRIC_NODE_DEACTIVATION_STATUS(2i32); -pub const FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_IN_PROGRESS: - FABRIC_NODE_DEACTIVATION_STATUS = FABRIC_NODE_DEACTIVATION_STATUS(1i32); -pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_CLIENT: FABRIC_NODE_DEACTIVATION_TASK_TYPE = - FABRIC_NODE_DEACTIVATION_TASK_TYPE(3i32); -pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_INFRASTRUCTURE: FABRIC_NODE_DEACTIVATION_TASK_TYPE = - FABRIC_NODE_DEACTIVATION_TASK_TYPE(1i32); -pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_INVALID: FABRIC_NODE_DEACTIVATION_TASK_TYPE = - FABRIC_NODE_DEACTIVATION_TASK_TYPE(0i32); -pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_REPAIR: FABRIC_NODE_DEACTIVATION_TASK_TYPE = - FABRIC_NODE_DEACTIVATION_TASK_TYPE(2i32); -pub const FABRIC_NODE_TRANSITION_TYPE_INVALID: FABRIC_NODE_TRANSITION_TYPE = - FABRIC_NODE_TRANSITION_TYPE(0i32); -pub const FABRIC_NODE_TRANSITION_TYPE_START: FABRIC_NODE_TRANSITION_TYPE = - FABRIC_NODE_TRANSITION_TYPE(1i32); -pub const FABRIC_NODE_TRANSITION_TYPE_STOP: FABRIC_NODE_TRANSITION_TYPE = - FABRIC_NODE_TRANSITION_TYPE(2i32); -pub const FABRIC_NODE_UPGRADE_PHASE_INVALID: FABRIC_NODE_UPGRADE_PHASE = - FABRIC_NODE_UPGRADE_PHASE(0i32); -pub const FABRIC_NODE_UPGRADE_PHASE_POST_UPGRADE_SAFETY_CHECK: FABRIC_NODE_UPGRADE_PHASE = - FABRIC_NODE_UPGRADE_PHASE(3i32); -pub const FABRIC_NODE_UPGRADE_PHASE_PRE_UPGRADE_SAFETY_CHECK: FABRIC_NODE_UPGRADE_PHASE = - FABRIC_NODE_UPGRADE_PHASE(1i32); -pub const FABRIC_NODE_UPGRADE_PHASE_UPGRADING: FABRIC_NODE_UPGRADE_PHASE = - FABRIC_NODE_UPGRADE_PHASE(2i32); -pub const FABRIC_OPERATION_TYPE_ATOMIC_GROUP_OPERATION: FABRIC_OPERATION_TYPE = - FABRIC_OPERATION_TYPE(32i32); -pub const FABRIC_OPERATION_TYPE_COMMIT_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = - FABRIC_OPERATION_TYPE(64i32); -pub const FABRIC_OPERATION_TYPE_CREATE_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = - FABRIC_OPERATION_TYPE(16i32); -pub const FABRIC_OPERATION_TYPE_END_OF_STREAM: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(2i32); -pub const FABRIC_OPERATION_TYPE_HAS_ATOMIC_GROUP_MASK: FABRIC_OPERATION_TYPE = - FABRIC_OPERATION_TYPE(240i32); -pub const FABRIC_OPERATION_TYPE_INVALID: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(0i32); -pub const FABRIC_OPERATION_TYPE_NORMAL: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(1i32); -pub const FABRIC_OPERATION_TYPE_ROLLBACK_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = - FABRIC_OPERATION_TYPE(128i32); -pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_ALL: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = - FABRIC_PACKAGE_SHARING_POLICY_SCOPE(1i32); -pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CODE: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = - FABRIC_PACKAGE_SHARING_POLICY_SCOPE(2i32); -pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CONFIG: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = - FABRIC_PACKAGE_SHARING_POLICY_SCOPE(3i32); -pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_DATA: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = - FABRIC_PACKAGE_SHARING_POLICY_SCOPE(4i32); -pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_NONE: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = - FABRIC_PACKAGE_SHARING_POLICY_SCOPE(0i32); -pub const FABRIC_PARTITION_KEY_TYPE_INT64: FABRIC_PARTITION_KEY_TYPE = - FABRIC_PARTITION_KEY_TYPE(2i32); -pub const FABRIC_PARTITION_KEY_TYPE_INVALID: FABRIC_PARTITION_KEY_TYPE = - FABRIC_PARTITION_KEY_TYPE(0i32); -pub const FABRIC_PARTITION_KEY_TYPE_NONE: FABRIC_PARTITION_KEY_TYPE = - FABRIC_PARTITION_KEY_TYPE(1i32); -pub const FABRIC_PARTITION_KEY_TYPE_STRING: FABRIC_PARTITION_KEY_TYPE = - FABRIC_PARTITION_KEY_TYPE(3i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(7i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(2i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(6i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(3i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(4i32); -pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(5i32); -pub const FABRIC_PARTITION_SCHEME_INVALID: FABRIC_PARTITION_SCHEME = FABRIC_PARTITION_SCHEME(0i32); -pub const FABRIC_PARTITION_SCHEME_NAMED: FABRIC_PARTITION_SCHEME = FABRIC_PARTITION_SCHEME(3i32); -pub const FABRIC_PARTITION_SCHEME_SINGLETON: FABRIC_PARTITION_SCHEME = - FABRIC_PARTITION_SCHEME(1i32); -pub const FABRIC_PARTITION_SCHEME_UNIFORM_INT64_RANGE: FABRIC_PARTITION_SCHEME = - FABRIC_PARTITION_SCHEME(2i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_NAMED: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(2i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_NONE: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(0i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_PARTITION_ID: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(4i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_RANDOM: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(5i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_SINGLETON: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(1i32); -pub const FABRIC_PARTITION_SELECTOR_TYPE_UNIFORM_INT64: FABRIC_PARTITION_SELECTOR_TYPE = - FABRIC_PARTITION_SELECTOR_TYPE(3i32); -pub const FABRIC_PLACEMENT_POLICY_INVALID: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(0i32); -pub const FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(1i32); -pub const FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(5i32); -pub const FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(3i32); -pub const FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(2i32); -pub const FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION: FABRIC_PLACEMENT_POLICY_TYPE = - FABRIC_PLACEMENT_POLICY_TYPE(4i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_EXISTS: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(3i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_SEQUENCE: - FABRIC_PROPERTY_BATCH_OPERATION_KIND = FABRIC_PROPERTY_BATCH_OPERATION_KIND(4i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_VALUE: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(7i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_DELETE: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(5i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_GET: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(2i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_INVALID: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(0i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(1i32); -pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT_CUSTOM: FABRIC_PROPERTY_BATCH_OPERATION_KIND = - FABRIC_PROPERTY_BATCH_OPERATION_KIND(6i32); -pub const FABRIC_PROPERTY_TYPE_BINARY: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(1i32); -pub const FABRIC_PROPERTY_TYPE_DOUBLE: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(3i32); -pub const FABRIC_PROPERTY_TYPE_GUID: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(5i32); -pub const FABRIC_PROPERTY_TYPE_INT64: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(2i32); -pub const FABRIC_PROPERTY_TYPE_INVALID: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(0i32); -pub const FABRIC_PROPERTY_TYPE_WSTRING: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(4i32); -pub const FABRIC_PROTECTION_LEVEL_ENCRYPTANDSIGN: FABRIC_PROTECTION_LEVEL = - FABRIC_PROTECTION_LEVEL(2i32); -pub const FABRIC_PROTECTION_LEVEL_NONE: FABRIC_PROTECTION_LEVEL = FABRIC_PROTECTION_LEVEL(0i32); -pub const FABRIC_PROTECTION_LEVEL_SIGN: FABRIC_PROTECTION_LEVEL = FABRIC_PROTECTION_LEVEL(1i32); -pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_EXTERNAL_STORE: - FABRIC_PROVISION_APPLICATION_TYPE_KIND = FABRIC_PROVISION_APPLICATION_TYPE_KIND(2i32); -pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_IMAGE_STORE_PATH: - FABRIC_PROVISION_APPLICATION_TYPE_KIND = FABRIC_PROVISION_APPLICATION_TYPE_KIND(1i32); -pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_INVALID: FABRIC_PROVISION_APPLICATION_TYPE_KIND = - FABRIC_PROVISION_APPLICATION_TYPE_KIND(0i32); -pub const FABRIC_QUERY_NODE_STATUS_DISABLED: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(5i32); -pub const FABRIC_QUERY_NODE_STATUS_DISABLING: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(4i32); -pub const FABRIC_QUERY_NODE_STATUS_DOWN: FABRIC_QUERY_NODE_STATUS = FABRIC_QUERY_NODE_STATUS(2i32); -pub const FABRIC_QUERY_NODE_STATUS_ENABLING: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(3i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_ALL: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(65535i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_DEFAULT: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(0i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_DISABLED: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(16i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_DISABLING: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(8i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_DOWN: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(2i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_ENABLING: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(4i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_REMOVED: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(64i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_UNKNOWN: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(32i32); -pub const FABRIC_QUERY_NODE_STATUS_FILTER_UP: FABRIC_QUERY_NODE_STATUS_FILTER = - FABRIC_QUERY_NODE_STATUS_FILTER(1i32); -pub const FABRIC_QUERY_NODE_STATUS_INVALID: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(0i32); -pub const FABRIC_QUERY_NODE_STATUS_REMOVED: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(7i32); -pub const FABRIC_QUERY_NODE_STATUS_UNKNOWN: FABRIC_QUERY_NODE_STATUS = - FABRIC_QUERY_NODE_STATUS(6i32); -pub const FABRIC_QUERY_NODE_STATUS_UP: FABRIC_QUERY_NODE_STATUS = FABRIC_QUERY_NODE_STATUS(1i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ABORT: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(32i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_BUILD: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(256i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CHANGEROLE: - FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(4i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CLOSE: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(16i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_INVALID: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(0i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_NONE: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(1i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ONDATALOSS: - FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(64i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_OPEN: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = - FABRIC_QUERY_REPLICATOR_OPERATION_NAME(2i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_UPDATEEPOCH: - FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(8i32); -pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_WAITFORCATCHUP: - FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(128i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_ABORT: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(16i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_CHANGEROLE: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(4i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_CLOSE: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(8i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_INVALID: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(0i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_NONE: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(1i32); -pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_OPEN: FABRIC_QUERY_SERVICE_OPERATION_NAME = - FABRIC_QUERY_SERVICE_OPERATION_NAME(2i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_DELETING: FABRIC_QUERY_SERVICE_PARTITION_STATUS = - FABRIC_QUERY_SERVICE_PARTITION_STATUS(5i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_INVALID: FABRIC_QUERY_SERVICE_PARTITION_STATUS = - FABRIC_QUERY_SERVICE_PARTITION_STATUS(0i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_IN_QUORUM_LOSS: - FABRIC_QUERY_SERVICE_PARTITION_STATUS = FABRIC_QUERY_SERVICE_PARTITION_STATUS(3i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_NOT_READY: FABRIC_QUERY_SERVICE_PARTITION_STATUS = - FABRIC_QUERY_SERVICE_PARTITION_STATUS(2i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_READY: FABRIC_QUERY_SERVICE_PARTITION_STATUS = - FABRIC_QUERY_SERVICE_PARTITION_STATUS(1i32); -pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_RECONFIGURING: - FABRIC_QUERY_SERVICE_PARTITION_STATUS = FABRIC_QUERY_SERVICE_PARTITION_STATUS(4i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_DOWN: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(4i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_DROPPED: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(5i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_ALL: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(65535i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DEFAULT: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(0i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DOWN: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(8i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DROPPED: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(16i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_INBUILD: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(1i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_READY: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(4i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_STANDBY: - FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(2i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_INBUILD: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(1i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_INVALID: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(0i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_READY: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(3i32); -pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_STANDBY: FABRIC_QUERY_SERVICE_REPLICA_STATUS = - FABRIC_QUERY_SERVICE_REPLICA_STATUS(2i32); -pub const FABRIC_QUERY_SERVICE_STATUS_ACTIVE: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(1i32); -pub const FABRIC_QUERY_SERVICE_STATUS_CREATING: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(4i32); -pub const FABRIC_QUERY_SERVICE_STATUS_DELETING: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(3i32); -pub const FABRIC_QUERY_SERVICE_STATUS_FAILED: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(5i32); -pub const FABRIC_QUERY_SERVICE_STATUS_UNKNOWN: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(0i32); -pub const FABRIC_QUERY_SERVICE_STATUS_UPGRADING: FABRIC_QUERY_SERVICE_STATUS = - FABRIC_QUERY_SERVICE_STATUS(2i32); -pub const FABRIC_QUORUM_LOSS_MODE_ALL_REPLICAS: FABRIC_QUORUM_LOSS_MODE = - FABRIC_QUORUM_LOSS_MODE(2i32); -pub const FABRIC_QUORUM_LOSS_MODE_INVALID: FABRIC_QUORUM_LOSS_MODE = FABRIC_QUORUM_LOSS_MODE(0i32); -pub const FABRIC_QUORUM_LOSS_MODE_QUORUM_REPLICAS: FABRIC_QUORUM_LOSS_MODE = - FABRIC_QUORUM_LOSS_MODE(1i32); -pub const FABRIC_RECONFIGURATION_ABORT_PHASE_ZERO: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(7i32); -pub const FABRIC_RECONFIGURATION_PHASE_FOUR: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(6i32); -pub const FABRIC_RECONFIGURATION_PHASE_INVALID: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(0i32); -pub const FABRIC_RECONFIGURATION_PHASE_NONE: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(1i32); -pub const FABRIC_RECONFIGURATION_PHASE_ONE: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(3i32); -pub const FABRIC_RECONFIGURATION_PHASE_THREE: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(5i32); -pub const FABRIC_RECONFIGURATION_PHASE_TWO: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(4i32); -pub const FABRIC_RECONFIGURATION_PHASE_ZERO: FABRIC_RECONFIGURATION_PHASE = - FABRIC_RECONFIGURATION_PHASE(2i32); -pub const FABRIC_RECONFIGURATION_TYPE_FAILOVER: FABRIC_RECONFIGURATION_TYPE = - FABRIC_RECONFIGURATION_TYPE(2i32); -pub const FABRIC_RECONFIGURATION_TYPE_INVALID: FABRIC_RECONFIGURATION_TYPE = - FABRIC_RECONFIGURATION_TYPE(0i32); -pub const FABRIC_RECONFIGURATION_TYPE_NONE: FABRIC_RECONFIGURATION_TYPE = - FABRIC_RECONFIGURATION_TYPE(4i32); -pub const FABRIC_RECONFIGURATION_TYPE_OTHER: FABRIC_RECONFIGURATION_TYPE = - FABRIC_RECONFIGURATION_TYPE(3i32); -pub const FABRIC_RECONFIGURATION_TYPE_SWAPPRIMARY: FABRIC_RECONFIGURATION_TYPE = - FABRIC_RECONFIGURATION_TYPE(1i32); -pub const FABRIC_REPAIR_IMPACT_KIND_INVALID: FABRIC_REPAIR_IMPACT_KIND = - FABRIC_REPAIR_IMPACT_KIND(0i32); -pub const FABRIC_REPAIR_IMPACT_KIND_NODE: FABRIC_REPAIR_IMPACT_KIND = - FABRIC_REPAIR_IMPACT_KIND(1i32); -pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_INVALID: FABRIC_REPAIR_NODE_IMPACT_LEVEL = - FABRIC_REPAIR_NODE_IMPACT_LEVEL(0i32); -pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_NONE: FABRIC_REPAIR_NODE_IMPACT_LEVEL = - FABRIC_REPAIR_NODE_IMPACT_LEVEL(1i32); -pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_DATA: FABRIC_REPAIR_NODE_IMPACT_LEVEL = - FABRIC_REPAIR_NODE_IMPACT_LEVEL(3i32); -pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_NODE: FABRIC_REPAIR_NODE_IMPACT_LEVEL = - FABRIC_REPAIR_NODE_IMPACT_LEVEL(4i32); -pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_RESTART: FABRIC_REPAIR_NODE_IMPACT_LEVEL = - FABRIC_REPAIR_NODE_IMPACT_LEVEL(2i32); -pub const FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_CLUSTER: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND = - FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(1i32); -pub const FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_INVALID: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND = - FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(0i32); -pub const FABRIC_REPAIR_TARGET_KIND_INVALID: FABRIC_REPAIR_TARGET_KIND = - FABRIC_REPAIR_TARGET_KIND(0i32); -pub const FABRIC_REPAIR_TARGET_KIND_NODE: FABRIC_REPAIR_TARGET_KIND = - FABRIC_REPAIR_TARGET_KIND(1i32); -pub const FABRIC_REPAIR_TASK_FLAGS_ABORT_REQUESTED: FABRIC_REPAIR_TASK_FLAGS = - FABRIC_REPAIR_TASK_FLAGS(2i32); -pub const FABRIC_REPAIR_TASK_FLAGS_CANCEL_REQUESTED: FABRIC_REPAIR_TASK_FLAGS = - FABRIC_REPAIR_TASK_FLAGS(1i32); -pub const FABRIC_REPAIR_TASK_FLAGS_FORCED_APPROVAL: FABRIC_REPAIR_TASK_FLAGS = - FABRIC_REPAIR_TASK_FLAGS(4i32); -pub const FABRIC_REPAIR_TASK_FLAGS_NONE: FABRIC_REPAIR_TASK_FLAGS = FABRIC_REPAIR_TASK_FLAGS(0i32); -pub const FABRIC_REPAIR_TASK_FLAGS_VALID_MASK: FABRIC_REPAIR_TASK_FLAGS = - FABRIC_REPAIR_TASK_FLAGS(7i32); -pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_IN_PROGRESS: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = - FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(1i32); -pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_NOT_STARTED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = - FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(0i32); -pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SKIPPED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = - FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(3i32); -pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SUCCEEDED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = - FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(2i32); -pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_TIMEDOUT: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = - FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(4i32); -pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_PREPARING_HEALTH_CHECK: - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(1i32); -pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_RESTORING_HEALTH_CHECK: - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(2i32); -pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_NONE: - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = - FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(0i32); -pub const FABRIC_REPAIR_TASK_RESULT_CANCELLED: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(2i32); -pub const FABRIC_REPAIR_TASK_RESULT_FAILED: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(8i32); -pub const FABRIC_REPAIR_TASK_RESULT_INTERRUPTED: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(4i32); -pub const FABRIC_REPAIR_TASK_RESULT_INVALID: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(0i32); -pub const FABRIC_REPAIR_TASK_RESULT_PENDING: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(16i32); -pub const FABRIC_REPAIR_TASK_RESULT_SUCCEEDED: FABRIC_REPAIR_TASK_RESULT = - FABRIC_REPAIR_TASK_RESULT(1i32); -pub const FABRIC_REPAIR_TASK_STATE_APPROVED: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(8i32); -pub const FABRIC_REPAIR_TASK_STATE_CLAIMED: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(2i32); -pub const FABRIC_REPAIR_TASK_STATE_COMPLETED: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(64i32); -pub const FABRIC_REPAIR_TASK_STATE_CREATED: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(1i32); -pub const FABRIC_REPAIR_TASK_STATE_EXECUTING: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(16i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_ACTIVE: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(63i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_ALL: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(127i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_APPROVED: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(8i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_CLAIMED: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(2i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_COMPLETED: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(64i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_CREATED: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(1i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_DEFAULT: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(0i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_EXECUTING: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(16i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_PREPARING: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(4i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_READY_TO_EXECUTE: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(24i32); -pub const FABRIC_REPAIR_TASK_STATE_FILTER_RESTORING: FABRIC_REPAIR_TASK_STATE_FILTER = - FABRIC_REPAIR_TASK_STATE_FILTER(32i32); -pub const FABRIC_REPAIR_TASK_STATE_INVALID: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(0i32); -pub const FABRIC_REPAIR_TASK_STATE_PREPARING: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(4i32); -pub const FABRIC_REPAIR_TASK_STATE_RESTORING: FABRIC_REPAIR_TASK_STATE = - FABRIC_REPAIR_TASK_STATE(32i32); -pub const FABRIC_REPLICATOR_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(1i32); -pub const FABRIC_REPLICATOR_BATCH_ACKNOWLEDGEMENT_INTERVAL: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(8i32); -pub const FABRIC_REPLICATOR_COPY_QUEUE_INITIAL_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(128i32); -pub const FABRIC_REPLICATOR_COPY_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(256i32); -pub const FABRIC_REPLICATOR_LISTEN_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(1048576i32); -pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_INITIAL_SIZE: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(65536i32); -pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(262144i32); -pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(131072i32); -pub const FABRIC_REPLICATOR_PRIMARY_WAIT_FOR_PENDING_QUORUMS_TIMEOUT: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(524288i32); -pub const FABRIC_REPLICATOR_PUBLISH_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(2097152i32); -pub const FABRIC_REPLICATOR_REPLICATION_MESSAGE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(2048i32); -pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_INITIAL_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(32i32); -pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_MEMORY_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(512i32); -pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(64i32); -pub const FABRIC_REPLICATOR_REQUIRE_SERVICE_ACK: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(16i32); -pub const FABRIC_REPLICATOR_RETRY_INTERVAL: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(4i32); -pub const FABRIC_REPLICATOR_SECONDARY_CLEAR_ACKNOWLEDGED_OPERATIONS: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(1024i32); -pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_INITIAL_SIZE: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(8192i32); -pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(32768i32); -pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(16384i32); -pub const FABRIC_REPLICATOR_SECURITY: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(2i32); -pub const FABRIC_REPLICATOR_SETTINGS_NONE: FABRIC_REPLICATOR_SETTINGS_FLAGS = - FABRIC_REPLICATOR_SETTINGS_FLAGS(0i32); -pub const FABRIC_REPLICATOR_USE_STREAMFAULTS_AND_ENDOFSTREAM_OPERATIONACK: - FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(4096i32); -pub const FABRIC_REPLICA_OPEN_MODE_EXISTING: FABRIC_REPLICA_OPEN_MODE = - FABRIC_REPLICA_OPEN_MODE(2i32); -pub const FABRIC_REPLICA_OPEN_MODE_INVALID: FABRIC_REPLICA_OPEN_MODE = - FABRIC_REPLICA_OPEN_MODE(0i32); -pub const FABRIC_REPLICA_OPEN_MODE_NEW: FABRIC_REPLICA_OPEN_MODE = FABRIC_REPLICA_OPEN_MODE(1i32); -pub const FABRIC_REPLICA_ROLE_ACTIVE_SECONDARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(4i32); -pub const FABRIC_REPLICA_ROLE_IDLE_SECONDARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(3i32); -pub const FABRIC_REPLICA_ROLE_NONE: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(1i32); -pub const FABRIC_REPLICA_ROLE_PRIMARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(2i32); -pub const FABRIC_REPLICA_ROLE_UNKNOWN: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(0i32); -pub const FABRIC_REPLICA_SET_QUORUM_ALL: FABRIC_REPLICA_SET_QUORUM_MODE = - FABRIC_REPLICA_SET_QUORUM_MODE(2i32); -pub const FABRIC_REPLICA_SET_QUORUM_INVALID: FABRIC_REPLICA_SET_QUORUM_MODE = - FABRIC_REPLICA_SET_QUORUM_MODE(0i32); -pub const FABRIC_REPLICA_SET_WRITE_QUORUM: FABRIC_REPLICA_SET_QUORUM_MODE = - FABRIC_REPLICA_SET_QUORUM_MODE(1i32); -pub const FABRIC_REPLICA_STATUS_DOWN: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(1i32); -pub const FABRIC_REPLICA_STATUS_INVALID: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(0i32); -pub const FABRIC_REPLICA_STATUS_UP: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(2i32); -pub const FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_INVALID: - FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND = - FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(0i32); -pub const FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_USING_NODE_NAME: - FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND = - FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(1i32); -pub const FABRIC_RESTART_NODE_DESCRIPTION_KIND_INVALID: FABRIC_RESTART_NODE_DESCRIPTION_KIND = - FABRIC_RESTART_NODE_DESCRIPTION_KIND(0i32); -pub const FABRIC_RESTART_NODE_DESCRIPTION_KIND_USING_NODE_NAME: - FABRIC_RESTART_NODE_DESCRIPTION_KIND = FABRIC_RESTART_NODE_DESCRIPTION_KIND(1i32); -pub const FABRIC_RESTART_PARTITION_MODE_ALL_REPLICAS_OR_INSTANCES: FABRIC_RESTART_PARTITION_MODE = - FABRIC_RESTART_PARTITION_MODE(1i32); -pub const FABRIC_RESTART_PARTITION_MODE_INVALID: FABRIC_RESTART_PARTITION_MODE = - FABRIC_RESTART_PARTITION_MODE(0i32); -pub const FABRIC_RESTART_PARTITION_MODE_ONLY_ACTIVE_SECONDARIES: FABRIC_RESTART_PARTITION_MODE = - FABRIC_RESTART_PARTITION_MODE(2i32); -pub const FABRIC_ROLLING_UPGRADE_MODE_INVALID: FABRIC_ROLLING_UPGRADE_MODE = - FABRIC_ROLLING_UPGRADE_MODE(0i32); -pub const FABRIC_ROLLING_UPGRADE_MODE_MONITORED: FABRIC_ROLLING_UPGRADE_MODE = - FABRIC_ROLLING_UPGRADE_MODE(3i32); -pub const FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_AUTO: FABRIC_ROLLING_UPGRADE_MODE = - FABRIC_ROLLING_UPGRADE_MODE(1i32); -pub const FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_MANUAL: FABRIC_ROLLING_UPGRADE_MODE = - FABRIC_ROLLING_UPGRADE_MODE(2i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_ENABLE_DELTAS: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(1024i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FAILURE_ACTION: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(8i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FORCE_RESTART: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(2i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_RETRY: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(64i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_STABLE: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(32i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_WAIT: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(16i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_POLICY: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(512i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_NONE: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(0i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_REPLICA_SET_CHECK_TIMEOUT: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(4i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_APPLICATION_HEALTH_POLICY_MAP: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(4096i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_DOMAIN_TIMEOUT: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(256i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_HEALTH_POLICY: - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(2048i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_MODE: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(1i32); -pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_TIMEOUT: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = - FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(128i32); -pub const FABRIC_SAFETY_CHECK_KIND_INVALID: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(0i32); -pub const FABRIC_SCALING_MECHANISM_INVALID: FABRIC_SCALING_MECHANISM_KIND = - FABRIC_SCALING_MECHANISM_KIND(0i32); -pub const FABRIC_SCALING_MECHANISM_KIND_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION: - FABRIC_SCALING_MECHANISM_KIND = FABRIC_SCALING_MECHANISM_KIND(2i32); -pub const FABRIC_SCALING_MECHANISM_KIND_SCALE_PARTITION_INSTANCE_COUNT: - FABRIC_SCALING_MECHANISM_KIND = FABRIC_SCALING_MECHANISM_KIND(1i32); -pub const FABRIC_SCALING_TRIGGER_KIND_AVERAGE_PARTITION_LOAD: FABRIC_SCALING_TRIGGER_KIND = - FABRIC_SCALING_TRIGGER_KIND(1i32); -pub const FABRIC_SCALING_TRIGGER_KIND_AVERAGE_SERVICE_LOAD: FABRIC_SCALING_TRIGGER_KIND = - FABRIC_SCALING_TRIGGER_KIND(2i32); -pub const FABRIC_SCALING_TRIGGER_KIND_INVALID: FABRIC_SCALING_TRIGGER_KIND = - FABRIC_SCALING_TRIGGER_KIND(0i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_CLAIMS: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(3i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_INVALID: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(255i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_NONE: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(0i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_WINDOWS: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(2i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_X509: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(1i32); -pub const FABRIC_SECURITY_CREDENTIAL_KIND_X509_2: FABRIC_SECURITY_CREDENTIAL_KIND = - FABRIC_SECURITY_CREDENTIAL_KIND(4i32); -pub const FABRIC_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM: FABRIC_SAFETY_CHECK_KIND = - FABRIC_SAFETY_CHECK_KIND(1i32); -pub const FABRIC_SERVICE_CORRELATION_SCHEME_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = - FABRIC_SERVICE_CORRELATION_SCHEME(1i32); -pub const FABRIC_SERVICE_CORRELATION_SCHEME_ALIGNED_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = - FABRIC_SERVICE_CORRELATION_SCHEME(2i32); -pub const FABRIC_SERVICE_CORRELATION_SCHEME_INVALID: FABRIC_SERVICE_CORRELATION_SCHEME = - FABRIC_SERVICE_CORRELATION_SCHEME(0i32); -pub const FABRIC_SERVICE_CORRELATION_SCHEME_NONALIGNED_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = - FABRIC_SERVICE_CORRELATION_SCHEME(3i32); -pub const FABRIC_SERVICE_DESCRIPTION_KIND_INVALID: FABRIC_SERVICE_DESCRIPTION_KIND = - FABRIC_SERVICE_DESCRIPTION_KIND(0i32); -pub const FABRIC_SERVICE_DESCRIPTION_KIND_STATEFUL: FABRIC_SERVICE_DESCRIPTION_KIND = - FABRIC_SERVICE_DESCRIPTION_KIND(2i32); -pub const FABRIC_SERVICE_DESCRIPTION_KIND_STATELESS: FABRIC_SERVICE_DESCRIPTION_KIND = - FABRIC_SERVICE_DESCRIPTION_KIND(1i32); -pub const FABRIC_SERVICE_KIND_INVALID: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(0i32); -pub const FABRIC_SERVICE_KIND_STATEFUL: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(2i32); -pub const FABRIC_SERVICE_KIND_STATELESS: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(1i32); -pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_HIGH: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = - FABRIC_SERVICE_LOAD_METRIC_WEIGHT(3i32); -pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_LOW: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = - FABRIC_SERVICE_LOAD_METRIC_WEIGHT(1i32); -pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_MEDIUM: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = - FABRIC_SERVICE_LOAD_METRIC_WEIGHT(2i32); -pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_ZERO: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = - FABRIC_SERVICE_LOAD_METRIC_WEIGHT(0i32); -pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NAME_PREFIX: - FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(1i32); -pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NONE: FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = - FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(0i32); -pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_PRIMARY_ONLY: - FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(2i32); -pub const FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_EXCLUSIVE_PROCESS: - FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE = FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(1i32); -pub const FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_SHARED_PROCESS: - FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE = FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(0i32); -pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_GRANTED: FABRIC_SERVICE_PARTITION_ACCESS_STATUS = - FABRIC_SERVICE_PARTITION_ACCESS_STATUS(1i32); -pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_INVALID: FABRIC_SERVICE_PARTITION_ACCESS_STATUS = - FABRIC_SERVICE_PARTITION_ACCESS_STATUS(0i32); -pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NOT_PRIMARY: - FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(3i32); -pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NO_WRITE_QUORUM: - FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(4i32); -pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_RECONFIGURATION_PENDING: - FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(2i32); -pub const FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE: FABRIC_SERVICE_PARTITION_KIND = - FABRIC_SERVICE_PARTITION_KIND(2i32); -pub const FABRIC_SERVICE_PARTITION_KIND_INVALID: FABRIC_SERVICE_PARTITION_KIND = - FABRIC_SERVICE_PARTITION_KIND(0i32); -pub const FABRIC_SERVICE_PARTITION_KIND_NAMED: FABRIC_SERVICE_PARTITION_KIND = - FABRIC_SERVICE_PARTITION_KIND(3i32); -pub const FABRIC_SERVICE_PARTITION_KIND_SINGLETON: FABRIC_SERVICE_PARTITION_KIND = - FABRIC_SERVICE_PARTITION_KIND(1i32); -pub const FABRIC_SERVICE_REPLICA_KIND_INVALID: FABRIC_SERVICE_REPLICA_KIND = - FABRIC_SERVICE_REPLICA_KIND(0i32); -pub const FABRIC_SERVICE_REPLICA_KIND_KEY_VALUE_STORE: FABRIC_SERVICE_REPLICA_KIND = - FABRIC_SERVICE_REPLICA_KIND(1i32); -pub const FABRIC_SERVICE_ROLE_INVALID: FABRIC_SERVICE_ENDPOINT_ROLE = - FABRIC_SERVICE_ENDPOINT_ROLE(0i32); -pub const FABRIC_SERVICE_ROLE_STATEFUL_PRIMARY: FABRIC_SERVICE_ENDPOINT_ROLE = - FABRIC_SERVICE_ENDPOINT_ROLE(2i32); -pub const FABRIC_SERVICE_ROLE_STATEFUL_SECONDARY: FABRIC_SERVICE_ENDPOINT_ROLE = - FABRIC_SERVICE_ENDPOINT_ROLE(3i32); -pub const FABRIC_SERVICE_ROLE_STATELESS: FABRIC_SERVICE_ENDPOINT_ROLE = - FABRIC_SERVICE_ENDPOINT_ROLE(1i32); -pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_DISABLED: - FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(1i32); -pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_INVALID: FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = - FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(0i32); -pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_NOT_REGISTERED: - FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(2i32); -pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_REGISTERED: - FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(3i32); -pub const FABRIC_START_NODE_DESCRIPTION_KIND_INVALID: FABRIC_START_NODE_DESCRIPTION_KIND = - FABRIC_START_NODE_DESCRIPTION_KIND(0i32); -pub const FABRIC_START_NODE_DESCRIPTION_KIND_USING_NODE_NAME: FABRIC_START_NODE_DESCRIPTION_KIND = - FABRIC_START_NODE_DESCRIPTION_KIND(1i32); -pub const FABRIC_STATEFUL_SERVICE_CORRELATIONS: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(128i32); -pub const FABRIC_STATEFUL_SERVICE_METRICS: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(256i32); -pub const FABRIC_STATEFUL_SERVICE_MIN_REPLICA_SET_SIZE: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(16i32); -pub const FABRIC_STATEFUL_SERVICE_MOVE_COST: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(512i32); -pub const FABRIC_STATEFUL_SERVICE_NONE: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(0i32); -pub const FABRIC_STATEFUL_SERVICE_PLACEMENT_CONSTRAINTS: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(32i32); -pub const FABRIC_STATEFUL_SERVICE_POLICY_LIST: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(64i32); -pub const FABRIC_STATEFUL_SERVICE_QUORUM_LOSS_WAIT_DURATION: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(4i32); -pub const FABRIC_STATEFUL_SERVICE_REPLICA_RESTART_WAIT_DURATION: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(2i32); -pub const FABRIC_STATEFUL_SERVICE_SCALING_POLICY: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(1024i32); -pub const FABRIC_STATEFUL_SERVICE_SETTINGS_NONE: FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(0i32); -pub const FABRIC_STATEFUL_SERVICE_SETTINGS_QUORUM_LOSS_WAIT_DURATION: - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(2i32); -pub const FABRIC_STATEFUL_SERVICE_SETTINGS_REPLICA_RESTART_WAIT_DURATION: - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(1i32); -pub const FABRIC_STATEFUL_SERVICE_SETTINGS_STANDBY_REPLICA_KEEP_DURATION: - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = - FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(4i32); -pub const FABRIC_STATEFUL_SERVICE_STANDBY_REPLICA_KEEP_DURATION: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(8i32); -pub const FABRIC_STATEFUL_SERVICE_TARGET_REPLICA_SET_SIZE: - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(1i32); -pub const FABRIC_STATELESS_SERVICE_CORRELATIONS: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(8i32); -pub const FABRIC_STATELESS_SERVICE_INSTANCE_COUNT: - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(1i32); -pub const FABRIC_STATELESS_SERVICE_METRICS: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(16i32); -pub const FABRIC_STATELESS_SERVICE_MOVE_COST: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(32i32); -pub const FABRIC_STATELESS_SERVICE_NONE: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(0i32); -pub const FABRIC_STATELESS_SERVICE_PLACEMENT_CONSTRAINTS: - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(2i32); -pub const FABRIC_STATELESS_SERVICE_POLICY_LIST: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(4i32); -pub const FABRIC_STATELESS_SERVICE_SCALING_POLICY: - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = - FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(64i32); -pub const FABRIC_STOP_NODE_DESCRIPTION_KIND_INVALID: FABRIC_STOP_NODE_DESCRIPTION_KIND = - FABRIC_STOP_NODE_DESCRIPTION_KIND(0i32); -pub const FABRIC_STOP_NODE_DESCRIPTION_KIND_USING_NODE_NAME: FABRIC_STOP_NODE_DESCRIPTION_KIND = - FABRIC_STOP_NODE_DESCRIPTION_KIND(1i32); -pub const FABRIC_STORE_BACKUP_OPTION_FULL: FABRIC_STORE_BACKUP_OPTION = - FABRIC_STORE_BACKUP_OPTION(1i32); -pub const FABRIC_STORE_BACKUP_OPTION_INCREMENTAL: FABRIC_STORE_BACKUP_OPTION = - FABRIC_STORE_BACKUP_OPTION(2i32); -pub const FABRIC_STORE_BACKUP_OPTION_TRUNCATE_LOGS_ONLY: FABRIC_STORE_BACKUP_OPTION = - FABRIC_STORE_BACKUP_OPTION(3i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_CANCELLED: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(5i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_COMPLETED: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(3i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_FAULTED: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(4i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_FORCE_CANCELLED: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(6i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_INVALID: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(0i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_ROLLING_BACK: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(2i32); -pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_RUNNING: FABRIC_TEST_COMMAND_PROGRESS_STATE = - FABRIC_TEST_COMMAND_PROGRESS_STATE(1i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_ALL: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(65535i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_CANCELLED: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(32i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_COMPLETED_SUCCESSFULLY: - FABRIC_TEST_COMMAND_STATE_FILTER = FABRIC_TEST_COMMAND_STATE_FILTER(8i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_DEFAULT: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(0i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_FAILED: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(16i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_FORCE_CANCELLED: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(64i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_ROLLING_BACK: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(2i32); -pub const FABRIC_TEST_COMMAND_STATE_FILTER_RUNNING: FABRIC_TEST_COMMAND_STATE_FILTER = - FABRIC_TEST_COMMAND_STATE_FILTER(1i32); -pub const FABRIC_TEST_COMMAND_TYPE_DEFAULT: FABRIC_TEST_COMMAND_TYPE = - FABRIC_TEST_COMMAND_TYPE(0i32); -pub const FABRIC_TEST_COMMAND_TYPE_FILTER_ALL: FABRIC_TEST_COMMAND_TYPE_FILTER = - FABRIC_TEST_COMMAND_TYPE_FILTER(65535i32); -pub const FABRIC_TEST_COMMAND_TYPE_FILTER_DEFAULT: FABRIC_TEST_COMMAND_TYPE_FILTER = - FABRIC_TEST_COMMAND_TYPE_FILTER(0i32); -pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_DATA_LOSS: FABRIC_TEST_COMMAND_TYPE_FILTER = - FABRIC_TEST_COMMAND_TYPE_FILTER(1i32); -pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_QUORUM_LOSS: FABRIC_TEST_COMMAND_TYPE_FILTER = - FABRIC_TEST_COMMAND_TYPE_FILTER(2i32); -pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_RESTART: FABRIC_TEST_COMMAND_TYPE_FILTER = - FABRIC_TEST_COMMAND_TYPE_FILTER(4i32); -pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_DATA_LOSS: FABRIC_TEST_COMMAND_TYPE = - FABRIC_TEST_COMMAND_TYPE(1i32); -pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_QUORUM_LOSS: FABRIC_TEST_COMMAND_TYPE = - FABRIC_TEST_COMMAND_TYPE(2i32); -pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_RESTART_PARTITION: FABRIC_TEST_COMMAND_TYPE = - FABRIC_TEST_COMMAND_TYPE(4i32); -pub const FABRIC_TEST_COMMAND_TYPE_START_NODE_TRANSITION: FABRIC_TEST_COMMAND_TYPE = - FABRIC_TEST_COMMAND_TYPE(8i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_DEFAULT: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(0i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(2i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(1i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(3i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(5i32); -pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_SNAPSHOT: FABRIC_TRANSACTION_ISOLATION_LEVEL = - FABRIC_TRANSACTION_ISOLATION_LEVEL(4i32); -pub const FABRIC_UPGRADE_DOMAIN_STATE_COMPLETED: FABRIC_UPGRADE_DOMAIN_STATE = - FABRIC_UPGRADE_DOMAIN_STATE(3i32); -pub const FABRIC_UPGRADE_DOMAIN_STATE_INVALID: FABRIC_UPGRADE_DOMAIN_STATE = - FABRIC_UPGRADE_DOMAIN_STATE(0i32); -pub const FABRIC_UPGRADE_DOMAIN_STATE_IN_PROGRESS: FABRIC_UPGRADE_DOMAIN_STATE = - FABRIC_UPGRADE_DOMAIN_STATE(2i32); -pub const FABRIC_UPGRADE_DOMAIN_STATE_PENDING: FABRIC_UPGRADE_DOMAIN_STATE = - FABRIC_UPGRADE_DOMAIN_STATE(1i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_HEALTH_CHECK: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(2i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_INTERRUPTED: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(1i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_NONE: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(0i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_OVERALL_UPGRADE_TIMEOUT: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(4i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_PROCESSING_FAILURE: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(5i32); -pub const FABRIC_UPGRADE_FAILURE_REASON_UPGRADE_DOMAIN_TIMEOUT: FABRIC_UPGRADE_FAILURE_REASON = - FABRIC_UPGRADE_FAILURE_REASON(3i32); -pub const FABRIC_UPGRADE_KIND_INVALID: FABRIC_UPGRADE_KIND = FABRIC_UPGRADE_KIND(0i32); -pub const FABRIC_UPGRADE_KIND_ROLLING: FABRIC_UPGRADE_KIND = FABRIC_UPGRADE_KIND(1i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(7i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(2i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(6i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(3i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(4i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(5i32); -pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RESOURCE_AVAILABILITY: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(8i32); -pub const FABRIC_UPGRADE_SAFETY_CHECK_KIND_INVALID: FABRIC_UPGRADE_SAFETY_CHECK_KIND = - FABRIC_UPGRADE_SAFETY_CHECK_KIND(0i32); -pub const FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM: - FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(1i32); -pub const FABRIC_UPGRADE_STATE_FAILED: FABRIC_UPGRADE_STATE = FABRIC_UPGRADE_STATE(6i32); -pub const FABRIC_UPGRADE_STATE_INVALID: FABRIC_UPGRADE_STATE = FABRIC_UPGRADE_STATE(0i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_COMPLETED: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(2i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(1i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_PENDING: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(7i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(5i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(4i32); -pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_PENDING: FABRIC_UPGRADE_STATE = - FABRIC_UPGRADE_STATE(3i32); -pub const FABRIC_X509_FIND_TYPE_FINDBYEXTENSION: FABRIC_X509_FIND_TYPE = - FABRIC_X509_FIND_TYPE(12i32); -pub const FABRIC_X509_FIND_TYPE_FINDBYSUBJECTNAME: FABRIC_X509_FIND_TYPE = - FABRIC_X509_FIND_TYPE(1i32); -pub const FABRIC_X509_FIND_TYPE_FINDBYTHUMBPRINT: FABRIC_X509_FIND_TYPE = - FABRIC_X509_FIND_TYPE(0i32); -pub const FABRIC_X509_STORE_LOCATION_CURRENTUSER: FABRIC_X509_STORE_LOCATION = - FABRIC_X509_STORE_LOCATION(1i32); -pub const FABRIC_X509_STORE_LOCATION_INVALID: FABRIC_X509_STORE_LOCATION = - FABRIC_X509_STORE_LOCATION(0i32); -pub const FABRIC_X509_STORE_LOCATION_LOCALMACHINE: FABRIC_X509_STORE_LOCATION = - FABRIC_X509_STORE_LOCATION(2i32); -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_DEFINITION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_DEFINITION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_DEFINITION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_DEFINITION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_DEFINITION_KIND_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_DEFINITION_KIND_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_DEFINITION_KIND_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_DEFINITION_KIND_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_TYPE_DEFINITION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_DEFINITION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_DEFINITION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_TYPE_DEFINITION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_TYPE_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_TYPE_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_UPGRADE_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_UPGRADE_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_APPLICATION_UPGRADE_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_APPLICATION_UPGRADE_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CHAOS_EVENT_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_CHAOS_EVENT_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CHAOS_EVENT_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CHAOS_EVENT_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CHAOS_SCHEDULE_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CHAOS_SCHEDULE_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CHAOS_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_CHAOS_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CHAOS_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CHAOS_STATUS").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CLIENT_ROLE(pub i32); -impl windows_core::TypeKind for FABRIC_CLIENT_ROLE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CLIENT_ROLE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CLIENT_ROLE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_CODE_PACKAGE_EVENT_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_EVENT_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_EVENT_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_CODE_PACKAGE_EVENT_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_DATA_LOSS_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_DATA_LOSS_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_DATA_LOSS_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_DATA_LOSS_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_DEPLOYMENT_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_DEPLOYMENT_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_DEPLOYMENT_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_DEPLOYMENT_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_DIAGNOSTICS_SINKS_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_DIAGNOSTICS_SINKS_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_DIAGNOSTICS_SINKS_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_DIAGNOSTICS_SINKS_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_DLLHOST_HOSTED_DLL_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_DLL_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_DLLHOST_HOSTED_DLL_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_DLLHOST_ISOLATION_POLICY(pub i32); -impl windows_core::TypeKind for FABRIC_DLLHOST_ISOLATION_POLICY { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_DLLHOST_ISOLATION_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_DLLHOST_ISOLATION_POLICY") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_ENTRY_POINT_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_ENTRY_POINT_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_ENTRY_POINT_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_ENTRY_POINT_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_ENUMERATION_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_ENUMERATION_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_ENUMERATION_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_ENUMERATION_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_ERROR_CODE(pub i32); -impl windows_core::TypeKind for FABRIC_ERROR_CODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_ERROR_CODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_ERROR_CODE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_EXEHOST_WORKING_FOLDER(pub i32); -impl windows_core::TypeKind for FABRIC_EXEHOST_WORKING_FOLDER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_EXEHOST_WORKING_FOLDER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_EXEHOST_WORKING_FOLDER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_FAULT_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_FAULT_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_FAULT_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_FAULT_TYPE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HEALTH_ENTITY_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_HEALTH_ENTITY_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HEALTH_ENTITY_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HEALTH_ENTITY_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HEALTH_EVALUATION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HEALTH_EVALUATION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HEALTH_EVALUATION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HEALTH_REPORT_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_HEALTH_REPORT_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HEALTH_REPORT_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HEALTH_REPORT_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HEALTH_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HEALTH_STATE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HEALTH_STATE_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HEALTH_STATE_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HOST_ISOLATION_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_HOST_ISOLATION_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HOST_ISOLATION_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HOST_ISOLATION_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_HOST_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_HOST_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_HOST_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_HOST_TYPE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(pub i32); -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_MIGRATION_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_KEY_VALUE_STORE_MIGRATION_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_PROVIDER_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_PROVIDER_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_KEY_VALUE_STORE_PROVIDER_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_LOCAL_STORE_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_LOCAL_STORE_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_LOCAL_STORE_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_LOCAL_STORE_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(pub i32); -impl windows_core::TypeKind for FABRIC_MONITORED_UPGRADE_FAILURE_ACTION { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_MONITORED_UPGRADE_FAILURE_ACTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_MONITORED_UPGRADE_FAILURE_ACTION") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_MOVE_COST(pub i32); -impl windows_core::TypeKind for FABRIC_MOVE_COST { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_MOVE_COST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_MOVE_COST").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NETWORK_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_NETWORK_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NETWORK_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NETWORK_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NETWORK_STATUS_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_NETWORK_STATUS_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NETWORK_STATUS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NETWORK_STATUS_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NETWORK_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_NETWORK_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NETWORK_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NETWORK_TYPE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NODE_DEACTIVATION_INTENT(pub i32); -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_INTENT { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_INTENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NODE_DEACTIVATION_INTENT") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NODE_DEACTIVATION_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NODE_DEACTIVATION_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NODE_DEACTIVATION_TASK_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_TASK_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NODE_DEACTIVATION_TASK_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NODE_TRANSITION_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NODE_TRANSITION_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NODE_TRANSITION_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_NODE_UPGRADE_PHASE(pub i32); -impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PHASE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_NODE_UPGRADE_PHASE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_NODE_UPGRADE_PHASE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_OPERATION_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_OPERATION_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_OPERATION_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_OPERATION_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PACKAGE_SHARING_POLICY_SCOPE(pub i32); -impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY_SCOPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PACKAGE_SHARING_POLICY_SCOPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PACKAGE_SHARING_POLICY_SCOPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PARTITION_KEY_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_PARTITION_KEY_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PARTITION_KEY_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PARTITION_KEY_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PARTITION_SCHEME(pub i32); -impl windows_core::TypeKind for FABRIC_PARTITION_SCHEME { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PARTITION_SCHEME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PARTITION_SCHEME") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PARTITION_SELECTOR_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_PARTITION_SELECTOR_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PARTITION_SELECTOR_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PARTITION_SELECTOR_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PLACEMENT_POLICY_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PLACEMENT_POLICY_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PROPERTY_BATCH_OPERATION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_PROPERTY_BATCH_OPERATION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PROPERTY_BATCH_OPERATION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PROPERTY_BATCH_OPERATION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PROPERTY_TYPE_ID(pub i32); -impl windows_core::TypeKind for FABRIC_PROPERTY_TYPE_ID { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PROPERTY_TYPE_ID { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PROPERTY_TYPE_ID") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PROTECTION_LEVEL(pub i32); -impl windows_core::TypeKind for FABRIC_PROTECTION_LEVEL { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PROTECTION_LEVEL { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PROTECTION_LEVEL") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_PROVISION_APPLICATION_TYPE_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_PROVISION_APPLICATION_TYPE_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_PROVISION_APPLICATION_TYPE_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_NODE_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_NODE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_NODE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_NODE_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_NODE_STATUS_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_NODE_STATUS_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_NODE_STATUS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_NODE_STATUS_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_REPLICATOR_OPERATION_NAME(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_REPLICATOR_OPERATION_NAME { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_REPLICATOR_OPERATION_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_REPLICATOR_OPERATION_NAME") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_SERVICE_OPERATION_NAME(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_OPERATION_NAME { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_SERVICE_OPERATION_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_SERVICE_OPERATION_NAME") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_SERVICE_PARTITION_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_PARTITION_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_SERVICE_PARTITION_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_SERVICE_PARTITION_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_SERVICE_REPLICA_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_REPLICA_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_SERVICE_REPLICA_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_SERVICE_REPLICA_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUERY_SERVICE_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUERY_SERVICE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUERY_SERVICE_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_QUORUM_LOSS_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_QUORUM_LOSS_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_QUORUM_LOSS_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_QUORUM_LOSS_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_RECONFIGURATION_PHASE(pub i32); -impl windows_core::TypeKind for FABRIC_RECONFIGURATION_PHASE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_RECONFIGURATION_PHASE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_RECONFIGURATION_PHASE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_RECONFIGURATION_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_RECONFIGURATION_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_RECONFIGURATION_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_RECONFIGURATION_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_IMPACT_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_IMPACT_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_IMPACT_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_IMPACT_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_NODE_IMPACT_LEVEL(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT_LEVEL { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_NODE_IMPACT_LEVEL { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_NODE_IMPACT_LEVEL") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TARGET_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TARGET_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TARGET_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TARGET_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_RESULT(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_RESULT { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_RESULT") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPAIR_TASK_STATE_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPAIR_TASK_STATE_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPLICATOR_SETTINGS_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPLICATOR_SETTINGS_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPLICA_OPEN_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_REPLICA_OPEN_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPLICA_OPEN_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPLICA_OPEN_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPLICA_ROLE(pub i32); -impl windows_core::TypeKind for FABRIC_REPLICA_ROLE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPLICA_ROLE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPLICA_ROLE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPLICA_SET_QUORUM_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_REPLICA_SET_QUORUM_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPLICA_SET_QUORUM_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPLICA_SET_QUORUM_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_REPLICA_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_REPLICA_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_REPLICA_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_REPLICA_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_RESTART_NODE_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_RESTART_NODE_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_RESTART_PARTITION_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_RESTART_PARTITION_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_RESTART_PARTITION_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_RESTART_PARTITION_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_ROLLING_UPGRADE_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_ROLLING_UPGRADE_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SAFETY_CHECK_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SAFETY_CHECK_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SAFETY_CHECK_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SAFETY_CHECK_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SCALING_MECHANISM_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SCALING_MECHANISM_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SCALING_MECHANISM_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SCALING_TRIGGER_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SCALING_TRIGGER_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SCALING_TRIGGER_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SECURITY_CREDENTIAL_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SECURITY_CREDENTIAL_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SECURITY_CREDENTIAL_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SECURITY_CREDENTIAL_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_CORRELATION_SCHEME(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_CORRELATION_SCHEME { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_CORRELATION_SCHEME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_CORRELATION_SCHEME") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_ENDPOINT_ROLE(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_ENDPOINT_ROLE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_ENDPOINT_ROLE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_ENDPOINT_ROLE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_KIND").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_LOAD_METRIC_WEIGHT(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_WEIGHT { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_LOAD_METRIC_WEIGHT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_LOAD_METRIC_WEIGHT") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_PARTITION_ACCESS_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_ACCESS_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_ACCESS_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_PARTITION_ACCESS_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_PARTITION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_PARTITION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_REPLICA_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_REPLICA_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(pub i32); -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_REGISTRATION_STATUS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_REGISTRATION_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_SERVICE_TYPE_REGISTRATION_STATUS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_START_NODE_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_START_NODE_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_START_NODE_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(pub i32); -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_STOP_NODE_DESCRIPTION_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_STOP_NODE_DESCRIPTION_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_STOP_NODE_DESCRIPTION_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_STORE_BACKUP_OPTION(pub i32); -impl windows_core::TypeKind for FABRIC_STORE_BACKUP_OPTION { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_STORE_BACKUP_OPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_STORE_BACKUP_OPTION") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_TEST_COMMAND_PROGRESS_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_TEST_COMMAND_PROGRESS_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_TEST_COMMAND_PROGRESS_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_TEST_COMMAND_PROGRESS_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_TEST_COMMAND_STATE_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_TEST_COMMAND_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_TEST_COMMAND_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_TEST_COMMAND_STATE_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_TEST_COMMAND_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_TEST_COMMAND_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_TEST_COMMAND_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_TEST_COMMAND_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_TEST_COMMAND_TYPE_FILTER(pub i32); -impl windows_core::TypeKind for FABRIC_TEST_COMMAND_TYPE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_TEST_COMMAND_TYPE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_TEST_COMMAND_TYPE_FILTER") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_TRANSACTION_ISOLATION_LEVEL(pub i32); -impl windows_core::TypeKind for FABRIC_TRANSACTION_ISOLATION_LEVEL { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_TRANSACTION_ISOLATION_LEVEL { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_TRANSACTION_ISOLATION_LEVEL") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_UPGRADE_DOMAIN_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_UPGRADE_DOMAIN_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_UPGRADE_FAILURE_REASON(pub i32); -impl windows_core::TypeKind for FABRIC_UPGRADE_FAILURE_REASON { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_UPGRADE_FAILURE_REASON { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_UPGRADE_FAILURE_REASON") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_UPGRADE_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_UPGRADE_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_UPGRADE_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_UPGRADE_KIND").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_UPGRADE_SAFETY_CHECK_KIND(pub i32); -impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK_KIND { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_UPGRADE_SAFETY_CHECK_KIND { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_UPGRADE_SAFETY_CHECK_KIND") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_UPGRADE_STATE(pub i32); -impl windows_core::TypeKind for FABRIC_UPGRADE_STATE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_UPGRADE_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_UPGRADE_STATE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_X509_FIND_TYPE(pub i32); -impl windows_core::TypeKind for FABRIC_X509_FIND_TYPE { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_X509_FIND_TYPE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_X509_FIND_TYPE") - .field(&self.0) - .finish() - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq, Copy, Clone, Default)] -pub struct FABRIC_X509_STORE_LOCATION(pub i32); -impl windows_core::TypeKind for FABRIC_X509_STORE_LOCATION { - type TypeKind = windows_core::CopyType; -} -impl core::fmt::Debug for FABRIC_X509_STORE_LOCATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_X509_STORE_LOCATION") - .field(&self.0) - .finish() - } -} -#[repr(C)] -pub struct FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - pub Authority: windows_core::PCWSTR, - pub TenantId: windows_core::PCWSTR, - pub ClusterApplication: windows_core::PCWSTR, - pub ClientApplication: windows_core::PCWSTR, - pub ClientRedirect: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA {} -impl Clone for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA") - .field("Authority", &self.Authority) - .field("TenantId", &self.TenantId) - .field("ClusterApplication", &self.ClusterApplication) - .field("ClientApplication", &self.ClientApplication) - .field("ClientRedirect", &self.ClientRedirect) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - fn eq(&self, other: &Self) -> bool { - self.Authority == other.Authority - && self.TenantId == other.TenantId - && self.ClusterApplication == other.ClusterApplication - && self.ClientApplication == other.ClientApplication - && self.ClientRedirect == other.ClientRedirect - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA {} -impl Default for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - pub LoginEndpoint: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 {} -impl Clone for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1") - .field("LoginEndpoint", &self.LoginEndpoint) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - fn eq(&self, other: &Self) -> bool { - self.LoginEndpoint == other.LoginEndpoint && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 {} -impl Default for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATIONS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyApplications: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATIONS_HEALTH_EVALUATION {} -impl Clone for FABRIC_APPLICATIONS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATIONS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATIONS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyApplications", - &self.MaxPercentUnhealthyApplications, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATIONS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATIONS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyApplications == other.MaxPercentUnhealthyApplications - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATIONS_HEALTH_EVALUATION {} -impl Default for FABRIC_APPLICATIONS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - pub MaximumNodes: u32, - pub MinimumNodes: u32, - pub Metrics: *const FABRIC_APPLICATION_METRIC_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_CAPACITY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_CAPACITY_DESCRIPTION") - .field("MaximumNodes", &self.MaximumNodes) - .field("MinimumNodes", &self.MinimumNodes) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.MaximumNodes == other.MaximumNodes - && self.MinimumNodes == other.MinimumNodes - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_CAPACITY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub ApplicationParameters: *const FABRIC_APPLICATION_PARAMETER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field("ApplicationParameters", &self.ApplicationParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.ApplicationParameters == other.ApplicationParameters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_DESCRIPTION_EX1 { - pub ApplicationCapacity: *const FABRIC_APPLICATION_CAPACITY_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_DESCRIPTION_EX1 {} -impl Clone for FABRIC_APPLICATION_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_DESCRIPTION_EX1") - .field("ApplicationCapacity", &self.ApplicationCapacity) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationCapacity == other.ApplicationCapacity && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_DESCRIPTION_EX1 {} -impl Default for FABRIC_APPLICATION_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH { - pub ApplicationName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub DeployedApplicationHealthStates: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST, - pub ServiceHealthStates: *const FABRIC_SERVICE_HEALTH_STATE_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH") - .field("ApplicationName", &self.ApplicationName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field( - "DeployedApplicationHealthStates", - &self.DeployedApplicationHealthStates, - ) - .field("ServiceHealthStates", &self.ServiceHealthStates) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.DeployedApplicationHealthStates == other.DeployedApplicationHealthStates - && self.ServiceHealthStates == other.ServiceHealthStates - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_EVALUATION {} -impl Clone for FABRIC_APPLICATION_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("ApplicationName", &self.ApplicationName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.ApplicationName == other.ApplicationName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_EVALUATION {} -impl Default for FABRIC_APPLICATION_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_EX1 {} -impl Clone for FABRIC_APPLICATION_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_EX1 {} -impl Default for FABRIC_APPLICATION_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_EX2 { - pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_EX2 {} -impl Clone for FABRIC_APPLICATION_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_EX2") - .field("HealthStatistics", &self.HealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatistics == other.HealthStatistics && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_EX2 {} -impl Default for FABRIC_APPLICATION_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_POLICY { - pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, - pub MaxPercentUnhealthyDeployedApplications: u8, - pub DefaultServiceTypeHealthPolicy: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY, - pub ServiceTypeHealthPolicyMap: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_POLICY {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_POLICY") - .field("ConsiderWarningAsError", &self.ConsiderWarningAsError) - .field( - "MaxPercentUnhealthyDeployedApplications", - &self.MaxPercentUnhealthyDeployedApplications, - ) - .field( - "DefaultServiceTypeHealthPolicy", - &self.DefaultServiceTypeHealthPolicy, - ) - .field( - "ServiceTypeHealthPolicyMap", - &self.ServiceTypeHealthPolicyMap, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_POLICY { - fn eq(&self, other: &Self) -> bool { - self.ConsiderWarningAsError == other.ConsiderWarningAsError - && self.MaxPercentUnhealthyDeployedApplications - == other.MaxPercentUnhealthyDeployedApplications - && self.DefaultServiceTypeHealthPolicy == other.DefaultServiceTypeHealthPolicy - && self.ServiceTypeHealthPolicyMap == other.ServiceTypeHealthPolicyMap - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_POLICY {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_POLICY_MAP { - pub Count: u32, - pub Items: *mut FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_POLICY_MAP {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_POLICY_MAP { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_POLICY_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_POLICY_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY_MAP { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_POLICY_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_POLICY_MAP {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_POLICY_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - pub ApplicationName: FABRIC_URI, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM") - .field("ApplicationName", &self.ApplicationName) - .field("HealthPolicy", &self.HealthPolicy) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName && self.HealthPolicy == other.HealthPolicy - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub ServicesFilter: *const FABRIC_SERVICE_HEALTH_STATES_FILTER, - pub DeployedApplicationsFilter: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("ServicesFilter", &self.ServicesFilter) - .field( - "DeployedApplicationsFilter", - &self.DeployedApplicationsFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.ServicesFilter == other.ServicesFilter - && self.DeployedApplicationsFilter == other.DeployedApplicationsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - pub HealthStatisticsFilter: *const FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1") - .field("HealthStatisticsFilter", &self.HealthStatisticsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatisticsFilter == other.HealthStatisticsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_REPORT { - pub ApplicationName: FABRIC_URI, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_REPORT") - .field("ApplicationName", &self.ApplicationName) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE { - pub ApplicationName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE") - .field("ApplicationName", &self.ApplicationName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATES_FILTER {} -impl Default for FABRIC_APPLICATION_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - pub ApplicationName: FABRIC_URI, - pub HealthState: FABRIC_HEALTH_STATE, - pub ServiceHealthStateChunks: *const FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST, - pub DeployedApplicationHealthStateChunks: - *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_CHUNK") - .field("ApplicationName", &self.ApplicationName) - .field("HealthState", &self.HealthState) - .field("ServiceHealthStateChunks", &self.ServiceHealthStateChunks) - .field( - "DeployedApplicationHealthStateChunks", - &self.DeployedApplicationHealthStateChunks, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.HealthState == other.HealthState - && self.ServiceHealthStateChunks == other.ServiceHealthStateChunks - && self.DeployedApplicationHealthStateChunks - == other.DeployedApplicationHealthStateChunks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - pub ApplicationTypeName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub ApplicationNameFilter: FABRIC_URI, - pub ServiceFilters: *const FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST, - pub DeployedApplicationFilters: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("ServiceFilters", &self.ServiceFilters) - .field( - "DeployedApplicationFilters", - &self.DeployedApplicationFilters, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.ApplicationNameFilter == other.ApplicationNameFilter - && self.ServiceFilters == other.ServiceFilters - && self.DeployedApplicationFilters == other.DeployedApplicationFilters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_FILTER {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - pub ApplicationTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1") - .field("ApplicationTypeNameFilter", &self.ApplicationTypeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeNameFilter == other.ApplicationTypeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_HEALTH_STATE, -} -impl Copy for FABRIC_APPLICATION_HEALTH_STATE_LIST {} -impl Clone for FABRIC_APPLICATION_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_HEALTH_STATE_LIST {} -impl Default for FABRIC_APPLICATION_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER") - .field("ExcludeHealthStatistics", &self.ExcludeHealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.ExcludeHealthStatistics == other.ExcludeHealthStatistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_LOAD_INFORMATION { - pub Name: windows_core::PCWSTR, - pub MinimumNodes: u32, - pub MaximumNodes: u32, - pub NodeCount: u32, - pub ApplicationLoadMetricInformation: *const FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_LOAD_INFORMATION {} -impl Clone for FABRIC_APPLICATION_LOAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_LOAD_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_LOAD_INFORMATION") - .field("Name", &self.Name) - .field("MinimumNodes", &self.MinimumNodes) - .field("MaximumNodes", &self.MaximumNodes) - .field("NodeCount", &self.NodeCount) - .field( - "ApplicationLoadMetricInformation", - &self.ApplicationLoadMetricInformation, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_LOAD_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.MinimumNodes == other.MinimumNodes - && self.MaximumNodes == other.MaximumNodes - && self.NodeCount == other.NodeCount - && self.ApplicationLoadMetricInformation == other.ApplicationLoadMetricInformation - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_LOAD_INFORMATION {} -impl Default for FABRIC_APPLICATION_LOAD_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - pub ApplicationName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - pub Name: windows_core::PCWSTR, - pub ReservationCapacity: i64, - pub ApplicationCapacity: i64, - pub ApplicationLoad: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION {} -impl Clone for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_LOAD_METRIC_INFORMATION") - .field("Name", &self.Name) - .field("ReservationCapacity", &self.ReservationCapacity) - .field("ApplicationCapacity", &self.ApplicationCapacity) - .field("ApplicationLoad", &self.ApplicationLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.ReservationCapacity == other.ReservationCapacity - && self.ApplicationCapacity == other.ApplicationCapacity - && self.ApplicationLoad == other.ApplicationLoad - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION {} -impl Default for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - pub Count: u32, - pub LoadMetrics: *mut FABRIC_APPLICATION_LOAD_METRIC_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST {} -impl Clone for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST") - .field("Count", &self.Count) - .field("LoadMetrics", &self.LoadMetrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.LoadMetrics == other.LoadMetrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST {} -impl Default for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_METRIC_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub NodeReservationCapacity: u32, - pub MaximumNodeCapacity: u32, - pub TotalApplicationCapacity: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_METRIC_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_METRIC_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_METRIC_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_METRIC_DESCRIPTION") - .field("Name", &self.Name) - .field("NodeReservationCapacity", &self.NodeReservationCapacity) - .field("MaximumNodeCapacity", &self.MaximumNodeCapacity) - .field("TotalApplicationCapacity", &self.TotalApplicationCapacity) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_METRIC_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_METRIC_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.NodeReservationCapacity == other.NodeReservationCapacity - && self.MaximumNodeCapacity == other.MaximumNodeCapacity - && self.TotalApplicationCapacity == other.TotalApplicationCapacity - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_METRIC_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_METRIC_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_METRIC_LIST { - pub Count: u32, - pub Capacities: *mut FABRIC_APPLICATION_METRIC_DESCRIPTION, -} -impl Copy for FABRIC_APPLICATION_METRIC_LIST {} -impl Clone for FABRIC_APPLICATION_METRIC_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_METRIC_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_METRIC_LIST") - .field("Count", &self.Count) - .field("Capacities", &self.Capacities) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_METRIC_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_METRIC_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Capacities == other.Capacities - } -} -impl Eq for FABRIC_APPLICATION_METRIC_LIST {} -impl Default for FABRIC_APPLICATION_METRIC_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_NAME_QUERY_RESULT { - pub ApplicationName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_NAME_QUERY_RESULT {} -impl Clone for FABRIC_APPLICATION_NAME_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_NAME_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_NAME_QUERY_RESULT") - .field("ApplicationName", &self.ApplicationName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_NAME_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_NAME_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_NAME_QUERY_RESULT {} -impl Default for FABRIC_APPLICATION_NAME_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - pub NetworkName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM") - .field("NetworkName", &self.NetworkName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM {} -impl Default for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST {} -impl Clone for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST {} -impl Default for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_PARAMETER { - pub Name: windows_core::PCWSTR, - pub Value: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_PARAMETER {} -impl Clone for FABRIC_APPLICATION_PARAMETER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_PARAMETER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_PARAMETER") - .field("Name", &self.Name) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_PARAMETER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_PARAMETER { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Value == other.Value && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_PARAMETER {} -impl Default for FABRIC_APPLICATION_PARAMETER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_PARAMETER_LIST { - pub Count: u32, - pub Items: *mut FABRIC_APPLICATION_PARAMETER, -} -impl Copy for FABRIC_APPLICATION_PARAMETER_LIST {} -impl Clone for FABRIC_APPLICATION_PARAMETER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_PARAMETER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_PARAMETER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_PARAMETER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_PARAMETER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_PARAMETER_LIST {} -impl Default for FABRIC_APPLICATION_PARAMETER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - pub Users: *const FABRIC_SECURITY_USER_DESCRIPTION_LIST, - pub Groups: *const FABRIC_SECURITY_GROUP_DESCRIPTION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION") - .field("Users", &self.Users) - .field("Groups", &self.Groups) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Users == other.Users && self.Groups == other.Groups && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION { - pub ApplicationNameFilter: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_DESCRIPTION") - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationNameFilter == other.ApplicationNameFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - pub ApplicationTypeNameFilter: windows_core::PCWSTR, - pub ExcludeApplicationParameters: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2") - .field("ApplicationTypeNameFilter", &self.ApplicationTypeNameFilter) - .field( - "ExcludeApplicationParameters", - &self.ExcludeApplicationParameters, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeNameFilter == other.ApplicationTypeNameFilter - && self.ExcludeApplicationParameters == other.ExcludeApplicationParameters - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - pub ApplicationDefinitionKindFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 {} -impl Clone for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3") - .field( - "ApplicationDefinitionKindFilter", - &self.ApplicationDefinitionKindFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationDefinitionKindFilter == other.ApplicationDefinitionKindFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 {} -impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - pub MaxResults: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 {} -impl Clone for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4") - .field("MaxResults", &self.MaxResults) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - fn eq(&self, other: &Self) -> bool { - self.MaxResults == other.MaxResults && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 {} -impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM { - pub ApplicationName: FABRIC_URI, - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub Status: FABRIC_APPLICATION_STATUS, - pub HealthState: FABRIC_HEALTH_STATE, - pub ApplicationParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_APPLICATION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_RESULT_ITEM") - .field("ApplicationName", &self.ApplicationName) - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field("Status", &self.Status) - .field("HealthState", &self.HealthState) - .field("ApplicationParameters", &self.ApplicationParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.Status == other.Status - && self.HealthState == other.HealthState - && self.ApplicationParameters == other.ApplicationParameters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - pub UpgradeTypeVersion: windows_core::PCWSTR, - pub UpgradeParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1") - .field("UpgradeTypeVersion", &self.UpgradeTypeVersion) - .field("UpgradeParameters", &self.UpgradeParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UpgradeTypeVersion == other.UpgradeTypeVersion - && self.UpgradeParameters == other.UpgradeParameters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - pub ApplicationDefinitionKind: FABRIC_APPLICATION_DEFINITION_KIND, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2") - .field("ApplicationDefinitionKind", &self.ApplicationDefinitionKind) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationDefinitionKind == other.ApplicationDefinitionKind - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_APPLICATION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_APPLICATION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_QUERY_RESULT_LIST {} -impl Default for FABRIC_APPLICATION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub ApplicationTypeName: windows_core::PCWSTR, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyApplications: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION {} -impl Clone for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyApplications", - &self.MaxPercentUnhealthyApplications, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.ApplicationTypeName == other.ApplicationTypeName - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyApplications == other.MaxPercentUnhealthyApplications - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION {} -impl Default for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM, -} -impl Copy for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP {} -impl Clone for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP {} -impl Default for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - pub ApplicationTypeName: windows_core::PCWSTR, - pub MaxPercentUnhealthyApplications: u8, -} -impl Copy for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM {} -impl Clone for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field( - "MaxPercentUnhealthyApplications", - &self.MaxPercentUnhealthyApplications, - ) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.MaxPercentUnhealthyApplications == other.MaxPercentUnhealthyApplications - } -} -impl Eq for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM {} -impl Default for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - pub ApplicationTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION") - .field("ApplicationTypeNameFilter", &self.ApplicationTypeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeNameFilter == other.ApplicationTypeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub DefaultParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field("DefaultParameters", &self.DefaultParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.DefaultParameters == other.DefaultParameters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - pub Status: FABRIC_APPLICATION_TYPE_STATUS, - pub StatusDetails: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1") - .field("Status", &self.Status) - .field("StatusDetails", &self.StatusDetails) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.Status == other.Status - && self.StatusDetails == other.StatusDetails - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - pub ApplicationTypeDefinitionKind: FABRIC_APPLICATION_TYPE_DEFINITION_KIND, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2") - .field( - "ApplicationTypeDefinitionKind", - &self.ApplicationTypeDefinitionKind, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeDefinitionKind == other.ApplicationTypeDefinitionKind - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST {} -impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_UPDATE_DESCRIPTION { - pub Flags: u32, - pub ApplicationName: FABRIC_URI, - pub RemoveApplicationCapacity: windows::Win32::Foundation::BOOLEAN, - pub MaximumNodes: u32, - pub MinimumNodes: u32, - pub Metrics: *const FABRIC_APPLICATION_METRIC_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_UPDATE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPDATE_DESCRIPTION") - .field("Flags", &self.Flags) - .field("ApplicationName", &self.ApplicationName) - .field("RemoveApplicationCapacity", &self.RemoveApplicationCapacity) - .field("MaximumNodes", &self.MaximumNodes) - .field("MinimumNodes", &self.MinimumNodes) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Flags == other.Flags - && self.ApplicationName == other.ApplicationName - && self.RemoveApplicationCapacity == other.RemoveApplicationCapacity - && self.MaximumNodes == other.MaximumNodes - && self.MinimumNodes == other.MinimumNodes - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_UPDATE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub TargetApplicationTypeVersion: windows_core::PCWSTR, - pub ApplicationParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, - pub UpgradeKind: FABRIC_APPLICATION_UPGRADE_KIND, - pub UpgradePolicyDescription: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_UPGRADE_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPGRADE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field( - "TargetApplicationTypeVersion", - &self.TargetApplicationTypeVersion, - ) - .field("ApplicationParameters", &self.ApplicationParameters) - .field("UpgradeKind", &self.UpgradeKind) - .field("UpgradePolicyDescription", &self.UpgradePolicyDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.TargetApplicationTypeVersion == other.TargetApplicationTypeVersion - && self.ApplicationParameters == other.ApplicationParameters - && self.UpgradeKind == other.UpgradeKind - && self.UpgradePolicyDescription == other.UpgradePolicyDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_UPGRADE_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS { - pub UpgradeDescription: *const FABRIC_APPLICATION_UPGRADE_DESCRIPTION, - pub UpgradeState: FABRIC_APPLICATION_UPGRADE_STATE, - pub UpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, - pub NextUpgradeDomain: windows_core::PCWSTR, - pub UpgradeDomains: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST, - pub UpgradeDurationInSeconds: u32, - pub CurrentUpgradeDomainDurationInSeconds: u32, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub CurrentUpgradeDomainProgress: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_UPGRADE_PROGRESS {} -impl Clone for FABRIC_APPLICATION_UPGRADE_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPGRADE_PROGRESS") - .field("UpgradeDescription", &self.UpgradeDescription) - .field("UpgradeState", &self.UpgradeState) - .field("UpgradeMode", &self.UpgradeMode) - .field("NextUpgradeDomain", &self.NextUpgradeDomain) - .field("UpgradeDomains", &self.UpgradeDomains) - .field("UpgradeDurationInSeconds", &self.UpgradeDurationInSeconds) - .field( - "CurrentUpgradeDomainDurationInSeconds", - &self.CurrentUpgradeDomainDurationInSeconds, - ) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field( - "CurrentUpgradeDomainProgress", - &self.CurrentUpgradeDomainProgress, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_UPGRADE_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.UpgradeDescription == other.UpgradeDescription - && self.UpgradeState == other.UpgradeState - && self.UpgradeMode == other.UpgradeMode - && self.NextUpgradeDomain == other.NextUpgradeDomain - && self.UpgradeDomains == other.UpgradeDomains - && self.UpgradeDurationInSeconds == other.UpgradeDurationInSeconds - && self.CurrentUpgradeDomainDurationInSeconds - == other.CurrentUpgradeDomainDurationInSeconds - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.CurrentUpgradeDomainProgress == other.CurrentUpgradeDomainProgress - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_UPGRADE_PROGRESS {} -impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - pub StartTimestampUtc: windows::Win32::Foundation::FILETIME, - pub FailureTimestampUtc: windows::Win32::Foundation::FILETIME, - pub FailureReason: FABRIC_UPGRADE_FAILURE_REASON, - pub UpgradeDomainProgressAtFailure: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1") - .field("StartTimestampUtc", &self.StartTimestampUtc) - .field("FailureTimestampUtc", &self.FailureTimestampUtc) - .field("FailureReason", &self.FailureReason) - .field( - "UpgradeDomainProgressAtFailure", - &self.UpgradeDomainProgressAtFailure, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.StartTimestampUtc == other.StartTimestampUtc - && self.FailureTimestampUtc == other.FailureTimestampUtc - && self.FailureReason == other.FailureReason - && self.UpgradeDomainProgressAtFailure == other.UpgradeDomainProgressAtFailure - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - pub UpgradeStatusDetails: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 {} -impl Clone for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2") - .field("UpgradeStatusDetails", &self.UpgradeStatusDetails) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.UpgradeStatusDetails == other.UpgradeStatusDetails && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 {} -impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub UpgradeKind: FABRIC_APPLICATION_UPGRADE_KIND, - pub UpdateFlags: u32, - pub UpgradePolicyDescription: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("UpgradeKind", &self.UpgradeKind) - .field("UpdateFlags", &self.UpdateFlags) - .field("UpgradePolicyDescription", &self.UpgradePolicyDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.UpgradeKind == other.UpgradeKind - && self.UpdateFlags == other.UpdateFlags - && self.UpgradePolicyDescription == other.UpgradePolicyDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION {} -impl Default for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub Force: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("Force", &self.Force) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.Force == other.Force - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_DESCRIPTION { - pub ChaosParameters: *const FABRIC_CHAOS_PARAMETERS, - pub Status: FABRIC_CHAOS_STATUS, - pub ScheduleStatus: FABRIC_CHAOS_SCHEDULE_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_DESCRIPTION") - .field("ChaosParameters", &self.ChaosParameters) - .field("Status", &self.Status) - .field("ScheduleStatus", &self.ScheduleStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ChaosParameters == other.ChaosParameters - && self.Status == other.Status - && self.ScheduleStatus == other.ScheduleStatus - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_EVENT { - pub Kind: FABRIC_CHAOS_EVENT_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_EVENT {} -impl Clone for FABRIC_CHAOS_EVENT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_EVENT") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_EVENT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_EVENT { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_CHAOS_EVENT {} -impl Default for FABRIC_CHAOS_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_EVENTS_SEGMENT { - pub ContinuationToken: windows_core::PCWSTR, - pub History: *const FABRIC_CHAOS_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_EVENTS_SEGMENT {} -impl Clone for FABRIC_CHAOS_EVENTS_SEGMENT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_EVENTS_SEGMENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_EVENTS_SEGMENT") - .field("ContinuationToken", &self.ContinuationToken) - .field("History", &self.History) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_EVENTS_SEGMENT { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken - && self.History == other.History - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHAOS_EVENTS_SEGMENT {} -impl Default for FABRIC_CHAOS_EVENTS_SEGMENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - pub Filter: *const FABRIC_CHAOS_EVENTS_SEGMENT_FILTER, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION") - .field("Filter", &self.Filter) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Filter == other.Filter - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - pub StartTimeUtc: windows::Win32::Foundation::FILETIME, - pub EndTimeUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_EVENTS_SEGMENT_FILTER") - .field("StartTimeUtc", &self.StartTimeUtc) - .field("EndTimeUtc", &self.EndTimeUtc) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - fn eq(&self, other: &Self) -> bool { - self.StartTimeUtc == other.StartTimeUtc - && self.EndTimeUtc == other.EndTimeUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_EVENT_LIST { - pub Count: u32, - pub Items: *mut FABRIC_CHAOS_EVENT, -} -impl Copy for FABRIC_CHAOS_EVENT_LIST {} -impl Clone for FABRIC_CHAOS_EVENT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_EVENT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_EVENT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_EVENT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_EVENT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_CHAOS_EVENT_LIST {} -impl Default for FABRIC_CHAOS_EVENT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_PARAMETERS { - pub MaxClusterStabilizationTimeoutInSeconds: u32, - pub MaxConcurrentFaults: u32, - pub EnableMoveReplicaFaults: windows::Win32::Foundation::BOOLEAN, - pub TimeToRunInSeconds: u64, - pub WaitTimeBetweenIterationsInSeconds: u32, - pub WaitTimeBetweenFaultsInSeconds: u32, - pub Context: *const FABRIC_EVENT_CONTEXT_MAP, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_PARAMETERS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_PARAMETERS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_PARAMETERS") - .field( - "MaxClusterStabilizationTimeoutInSeconds", - &self.MaxClusterStabilizationTimeoutInSeconds, - ) - .field("MaxConcurrentFaults", &self.MaxConcurrentFaults) - .field("EnableMoveReplicaFaults", &self.EnableMoveReplicaFaults) - .field("TimeToRunInSeconds", &self.TimeToRunInSeconds) - .field( - "WaitTimeBetweenIterationsInSeconds", - &self.WaitTimeBetweenIterationsInSeconds, - ) - .field( - "WaitTimeBetweenFaultsInSeconds", - &self.WaitTimeBetweenFaultsInSeconds, - ) - .field("Context", &self.Context) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_PARAMETERS { - fn eq(&self, other: &Self) -> bool { - self.MaxClusterStabilizationTimeoutInSeconds - == other.MaxClusterStabilizationTimeoutInSeconds - && self.MaxConcurrentFaults == other.MaxConcurrentFaults - && self.EnableMoveReplicaFaults == other.EnableMoveReplicaFaults - && self.TimeToRunInSeconds == other.TimeToRunInSeconds - && self.WaitTimeBetweenIterationsInSeconds == other.WaitTimeBetweenIterationsInSeconds - && self.WaitTimeBetweenFaultsInSeconds == other.WaitTimeBetweenFaultsInSeconds - && self.Context == other.Context - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_PARAMETERS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_PARAMETERS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_PARAMETERS_EX1 { - pub ClusterHealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_PARAMETERS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_PARAMETERS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_PARAMETERS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_PARAMETERS_EX1") - .field("ClusterHealthPolicy", &self.ClusterHealthPolicy) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_PARAMETERS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ClusterHealthPolicy == other.ClusterHealthPolicy && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_PARAMETERS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_PARAMETERS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_PARAMETERS_EX2 { - pub ChaosTargetFilter: *const FABRIC_CHAOS_TARGET_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_PARAMETERS_EX2 {} -impl Clone for FABRIC_CHAOS_PARAMETERS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_PARAMETERS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_PARAMETERS_EX2") - .field("ChaosTargetFilter", &self.ChaosTargetFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_PARAMETERS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ChaosTargetFilter == other.ChaosTargetFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHAOS_PARAMETERS_EX2 {} -impl Default for FABRIC_CHAOS_PARAMETERS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_REPORT { - pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, - pub Status: FABRIC_CHAOS_STATUS, - pub ContinuationToken: windows_core::PCWSTR, - pub History: *const FABRIC_CHAOS_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_REPORT") - .field("ChaosParameters", &self.ChaosParameters) - .field("Status", &self.Status) - .field("ContinuationToken", &self.ContinuationToken) - .field("History", &self.History) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_REPORT { - fn eq(&self, other: &Self) -> bool { - self.ChaosParameters == other.ChaosParameters - && self.Status == other.Status - && self.ContinuationToken == other.ContinuationToken - && self.History == other.History - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_REPORT_FILTER { - pub StartTimeUtc: windows::Win32::Foundation::FILETIME, - pub EndTimeUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_REPORT_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_REPORT_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_REPORT_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_REPORT_FILTER") - .field("StartTimeUtc", &self.StartTimeUtc) - .field("EndTimeUtc", &self.EndTimeUtc) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_REPORT_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_REPORT_FILTER { - fn eq(&self, other: &Self) -> bool { - self.StartTimeUtc == other.StartTimeUtc - && self.EndTimeUtc == other.EndTimeUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_REPORT_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_REPORT_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE { - pub StartDate: windows::Win32::Foundation::FILETIME, - pub ExpiryDate: windows::Win32::Foundation::FILETIME, - pub ChaosParametersMap: *const FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP, - pub Jobs: *const FABRIC_CHAOS_SCHEDULE_JOB_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE") - .field("StartDate", &self.StartDate) - .field("ExpiryDate", &self.ExpiryDate) - .field("ChaosParametersMap", &self.ChaosParametersMap) - .field("Jobs", &self.Jobs) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE { - fn eq(&self, other: &Self) -> bool { - self.StartDate == other.StartDate - && self.ExpiryDate == other.ExpiryDate - && self.ChaosParametersMap == other.ChaosParametersMap - && self.Jobs == other.Jobs - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - pub Count: u32, - pub Items: *mut FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - pub Name: windows_core::PCWSTR, - pub Parameters: *const FABRIC_CHAOS_PARAMETERS, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM") - .field("Name", &self.Name) - .field("Parameters", &self.Parameters) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Parameters == other.Parameters - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - pub Version: u32, - pub Schedule: *const FABRIC_CHAOS_SCHEDULE, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_DESCRIPTION") - .field("Version", &self.Version) - .field("Schedule", &self.Schedule) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Version == other.Version - && self.Schedule == other.Schedule - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_JOB { - pub ChaosParameters: windows_core::PCWSTR, - pub Days: *const FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS, - pub Times: *const FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_JOB {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_JOB { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_JOB { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_JOB") - .field("ChaosParameters", &self.ChaosParameters) - .field("Days", &self.Days) - .field("Times", &self.Times) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_JOB { - fn eq(&self, other: &Self) -> bool { - self.ChaosParameters == other.ChaosParameters - && self.Days == other.Days - && self.Times == other.Times - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_JOB {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_JOB { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - pub Sunday: windows::Win32::Foundation::BOOLEAN, - pub Monday: windows::Win32::Foundation::BOOLEAN, - pub Tuesday: windows::Win32::Foundation::BOOLEAN, - pub Wednesday: windows::Win32::Foundation::BOOLEAN, - pub Thursday: windows::Win32::Foundation::BOOLEAN, - pub Friday: windows::Win32::Foundation::BOOLEAN, - pub Saturday: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS") - .field("Sunday", &self.Sunday) - .field("Monday", &self.Monday) - .field("Tuesday", &self.Tuesday) - .field("Wednesday", &self.Wednesday) - .field("Thursday", &self.Thursday) - .field("Friday", &self.Friday) - .field("Saturday", &self.Saturday) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - fn eq(&self, other: &Self) -> bool { - self.Sunday == other.Sunday - && self.Monday == other.Monday - && self.Tuesday == other.Tuesday - && self.Wednesday == other.Wednesday - && self.Thursday == other.Thursday - && self.Friday == other.Friday - && self.Saturday == other.Saturday - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SCHEDULE_JOB_LIST { - pub Count: u32, - pub Items: *mut FABRIC_CHAOS_SCHEDULE_JOB, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SCHEDULE_JOB_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SCHEDULE_JOB_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_JOB_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_JOB_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SCHEDULE_JOB_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SCHEDULE_JOB_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SCHEDULE_JOB_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - pub StartTime: *const FABRIC_CHAOS_SCHEDULE_TIME_UTC, - pub EndTime: *const FABRIC_CHAOS_SCHEDULE_TIME_UTC, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC {} -impl Clone for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC") - .field("StartTime", &self.StartTime) - .field("EndTime", &self.EndTime) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - fn eq(&self, other: &Self) -> bool { - self.StartTime == other.StartTime - && self.EndTime == other.EndTime - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC {} -impl Default for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - pub Count: u32, - pub Items: *mut FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC, -} -impl Copy for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST {} -impl Clone for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST {} -impl Default for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_SCHEDULE_TIME_UTC { - pub Hour: u32, - pub Minute: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_SCHEDULE_TIME_UTC {} -impl Clone for FABRIC_CHAOS_SCHEDULE_TIME_UTC { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_TIME_UTC { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SCHEDULE_TIME_UTC") - .field("Hour", &self.Hour) - .field("Minute", &self.Minute) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_UTC { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_SCHEDULE_TIME_UTC { - fn eq(&self, other: &Self) -> bool { - self.Hour == other.Hour && self.Minute == other.Minute && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHAOS_SCHEDULE_TIME_UTC {} -impl Default for FABRIC_CHAOS_SCHEDULE_TIME_UTC { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - pub ChaosScheduleDescription: *const FABRIC_CHAOS_SCHEDULE_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION") - .field("ChaosScheduleDescription", &self.ChaosScheduleDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ChaosScheduleDescription == other.ChaosScheduleDescription - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHAOS_TARGET_FILTER { - pub NodeTypeInclusionList: *const FABRIC_STRING_LIST, - pub ApplicationInclusionList: *const FABRIC_STRING_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHAOS_TARGET_FILTER {} -impl Clone for FABRIC_CHAOS_TARGET_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHAOS_TARGET_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHAOS_TARGET_FILTER") - .field("NodeTypeInclusionList", &self.NodeTypeInclusionList) - .field("ApplicationInclusionList", &self.ApplicationInclusionList) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHAOS_TARGET_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHAOS_TARGET_FILTER { - fn eq(&self, other: &Self) -> bool { - self.NodeTypeInclusionList == other.NodeTypeInclusionList - && self.ApplicationInclusionList == other.ApplicationInclusionList - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHAOS_TARGET_FILTER {} -impl Default for FABRIC_CHAOS_TARGET_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub ExistenceCheck: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHECK_EXISTS_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("ExistenceCheck", &self.ExistenceCheck) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.ExistenceCheck == other.ExistenceCheck - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub SequenceNumber: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION {} -impl Clone for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("SequenceNumber", &self.SequenceNumber) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.SequenceNumber == other.SequenceNumber - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION {} -impl Default for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, - pub PropertyValue: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CHECK_VALUE_PROPERTY_OPERATION {} -impl Clone for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CHECK_VALUE_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("PropertyTypeId", &self.PropertyTypeId) - .field("PropertyValue", &self.PropertyValue) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.PropertyTypeId == other.PropertyTypeId - && self.PropertyValue == other.PropertyValue - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CHECK_VALUE_PROPERTY_OPERATION {} -impl Default for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLAIMS_CREDENTIALS { - pub ServerCommonNameCount: u32, - pub ServerCommonNames: *const windows_core::PCWSTR, - pub IssuerThumbprintCount: u32, - pub IssuerThumbprints: *const windows_core::PCWSTR, - pub LocalClaims: windows_core::PCWSTR, - pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLAIMS_CREDENTIALS {} -impl Clone for FABRIC_CLAIMS_CREDENTIALS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLAIMS_CREDENTIALS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLAIMS_CREDENTIALS") - .field("ServerCommonNameCount", &self.ServerCommonNameCount) - .field("ServerCommonNames", &self.ServerCommonNames) - .field("IssuerThumbprintCount", &self.IssuerThumbprintCount) - .field("IssuerThumbprints", &self.IssuerThumbprints) - .field("LocalClaims", &self.LocalClaims) - .field("ProtectionLevel", &self.ProtectionLevel) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLAIMS_CREDENTIALS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLAIMS_CREDENTIALS { - fn eq(&self, other: &Self) -> bool { - self.ServerCommonNameCount == other.ServerCommonNameCount - && self.ServerCommonNames == other.ServerCommonNames - && self.IssuerThumbprintCount == other.IssuerThumbprintCount - && self.IssuerThumbprints == other.IssuerThumbprints - && self.LocalClaims == other.LocalClaims - && self.ProtectionLevel == other.ProtectionLevel - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLAIMS_CREDENTIALS {} -impl Default for FABRIC_CLAIMS_CREDENTIALS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLAIMS_CREDENTIALS_EX1 { - pub ServerThumbprintCount: u32, - pub ServerThumbprints: *const windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLAIMS_CREDENTIALS_EX1 {} -impl Clone for FABRIC_CLAIMS_CREDENTIALS_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLAIMS_CREDENTIALS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLAIMS_CREDENTIALS_EX1") - .field("ServerThumbprintCount", &self.ServerThumbprintCount) - .field("ServerThumbprints", &self.ServerThumbprints) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLAIMS_CREDENTIALS_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLAIMS_CREDENTIALS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServerThumbprintCount == other.ServerThumbprintCount - && self.ServerThumbprints == other.ServerThumbprints - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLAIMS_CREDENTIALS_EX1 {} -impl Default for FABRIC_CLAIMS_CREDENTIALS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLAIMS_RETRIEVAL_METADATA { - pub Kind: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLAIMS_RETRIEVAL_METADATA {} -impl Clone for FABRIC_CLAIMS_RETRIEVAL_METADATA { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLAIMS_RETRIEVAL_METADATA { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLAIMS_RETRIEVAL_METADATA") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLAIMS_RETRIEVAL_METADATA { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLAIMS_RETRIEVAL_METADATA { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_CLAIMS_RETRIEVAL_METADATA {} -impl Default for FABRIC_CLAIMS_RETRIEVAL_METADATA { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLIENT_SETTINGS { - pub PartitionLocationCacheLimit: u32, - pub ServiceChangePollIntervalInSeconds: u32, - pub ConnectionInitializationTimeoutInSeconds: u32, - pub KeepAliveIntervalInSeconds: u32, - pub HealthOperationTimeoutInSeconds: u32, - pub HealthReportSendIntervalInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLIENT_SETTINGS {} -impl Clone for FABRIC_CLIENT_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLIENT_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLIENT_SETTINGS") - .field( - "PartitionLocationCacheLimit", - &self.PartitionLocationCacheLimit, - ) - .field( - "ServiceChangePollIntervalInSeconds", - &self.ServiceChangePollIntervalInSeconds, - ) - .field( - "ConnectionInitializationTimeoutInSeconds", - &self.ConnectionInitializationTimeoutInSeconds, - ) - .field( - "KeepAliveIntervalInSeconds", - &self.KeepAliveIntervalInSeconds, - ) - .field( - "HealthOperationTimeoutInSeconds", - &self.HealthOperationTimeoutInSeconds, - ) - .field( - "HealthReportSendIntervalInSeconds", - &self.HealthReportSendIntervalInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLIENT_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.PartitionLocationCacheLimit == other.PartitionLocationCacheLimit - && self.ServiceChangePollIntervalInSeconds == other.ServiceChangePollIntervalInSeconds - && self.ConnectionInitializationTimeoutInSeconds - == other.ConnectionInitializationTimeoutInSeconds - && self.KeepAliveIntervalInSeconds == other.KeepAliveIntervalInSeconds - && self.HealthOperationTimeoutInSeconds == other.HealthOperationTimeoutInSeconds - && self.HealthReportSendIntervalInSeconds == other.HealthReportSendIntervalInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLIENT_SETTINGS {} -impl Default for FABRIC_CLIENT_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLIENT_SETTINGS_EX1 { - pub ClientFriendlyName: windows_core::PCWSTR, - pub PartitionLocationCacheBucketCount: u32, - pub HealthReportRetrySendIntervalInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLIENT_SETTINGS_EX1 {} -impl Clone for FABRIC_CLIENT_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLIENT_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLIENT_SETTINGS_EX1") - .field("ClientFriendlyName", &self.ClientFriendlyName) - .field( - "PartitionLocationCacheBucketCount", - &self.PartitionLocationCacheBucketCount, - ) - .field( - "HealthReportRetrySendIntervalInSeconds", - &self.HealthReportRetrySendIntervalInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLIENT_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ClientFriendlyName == other.ClientFriendlyName - && self.PartitionLocationCacheBucketCount == other.PartitionLocationCacheBucketCount - && self.HealthReportRetrySendIntervalInSeconds - == other.HealthReportRetrySendIntervalInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLIENT_SETTINGS_EX1 {} -impl Default for FABRIC_CLIENT_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLIENT_SETTINGS_EX2 { - pub NotificationGatewayConnectionTimeoutInSeconds: u32, - pub NotificationCacheUpdateTimeoutInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLIENT_SETTINGS_EX2 {} -impl Clone for FABRIC_CLIENT_SETTINGS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLIENT_SETTINGS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLIENT_SETTINGS_EX2") - .field( - "NotificationGatewayConnectionTimeoutInSeconds", - &self.NotificationGatewayConnectionTimeoutInSeconds, - ) - .field( - "NotificationCacheUpdateTimeoutInSeconds", - &self.NotificationCacheUpdateTimeoutInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLIENT_SETTINGS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.NotificationGatewayConnectionTimeoutInSeconds - == other.NotificationGatewayConnectionTimeoutInSeconds - && self.NotificationCacheUpdateTimeoutInSeconds - == other.NotificationCacheUpdateTimeoutInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLIENT_SETTINGS_EX2 {} -impl Default for FABRIC_CLIENT_SETTINGS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLIENT_SETTINGS_EX3 { - pub AuthTokenBufferSize: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLIENT_SETTINGS_EX3 {} -impl Clone for FABRIC_CLIENT_SETTINGS_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLIENT_SETTINGS_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLIENT_SETTINGS_EX3") - .field("AuthTokenBufferSize", &self.AuthTokenBufferSize) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLIENT_SETTINGS_EX3 { - fn eq(&self, other: &Self) -> bool { - self.AuthTokenBufferSize == other.AuthTokenBufferSize && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLIENT_SETTINGS_EX3 {} -impl Default for FABRIC_CLIENT_SETTINGS_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLIENT_SETTINGS_EX4 { - pub ConnectionIdleTimeoutInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLIENT_SETTINGS_EX4 {} -impl Clone for FABRIC_CLIENT_SETTINGS_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLIENT_SETTINGS_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLIENT_SETTINGS_EX4") - .field( - "ConnectionIdleTimeoutInSeconds", - &self.ConnectionIdleTimeoutInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLIENT_SETTINGS_EX4 { - fn eq(&self, other: &Self) -> bool { - self.ConnectionIdleTimeoutInSeconds == other.ConnectionIdleTimeoutInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLIENT_SETTINGS_EX4 {} -impl Default for FABRIC_CLIENT_SETTINGS_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_HEALTH { - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_HEALTH {} -impl Clone for FABRIC_CLUSTER_HEALTH { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH") - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.AggregatedHealthState == other.AggregatedHealthState && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_HEALTH {} -impl Default for FABRIC_CLUSTER_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_HEALTH_CHUNK { - pub HealthState: FABRIC_HEALTH_STATE, - pub NodeHealthStateChunks: *const FABRIC_NODE_HEALTH_STATE_CHUNK_LIST, - pub ApplicationHealthStateChunks: *const FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_HEALTH_CHUNK {} -impl Clone for FABRIC_CLUSTER_HEALTH_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_CHUNK") - .field("HealthState", &self.HealthState) - .field("NodeHealthStateChunks", &self.NodeHealthStateChunks) - .field( - "ApplicationHealthStateChunks", - &self.ApplicationHealthStateChunks, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_HEALTH_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.HealthState == other.HealthState - && self.NodeHealthStateChunks == other.NodeHealthStateChunks - && self.ApplicationHealthStateChunks == other.ApplicationHealthStateChunks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_HEALTH_CHUNK {} -impl Default for FABRIC_CLUSTER_HEALTH_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - pub ClusterHealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, - pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, - pub ApplicationFilters: *const FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST, - pub NodeFilters: *const FABRIC_NODE_HEALTH_STATE_FILTER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION") - .field("ClusterHealthPolicy", &self.ClusterHealthPolicy) - .field( - "ApplicationHealthPolicyMap", - &self.ApplicationHealthPolicyMap, - ) - .field("ApplicationFilters", &self.ApplicationFilters) - .field("NodeFilters", &self.NodeFilters) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ClusterHealthPolicy == other.ClusterHealthPolicy - && self.ApplicationHealthPolicyMap == other.ApplicationHealthPolicyMap - && self.ApplicationFilters == other.ApplicationFilters - && self.NodeFilters == other.NodeFilters - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_EX1 { - pub NodeHealthStates: *const FABRIC_NODE_HEALTH_STATE_LIST, - pub ApplicationHealthStates: *const FABRIC_APPLICATION_HEALTH_STATE_LIST, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_EX1") - .field("NodeHealthStates", &self.NodeHealthStates) - .field("ApplicationHealthStates", &self.ApplicationHealthStates) - .field("HealthEvents", &self.HealthEvents) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.NodeHealthStates == other.NodeHealthStates - && self.ApplicationHealthStates == other.ApplicationHealthStates - && self.HealthEvents == other.HealthEvents - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_HEALTH_EX2 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_HEALTH_EX2 {} -impl Clone for FABRIC_CLUSTER_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_EX2") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_HEALTH_EX2 {} -impl Default for FABRIC_CLUSTER_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_HEALTH_EX3 { - pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_HEALTH_EX3 {} -impl Clone for FABRIC_CLUSTER_HEALTH_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_EX3") - .field("HealthStatistics", &self.HealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_HEALTH_EX3 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatistics == other.HealthStatistics && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_HEALTH_EX3 {} -impl Default for FABRIC_CLUSTER_HEALTH_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_POLICY { - pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, - pub MaxPercentUnhealthyNodes: u8, - pub MaxPercentUnhealthyApplications: u8, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_POLICY {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_POLICY { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_POLICY") - .field("ConsiderWarningAsError", &self.ConsiderWarningAsError) - .field("MaxPercentUnhealthyNodes", &self.MaxPercentUnhealthyNodes) - .field( - "MaxPercentUnhealthyApplications", - &self.MaxPercentUnhealthyApplications, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_POLICY { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_POLICY { - fn eq(&self, other: &Self) -> bool { - self.ConsiderWarningAsError == other.ConsiderWarningAsError - && self.MaxPercentUnhealthyNodes == other.MaxPercentUnhealthyNodes - && self.MaxPercentUnhealthyApplications == other.MaxPercentUnhealthyApplications - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_POLICY {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - pub ApplicationTypeHealthPolicyMap: *const FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_HEALTH_POLICY_EX1 {} -impl Clone for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_POLICY_EX1") - .field( - "ApplicationTypeHealthPolicyMap", - &self.ApplicationTypeHealthPolicyMap, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeHealthPolicyMap == other.ApplicationTypeHealthPolicyMap - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_HEALTH_POLICY_EX1 {} -impl Default for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - pub HealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, - pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub NodesFilter: *const FABRIC_NODE_HEALTH_STATES_FILTER, - pub ApplicationsFilter: *const FABRIC_APPLICATION_HEALTH_STATES_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION") - .field("HealthPolicy", &self.HealthPolicy) - .field( - "ApplicationHealthPolicyMap", - &self.ApplicationHealthPolicyMap, - ) - .field("EventsFilter", &self.EventsFilter) - .field("NodesFilter", &self.NodesFilter) - .field("ApplicationsFilter", &self.ApplicationsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.HealthPolicy == other.HealthPolicy - && self.ApplicationHealthPolicyMap == other.ApplicationHealthPolicyMap - && self.EventsFilter == other.EventsFilter - && self.NodesFilter == other.NodesFilter - && self.ApplicationsFilter == other.ApplicationsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - pub HealthStatisticsFilter: *const FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1") - .field("HealthStatisticsFilter", &self.HealthStatisticsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatisticsFilter == other.HealthStatisticsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_REPORT { - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_REPORT") - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.HealthInformation == other.HealthInformation && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub IncludeSystemApplicationHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER") - .field("ExcludeHealthStatistics", &self.ExcludeHealthStatistics) - .field( - "IncludeSystemApplicationHealthStatistics", - &self.IncludeSystemApplicationHealthStatistics, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.ExcludeHealthStatistics == other.ExcludeHealthStatistics - && self.IncludeSystemApplicationHealthStatistics - == other.IncludeSystemApplicationHealthStatistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CLUSTER_LOAD_INFORMATION { - pub LastBalancingStartTimeUtc: windows::Win32::Foundation::FILETIME, - pub LastBalancingEndTimeUtc: windows::Win32::Foundation::FILETIME, - pub LoadMetricInformation: *const FABRIC_LOAD_METRIC_INFORMATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CLUSTER_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CLUSTER_LOAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CLUSTER_LOAD_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_LOAD_INFORMATION") - .field("LastBalancingStartTimeUtc", &self.LastBalancingStartTimeUtc) - .field("LastBalancingEndTimeUtc", &self.LastBalancingEndTimeUtc) - .field("LoadMetricInformation", &self.LoadMetricInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CLUSTER_LOAD_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CLUSTER_LOAD_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.LastBalancingStartTimeUtc == other.LastBalancingStartTimeUtc - && self.LastBalancingEndTimeUtc == other.LastBalancingEndTimeUtc - && self.LoadMetricInformation == other.LoadMetricInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CLUSTER_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CLUSTER_LOAD_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - pub ClusterManifestVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION {} -impl Clone for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION") - .field("ClusterManifestVersion", &self.ClusterManifestVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ClusterManifestVersion == other.ClusterManifestVersion - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION {} -impl Default for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - pub MaxPercentDeltaUnhealthyNodes: u8, - pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY {} -impl Clone for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY") - .field( - "MaxPercentDeltaUnhealthyNodes", - &self.MaxPercentDeltaUnhealthyNodes, - ) - .field( - "MaxPercentUpgradeDomainDeltaUnhealthyNodes", - &self.MaxPercentUpgradeDomainDeltaUnhealthyNodes, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - fn eq(&self, other: &Self) -> bool { - self.MaxPercentDeltaUnhealthyNodes == other.MaxPercentDeltaUnhealthyNodes - && self.MaxPercentUpgradeDomainDeltaUnhealthyNodes - == other.MaxPercentUpgradeDomainDeltaUnhealthyNodes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY {} -impl Default for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CODE_PACKAGE_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Version: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub IsShared: windows::Win32::Foundation::BOOLEAN, - pub SetupEntryPoint: *mut FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION, - pub EntryPoint: *mut FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CODE_PACKAGE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CODE_PACKAGE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_DESCRIPTION") - .field("Name", &self.Name) - .field("Version", &self.Version) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("IsShared", &self.IsShared) - .field("SetupEntryPoint", &self.SetupEntryPoint) - .field("EntryPoint", &self.EntryPoint) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CODE_PACKAGE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Version == other.Version - && self.ServiceManifestName == other.ServiceManifestName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.IsShared == other.IsShared - && self.SetupEntryPoint == other.SetupEntryPoint - && self.EntryPoint == other.EntryPoint - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CODE_PACKAGE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CODE_PACKAGE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_CODE_PACKAGE_DESCRIPTION, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT { - pub EntryPointLocation: windows_core::PCWSTR, - pub ProcessId: i64, - pub RunAsUserName: windows_core::PCWSTR, - pub EntryPointStatus: FABRIC_ENTRY_POINT_STATUS, - pub NextActivationUtc: windows::Win32::Foundation::FILETIME, - pub Statistics: *const FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CODE_PACKAGE_ENTRY_POINT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CODE_PACKAGE_ENTRY_POINT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_ENTRY_POINT") - .field("EntryPointLocation", &self.EntryPointLocation) - .field("ProcessId", &self.ProcessId) - .field("RunAsUserName", &self.RunAsUserName) - .field("EntryPointStatus", &self.EntryPointStatus) - .field("NextActivationUtc", &self.NextActivationUtc) - .field("Statistics", &self.Statistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CODE_PACKAGE_ENTRY_POINT { - fn eq(&self, other: &Self) -> bool { - self.EntryPointLocation == other.EntryPointLocation - && self.ProcessId == other.ProcessId - && self.RunAsUserName == other.RunAsUserName - && self.EntryPointStatus == other.EntryPointStatus - && self.NextActivationUtc == other.NextActivationUtc - && self.Statistics == other.Statistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CODE_PACKAGE_ENTRY_POINT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - pub Kind: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION {} -impl Clone for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION {} -impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - pub CodePackageInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 {} -impl Clone for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1") - .field("CodePackageInstanceId", &self.CodePackageInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.CodePackageInstanceId == other.CodePackageInstanceId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 {} -impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - pub LastExitCode: u32, - pub LastActivationUtc: windows::Win32::Foundation::FILETIME, - pub LastExitUtc: windows::Win32::Foundation::FILETIME, - pub LastSuccessfulActivationUtc: windows::Win32::Foundation::FILETIME, - pub LastSuccessfulExitUtc: windows::Win32::Foundation::FILETIME, - pub ActivationCount: u32, - pub ActivationFailureCount: u32, - pub ContinuousActivationFailureCount: u32, - pub ExitCount: u32, - pub ExitFailureCount: u32, - pub ContinuousExitFailureCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS") - .field("LastExitCode", &self.LastExitCode) - .field("LastActivationUtc", &self.LastActivationUtc) - .field("LastExitUtc", &self.LastExitUtc) - .field( - "LastSuccessfulActivationUtc", - &self.LastSuccessfulActivationUtc, - ) - .field("LastSuccessfulExitUtc", &self.LastSuccessfulExitUtc) - .field("ActivationCount", &self.ActivationCount) - .field("ActivationFailureCount", &self.ActivationFailureCount) - .field( - "ContinuousActivationFailureCount", - &self.ContinuousActivationFailureCount, - ) - .field("ExitCount", &self.ExitCount) - .field("ExitFailureCount", &self.ExitFailureCount) - .field( - "ContinuousExitFailureCount", - &self.ContinuousExitFailureCount, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - fn eq(&self, other: &Self) -> bool { - self.LastExitCode == other.LastExitCode - && self.LastActivationUtc == other.LastActivationUtc - && self.LastExitUtc == other.LastExitUtc - && self.LastSuccessfulActivationUtc == other.LastSuccessfulActivationUtc - && self.LastSuccessfulExitUtc == other.LastSuccessfulExitUtc - && self.ActivationCount == other.ActivationCount - && self.ActivationFailureCount == other.ActivationFailureCount - && self.ContinuousActivationFailureCount == other.ContinuousActivationFailureCount - && self.ExitCount == other.ExitCount - && self.ExitFailureCount == other.ExitFailureCount - && self.ContinuousExitFailureCount == other.ContinuousExitFailureCount - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - pub CodePackageName: windows_core::PCWSTR, - pub IsSetupEntryPoint: windows::Win32::Foundation::BOOL, - pub IsContainerHost: windows::Win32::Foundation::BOOL, - pub EventType: FABRIC_CODE_PACKAGE_EVENT_TYPE, - pub TimeStampInTicks: i64, - pub SequenceNumber: i64, - pub Properties: *mut FABRIC_STRING_MAP, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION") - .field("CodePackageName", &self.CodePackageName) - .field("IsSetupEntryPoint", &self.IsSetupEntryPoint) - .field("IsContainerHost", &self.IsContainerHost) - .field("EventType", &self.EventType) - .field("TimeStampInTicks", &self.TimeStampInTicks) - .field("SequenceNumber", &self.SequenceNumber) - .field("Properties", &self.Properties) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.CodePackageName == other.CodePackageName - && self.IsSetupEntryPoint == other.IsSetupEntryPoint - && self.IsContainerHost == other.IsContainerHost - && self.EventType == other.EventType - && self.TimeStampInTicks == other.TimeStampInTicks - && self.SequenceNumber == other.SequenceNumber - && self.Properties == other.Properties - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Version: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION {} -impl Clone for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION") - .field("Name", &self.Name) - .field("Version", &self.Version) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Version == other.Version - && self.ServiceManifestName == other.ServiceManifestName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION {} -impl Default for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION, -} -impl Copy for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST {} -impl Clone for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST {} -impl Default for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CONFIGURATION_PARAMETER { - pub Name: windows_core::PCWSTR, - pub Value: windows_core::PCWSTR, - pub MustOverride: windows::Win32::Foundation::BOOLEAN, - pub IsEncrypted: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CONFIGURATION_PARAMETER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CONFIGURATION_PARAMETER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CONFIGURATION_PARAMETER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_PARAMETER") - .field("Name", &self.Name) - .field("Value", &self.Value) - .field("MustOverride", &self.MustOverride) - .field("IsEncrypted", &self.IsEncrypted) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CONFIGURATION_PARAMETER { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Value == other.Value - && self.MustOverride == other.MustOverride - && self.IsEncrypted == other.IsEncrypted - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CONFIGURATION_PARAMETER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CONFIGURATION_PARAMETER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CONFIGURATION_PARAMETER_EX1 { - pub Type: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CONFIGURATION_PARAMETER_EX1 {} -impl Clone for FABRIC_CONFIGURATION_PARAMETER_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CONFIGURATION_PARAMETER_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_PARAMETER_EX1") - .field("Type", &self.Type) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CONFIGURATION_PARAMETER_EX1 { - fn eq(&self, other: &Self) -> bool { - self.Type == other.Type && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CONFIGURATION_PARAMETER_EX1 {} -impl Default for FABRIC_CONFIGURATION_PARAMETER_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CONFIGURATION_PARAMETER_LIST { - pub Count: u32, - pub Items: *const FABRIC_CONFIGURATION_PARAMETER, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CONFIGURATION_PARAMETER_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CONFIGURATION_PARAMETER_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CONFIGURATION_PARAMETER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_PARAMETER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CONFIGURATION_PARAMETER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CONFIGURATION_PARAMETER_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CONFIGURATION_PARAMETER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CONFIGURATION_SECTION { - pub Name: windows_core::PCWSTR, - pub Parameters: *const FABRIC_CONFIGURATION_PARAMETER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CONFIGURATION_SECTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CONFIGURATION_SECTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CONFIGURATION_SECTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_SECTION") - .field("Name", &self.Name) - .field("Parameters", &self.Parameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CONFIGURATION_SECTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CONFIGURATION_SECTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Parameters == other.Parameters - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CONFIGURATION_SECTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CONFIGURATION_SECTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CONFIGURATION_SECTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_CONFIGURATION_SECTION, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CONFIGURATION_SECTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CONFIGURATION_SECTION_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CONFIGURATION_SECTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_SECTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CONFIGURATION_SECTION_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CONFIGURATION_SECTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CONFIGURATION_SECTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CONFIGURATION_SECTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_CONFIGURATION_SETTINGS { - pub Sections: *const FABRIC_CONFIGURATION_SECTION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_CONFIGURATION_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_CONFIGURATION_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_CONFIGURATION_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONFIGURATION_SETTINGS") - .field("Sections", &self.Sections) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_CONFIGURATION_SETTINGS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_CONFIGURATION_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.Sections == other.Sections && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_CONFIGURATION_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_CONFIGURATION_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - pub ImageName: windows_core::PCWSTR, - pub Commands: windows_core::PCWSTR, - pub EntryPoint: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION {} -impl Clone for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION") - .field("ImageName", &self.ImageName) - .field("Commands", &self.Commands) - .field("EntryPoint", &self.EntryPoint) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ImageName == other.ImageName - && self.Commands == other.Commands - && self.EntryPoint == other.EntryPoint - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION {} -impl Default for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DATA_PACKAGE_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Version: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DATA_PACKAGE_DESCRIPTION {} -impl Clone for FABRIC_DATA_PACKAGE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DATA_PACKAGE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DATA_PACKAGE_DESCRIPTION") - .field("Name", &self.Name) - .field("Version", &self.Version) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DATA_PACKAGE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DATA_PACKAGE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Version == other.Version - && self.ServiceManifestName == other.ServiceManifestName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DATA_PACKAGE_DESCRIPTION {} -impl Default for FABRIC_DATA_PACKAGE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_DATA_PACKAGE_DESCRIPTION, -} -impl Copy for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST {} -impl Clone for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DATA_PACKAGE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST {} -impl Default for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DELETE_APPLICATION_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ForceDelete: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DELETE_APPLICATION_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DELETE_APPLICATION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DELETE_APPLICATION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DELETE_APPLICATION_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ForceDelete", &self.ForceDelete) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DELETE_APPLICATION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DELETE_APPLICATION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ForceDelete == other.ForceDelete - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DELETE_APPLICATION_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DELETE_APPLICATION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DELETE_NETWORK_DESCRIPTION { - pub NetworkName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DELETE_NETWORK_DESCRIPTION {} -impl Clone for FABRIC_DELETE_NETWORK_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DELETE_NETWORK_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DELETE_NETWORK_DESCRIPTION") - .field("NetworkName", &self.NetworkName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DELETE_NETWORK_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DELETE_NETWORK_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DELETE_NETWORK_DESCRIPTION {} -impl Default for FABRIC_DELETE_NETWORK_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DELETE_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DELETE_PROPERTY_OPERATION {} -impl Clone for FABRIC_DELETE_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DELETE_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DELETE_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DELETE_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DELETE_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DELETE_PROPERTY_OPERATION {} -impl Default for FABRIC_DELETE_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DELETE_SERVICE_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub ForceDelete: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DELETE_SERVICE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DELETE_SERVICE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DELETE_SERVICE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DELETE_SERVICE_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("ForceDelete", &self.ForceDelete) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DELETE_SERVICE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DELETE_SERVICE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.ForceDelete == other.ForceDelete - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DELETE_SERVICE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DELETE_SERVICE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub BaselineErrorCount: u32, - pub BaselineTotalCount: u32, - pub TotalCount: u32, - pub MaxPercentDeltaUnhealthyNodes: u8, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION {} -impl Clone for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("BaselineErrorCount", &self.BaselineErrorCount) - .field("BaselineTotalCount", &self.BaselineTotalCount) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentDeltaUnhealthyNodes", - &self.MaxPercentDeltaUnhealthyNodes, - ) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.BaselineErrorCount == other.BaselineErrorCount - && self.BaselineTotalCount == other.BaselineTotalCount - && self.TotalCount == other.TotalCount - && self.MaxPercentDeltaUnhealthyNodes == other.MaxPercentDeltaUnhealthyNodes - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION {} -impl Default for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyDeployedApplications: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION {} -impl Clone for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyDeployedApplications", - &self.MaxPercentUnhealthyDeployedApplications, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyDeployedApplications - == other.MaxPercentUnhealthyDeployedApplications - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION {} -impl Default for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH { - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub DeployedServicePackageHealthStates: - *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH") - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field( - "DeployedServicePackageHealthStates", - &self.DeployedServicePackageHealthStates, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.DeployedServicePackageHealthStates == other.DeployedServicePackageHealthStates - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2") - .field("HealthStatistics", &self.HealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatistics == other.HealthStatistics && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub DeployedServicePackagesFilter: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field( - "DeployedServicePackagesFilter", - &self.DeployedServicePackagesFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.DeployedServicePackagesFilter == other.DeployedServicePackagesFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - pub HealthStatisticsFilter: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1") - .field("HealthStatisticsFilter", &self.HealthStatisticsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatisticsFilter == other.HealthStatisticsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT") - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE") - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - pub NodeName: windows_core::PCWSTR, - pub HealthState: FABRIC_HEALTH_STATE, - pub DeployedServicePackageHealthStateChunks: - *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK") - .field("NodeName", &self.NodeName) - .field("HealthState", &self.HealthState) - .field( - "DeployedServicePackageHealthStateChunks", - &self.DeployedServicePackageHealthStateChunks, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.HealthState == other.HealthState - && self.DeployedServicePackageHealthStateChunks - == other.DeployedServicePackageHealthStateChunks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub NodeNameFilter: windows_core::PCWSTR, - pub DeployedServicePackageFilters: - *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("NodeNameFilter", &self.NodeNameFilter) - .field( - "DeployedServicePackageFilters", - &self.DeployedServicePackageFilters, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.NodeNameFilter == other.NodeNameFilter - && self.DeployedServicePackageFilters == other.DeployedServicePackageFilters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST {} -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER") - .field("ExcludeHealthStatistics", &self.ExcludeHealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.ExcludeHealthStatistics == other.ExcludeHealthStatistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationNameFilter: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationNameFilter == other.ApplicationNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - pub ApplicationName: FABRIC_URI, - pub ApplicationTypeName: windows_core::PCWSTR, - pub DeployedApplicationStatus: FABRIC_DEPLOYMENT_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM") - .field("ApplicationName", &self.ApplicationName) - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("DeployedApplicationStatus", &self.DeployedApplicationStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ApplicationTypeName == other.ApplicationTypeName - && self.DeployedApplicationStatus == other.DeployedApplicationStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - pub WorkDirectory: windows_core::PCWSTR, - pub LogDirectory: windows_core::PCWSTR, - pub TempDirectory: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX") - .field("WorkDirectory", &self.WorkDirectory) - .field("LogDirectory", &self.LogDirectory) - .field("TempDirectory", &self.TempDirectory) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - fn eq(&self, other: &Self) -> bool { - self.WorkDirectory == other.WorkDirectory - && self.LogDirectory == other.LogDirectory - && self.TempDirectory == other.TempDirectory - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX {} -impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2") - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.HealthState == other.HealthState && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub CodePackageNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("CodePackageNameFilter", &self.CodePackageNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.CodePackageNameFilter == other.CodePackageNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - pub CodePackageName: windows_core::PCWSTR, - pub CodePackageVersion: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub RunFrequencyInterval: u32, - pub DeployedCodePackageStatus: FABRIC_DEPLOYMENT_STATUS, - pub SetupEntryPoint: *const FABRIC_CODE_PACKAGE_ENTRY_POINT, - pub EntryPoint: *const FABRIC_CODE_PACKAGE_ENTRY_POINT, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM") - .field("CodePackageName", &self.CodePackageName) - .field("CodePackageVersion", &self.CodePackageVersion) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("RunFrequencyInterval", &self.RunFrequencyInterval) - .field("DeployedCodePackageStatus", &self.DeployedCodePackageStatus) - .field("SetupEntryPoint", &self.SetupEntryPoint) - .field("EntryPoint", &self.EntryPoint) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.CodePackageName == other.CodePackageName - && self.CodePackageVersion == other.CodePackageVersion - && self.ServiceManifestName == other.ServiceManifestName - && self.RunFrequencyInterval == other.RunFrequencyInterval - && self.DeployedCodePackageStatus == other.DeployedCodePackageStatus - && self.SetupEntryPoint == other.SetupEntryPoint - && self.EntryPoint == other.EntryPoint - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub HostType: FABRIC_HOST_TYPE, - pub HostIsolationMode: FABRIC_HOST_ISOLATION_MODE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("HostType", &self.HostType) - .field("HostIsolationMode", &self.HostIsolationMode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.HostType == other.HostType - && self.HostIsolationMode == other.HostIsolationMode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub CodePackageInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT {} -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_RESULT") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("CodePackageName", &self.CodePackageName) - .field("CodePackageInstanceId", &self.CodePackageInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.CodePackageName == other.CodePackageName - && self.CodePackageInstanceId == other.CodePackageInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT {} -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 {} -impl Clone for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 {} -impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub NetworkName: windows_core::PCWSTR, - pub ApplicationNameFilter: FABRIC_URI, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub CodePackageNameFilter: windows_core::PCWSTR, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("NetworkName", &self.NetworkName) - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("CodePackageNameFilter", &self.CodePackageNameFilter) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NetworkName == other.NetworkName - && self.ApplicationNameFilter == other.ApplicationNameFilter - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.CodePackageNameFilter == other.CodePackageNameFilter - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - pub ApplicationName: FABRIC_URI, - pub NetworkName: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub CodePackageVersion: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub ServicePackageActivationId: windows_core::PCWSTR, - pub ContainerAddress: windows_core::PCWSTR, - pub ContainerId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM") - .field("ApplicationName", &self.ApplicationName) - .field("NetworkName", &self.NetworkName) - .field("CodePackageName", &self.CodePackageName) - .field("CodePackageVersion", &self.CodePackageVersion) - .field("ServiceManifestName", &self.ServiceManifestName) - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("ContainerAddress", &self.ContainerAddress) - .field("ContainerId", &self.ContainerId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NetworkName == other.NetworkName - && self.CodePackageName == other.CodePackageName - && self.CodePackageVersion == other.CodePackageVersion - && self.ServiceManifestName == other.ServiceManifestName - && self.ServicePackageActivationId == other.ServicePackageActivationId - && self.ContainerAddress == other.ContainerAddress - && self.ContainerId == other.ContainerId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - pub NetworkName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM") - .field("NetworkName", &self.NetworkName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub NodeName: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("NodeName", &self.NodeName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.NodeName == other.NodeName - && self.ServiceManifestName == other.ServiceManifestName - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("NodeName", &self.NodeName) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.NodeName == other.NodeName - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - pub ServiceManifestName: windows_core::PCWSTR, - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK") - .field("ServiceManifestName", &self.ServiceManifestName) - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.ServiceManifestName == other.ServiceManifestName - && self.HealthState == other.HealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - pub ServicePackageActivationIdFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1") - .field( - "ServicePackageActivationIdFilter", - &self.ServicePackageActivationIdFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationIdFilter == other.ServicePackageActivationIdFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - pub ServiceManifestName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub DeployedServicePackageStatus: FABRIC_DEPLOYMENT_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM") - .field("ServiceManifestName", &self.ServiceManifestName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field( - "DeployedServicePackageStatus", - &self.DeployedServicePackageStatus, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceManifestName == other.ServiceManifestName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.DeployedServicePackageStatus == other.DeployedServicePackageStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub PartitionIdFilter: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("PartitionIdFilter", &self.PartitionIdFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.PartitionIdFilter == other.PartitionIdFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestNameFilter: windows_core::PCWSTR, - pub ServiceTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestNameFilter", &self.ServiceManifestNameFilter) - .field("ServiceTypeNameFilter", &self.ServiceTypeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestNameFilter == other.ServiceManifestNameFilter - && self.ServiceTypeNameFilter == other.ServiceTypeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION {} -impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - pub ServiceTypeName: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub Status: FABRIC_SERVICE_TYPE_REGISTRATION_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM") - .field("ServiceTypeName", &self.ServiceTypeName) - .field("CodePackageName", &self.CodePackageName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("Status", &self.Status) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeName == other.ServiceTypeName - && self.CodePackageName == other.CodePackageName - && self.ServiceManifestName == other.ServiceManifestName - && self.Status == other.Status - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST {} -impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub CurrentServiceOperation: FABRIC_QUERY_SERVICE_OPERATION_NAME, - pub CurrentServiceOperationStartTimeUtc: windows::Win32::Foundation::FILETIME, - pub CurrentReplicatorOperation: FABRIC_QUERY_REPLICATOR_OPERATION_NAME, - pub ReadStatus: FABRIC_SERVICE_PARTITION_ACCESS_STATUS, - pub WriteStatus: FABRIC_SERVICE_PARTITION_ACCESS_STATUS, - pub ReportedLoad: *mut FABRIC_LOAD_METRIC_REPORT_LIST, - pub ReplicatorStatus: *mut FABRIC_REPLICATOR_STATUS_QUERY_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("CurrentServiceOperation", &self.CurrentServiceOperation) - .field( - "CurrentServiceOperationStartTimeUtc", - &self.CurrentServiceOperationStartTimeUtc, - ) - .field( - "CurrentReplicatorOperation", - &self.CurrentReplicatorOperation, - ) - .field("ReadStatus", &self.ReadStatus) - .field("WriteStatus", &self.WriteStatus) - .field("ReportedLoad", &self.ReportedLoad) - .field("ReplicatorStatus", &self.ReplicatorStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.CurrentServiceOperation == other.CurrentServiceOperation - && self.CurrentServiceOperationStartTimeUtc == other.CurrentServiceOperationStartTimeUtc - && self.CurrentReplicatorOperation == other.CurrentReplicatorOperation - && self.ReadStatus == other.ReadStatus - && self.WriteStatus == other.WriteStatus - && self.ReportedLoad == other.ReportedLoad - && self.ReplicatorStatus == other.ReplicatorStatus - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { - pub ReplicaStatus: *mut FABRIC_REPLICA_STATUS_QUERY_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1") - .field("ReplicaStatus", &self.ReplicaStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind - for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 -{ - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ReplicaStatus == other.ReplicaStatus && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { - pub DeployedServiceReplica: *mut FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2") - .field("DeployedServiceReplica", &self.DeployedServiceReplica) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind - for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 -{ - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.DeployedServiceReplica == other.DeployedServiceReplica - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub ReplicaRole: FABRIC_REPLICA_ROLE, - pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, - pub Address: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("CodePackageName", &self.CodePackageName) - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("ReplicaRole", &self.ReplicaRole) - .field("ReplicaStatus", &self.ReplicaStatus) - .field("Address", &self.Address) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.CodePackageName == other.CodePackageName - && self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.ReplicaRole == other.ReplicaRole - && self.ReplicaStatus == other.ReplicaStatus - && self.Address == other.Address - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - pub ServiceManifestName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1") - .field("ServiceManifestName", &self.ServiceManifestName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServiceManifestName == other.ServiceManifestName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - pub HostProcessId: i64, - pub ReconfigurationInformation: *mut FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3") - .field("HostProcessId", &self.HostProcessId) - .field( - "ReconfigurationInformation", - &self.ReconfigurationInformation, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - fn eq(&self, other: &Self) -> bool { - self.HostProcessId == other.HostProcessId - && self.ReconfigurationInformation == other.ReconfigurationInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub InstanceId: i64, - pub CurrentServiceOperation: FABRIC_QUERY_SERVICE_OPERATION_NAME, - pub CurrentServiceOperationStartTimeUtc: windows::Win32::Foundation::FILETIME, - pub ReportedLoad: *mut FABRIC_LOAD_METRIC_REPORT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("InstanceId", &self.InstanceId) - .field("CurrentServiceOperation", &self.CurrentServiceOperation) - .field( - "CurrentServiceOperationStartTimeUtc", - &self.CurrentServiceOperationStartTimeUtc, - ) - .field("ReportedLoad", &self.ReportedLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind - for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM -{ - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.InstanceId == other.InstanceId - && self.CurrentServiceOperation == other.CurrentServiceOperation - && self.CurrentServiceOperationStartTimeUtc == other.CurrentServiceOperationStartTimeUtc - && self.ReportedLoad == other.ReportedLoad - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { - pub DeployedServiceReplica: *mut FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1") - .field("DeployedServiceReplica", &self.DeployedServiceReplica) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind - for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 -{ - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.DeployedServiceReplica == other.DeployedServiceReplica - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub InstanceId: i64, - pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, - pub Address: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("CodePackageName", &self.CodePackageName) - .field("PartitionId", &self.PartitionId) - .field("InstanceId", &self.InstanceId) - .field("ReplicaStatus", &self.ReplicaStatus) - .field("Address", &self.Address) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.CodePackageName == other.CodePackageName - && self.PartitionId == other.PartitionId - && self.InstanceId == other.InstanceId - && self.ReplicaStatus == other.ReplicaStatus - && self.Address == other.Address - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - pub ServiceManifestName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1") - .field("ServiceManifestName", &self.ServiceManifestName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServiceManifestName == other.ServiceManifestName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - pub HostProcessId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 {} -impl Clone for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3") - .field("HostProcessId", &self.HostProcessId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - fn eq(&self, other: &Self) -> bool { - self.HostProcessId == other.HostProcessId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 {} -impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - pub IsolationPolicyType: FABRIC_DLLHOST_ISOLATION_POLICY, - pub HostedDlls: *mut FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION {} -impl Clone for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION") - .field("IsolationPolicyType", &self.IsolationPolicyType) - .field("HostedDlls", &self.HostedDlls) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.IsolationPolicyType == other.IsolationPolicyType - && self.HostedDlls == other.HostedDlls - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION {} -impl Default for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - pub Kind: FABRIC_DLLHOST_HOSTED_DLL_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION {} -impl Clone for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION {} -impl Default for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *mut FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION, -} -impl Copy for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST {} -impl Clone for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST {} -impl Default for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - pub AssemblyName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION {} -impl Clone for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION") - .field("AssemblyName", &self.AssemblyName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.AssemblyName == other.AssemblyName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION {} -impl Default for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - pub DllName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION {} -impl Clone for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION") - .field("DllName", &self.DllName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.DllName == other.DllName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION {} -impl Default for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Protocol: windows_core::PCWSTR, - pub Type: windows_core::PCWSTR, - pub Port: u32, - pub CertificateName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION {} -impl Clone for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ENDPOINT_RESOURCE_DESCRIPTION") - .field("Name", &self.Name) - .field("Protocol", &self.Protocol) - .field("Type", &self.Type) - .field("Port", &self.Port) - .field("CertificateName", &self.CertificateName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Protocol == other.Protocol - && self.Type == other.Type - && self.Port == other.Port - && self.CertificateName == other.CertificateName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION {} -impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - pub UriScheme: windows_core::PCWSTR, - pub PathSuffix: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1") - .field("UriScheme", &self.UriScheme) - .field("PathSuffix", &self.PathSuffix) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UriScheme == other.UriScheme - && self.PathSuffix == other.PathSuffix - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 {} -impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - pub CodePackageName: windows_core::PCWSTR, - pub IpAddressOrFqdn: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 {} -impl Clone for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2") - .field("CodePackageName", &self.CodePackageName) - .field("IpAddressOrFqdn", &self.IpAddressOrFqdn) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.CodePackageName == other.CodePackageName - && self.IpAddressOrFqdn == other.IpAddressOrFqdn - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 {} -impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, -} -impl Copy for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST {} -impl Clone for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST {} -impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - pub EntityKind: FABRIC_HEALTH_ENTITY_KIND, - pub HealthStateCount: *const FABRIC_HEALTH_STATE_COUNT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT {} -impl Clone for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT") - .field("EntityKind", &self.EntityKind) - .field("HealthStateCount", &self.HealthStateCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - fn eq(&self, other: &Self) -> bool { - self.EntityKind == other.EntityKind - && self.HealthStateCount == other.HealthStateCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT {} -impl Default for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_EPOCH { - pub DataLossNumber: i64, - pub ConfigurationNumber: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_EPOCH {} -impl Clone for FABRIC_EPOCH { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_EPOCH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EPOCH") - .field("DataLossNumber", &self.DataLossNumber) - .field("ConfigurationNumber", &self.ConfigurationNumber) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_EPOCH { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_EPOCH { - fn eq(&self, other: &Self) -> bool { - self.DataLossNumber == other.DataLossNumber - && self.ConfigurationNumber == other.ConfigurationNumber - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_EPOCH {} -impl Default for FABRIC_EPOCH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS { - pub DbFolderPath: windows_core::PCWSTR, - pub LogFileSizeInKB: i32, - pub LogBufferSizeInKB: i32, - pub MaxCursors: i32, - pub MaxVerPages: i32, - pub MaxAsyncCommitDelayInMilliseconds: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS {} -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS") - .field("DbFolderPath", &self.DbFolderPath) - .field("LogFileSizeInKB", &self.LogFileSizeInKB) - .field("LogBufferSizeInKB", &self.LogBufferSizeInKB) - .field("MaxCursors", &self.MaxCursors) - .field("MaxVerPages", &self.MaxVerPages) - .field( - "MaxAsyncCommitDelayInMilliseconds", - &self.MaxAsyncCommitDelayInMilliseconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.DbFolderPath == other.DbFolderPath - && self.LogFileSizeInKB == other.LogFileSizeInKB - && self.LogBufferSizeInKB == other.LogBufferSizeInKB - && self.MaxCursors == other.MaxCursors - && self.MaxVerPages == other.MaxVerPages - && self.MaxAsyncCommitDelayInMilliseconds == other.MaxAsyncCommitDelayInMilliseconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS {} -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - pub EnableIncrementalBackup: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1") - .field("EnableIncrementalBackup", &self.EnableIncrementalBackup) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.EnableIncrementalBackup == other.EnableIncrementalBackup - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - pub MaxCacheSizeInMB: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 {} -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2") - .field("MaxCacheSizeInMB", &self.MaxCacheSizeInMB) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.MaxCacheSizeInMB == other.MaxCacheSizeInMB && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 {} -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - pub MaxDefragFrequencyInMinutes: i32, - pub DefragThresholdInMB: i32, - pub DatabasePageSizeInKB: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 {} -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3") - .field( - "MaxDefragFrequencyInMinutes", - &self.MaxDefragFrequencyInMinutes, - ) - .field("DefragThresholdInMB", &self.DefragThresholdInMB) - .field("DatabasePageSizeInKB", &self.DatabasePageSizeInKB) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - fn eq(&self, other: &Self) -> bool { - self.MaxDefragFrequencyInMinutes == other.MaxDefragFrequencyInMinutes - && self.DefragThresholdInMB == other.DefragThresholdInMB - && self.DatabasePageSizeInKB == other.DatabasePageSizeInKB - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 {} -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - pub CompactionThresholdInMB: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 {} -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4") - .field("CompactionThresholdInMB", &self.CompactionThresholdInMB) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - fn eq(&self, other: &Self) -> bool { - self.CompactionThresholdInMB == other.CompactionThresholdInMB - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 {} -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - pub IntrinsicValueThresholdInBytes: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 {} -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5") - .field( - "IntrinsicValueThresholdInBytes", - &self.IntrinsicValueThresholdInBytes, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - fn eq(&self, other: &Self) -> bool { - self.IntrinsicValueThresholdInBytes == other.IntrinsicValueThresholdInBytes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 {} -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - pub EnableOverwriteOnUpdate: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6") - .field("EnableOverwriteOnUpdate", &self.EnableOverwriteOnUpdate) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - fn eq(&self, other: &Self) -> bool { - self.EnableOverwriteOnUpdate == other.EnableOverwriteOnUpdate - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_EVENT_CONTEXT_MAP { - pub Count: u32, - pub Items: *mut FABRIC_EVENT_CONTEXT_MAP_ITEM, -} -impl Copy for FABRIC_EVENT_CONTEXT_MAP {} -impl Clone for FABRIC_EVENT_CONTEXT_MAP { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_EVENT_CONTEXT_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EVENT_CONTEXT_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_EVENT_CONTEXT_MAP { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_EVENT_CONTEXT_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_EVENT_CONTEXT_MAP {} -impl Default for FABRIC_EVENT_CONTEXT_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_EVENT_CONTEXT_MAP_ITEM { - pub Key: windows_core::PCWSTR, - pub Value: windows_core::PCWSTR, -} -impl Copy for FABRIC_EVENT_CONTEXT_MAP_ITEM {} -impl Clone for FABRIC_EVENT_CONTEXT_MAP_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_EVENT_CONTEXT_MAP_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EVENT_CONTEXT_MAP_ITEM") - .field("Key", &self.Key) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_EVENT_CONTEXT_MAP_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_EVENT_CONTEXT_MAP_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Key == other.Key && self.Value == other.Value - } -} -impl Eq for FABRIC_EVENT_CONTEXT_MAP_ITEM {} -impl Default for FABRIC_EVENT_CONTEXT_MAP_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_EVENT_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvent: *const FABRIC_HEALTH_EVENT, - pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_EVENT_HEALTH_EVALUATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_EVENT_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_EVENT_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EVENT_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvent", &self.UnhealthyEvent) - .field("ConsiderWarningAsError", &self.ConsiderWarningAsError) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_EVENT_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_EVENT_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvent == other.UnhealthyEvent - && self.ConsiderWarningAsError == other.ConsiderWarningAsError - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_EVENT_HEALTH_EVALUATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_EVENT_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_EXECUTING_FAULTS_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub Faults: *const FABRIC_STRING_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_EXECUTING_FAULTS_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_EXECUTING_FAULTS_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_EXECUTING_FAULTS_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EXECUTING_FAULTS_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("Faults", &self.Faults) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_EXECUTING_FAULTS_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_EXECUTING_FAULTS_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.Faults == other.Faults - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_EXECUTING_FAULTS_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_EXECUTING_FAULTS_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - pub Program: windows_core::PCWSTR, - pub Arguments: windows_core::PCWSTR, - pub WorkingFolder: FABRIC_EXEHOST_WORKING_FOLDER, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION {} -impl Clone for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION") - .field("Program", &self.Program) - .field("Arguments", &self.Arguments) - .field("WorkingFolder", &self.WorkingFolder) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Program == other.Program - && self.Arguments == other.Arguments - && self.WorkingFolder == other.WorkingFolder - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION {} -impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - pub PeriodicIntervalInSeconds: u32, - pub ConsoleRedirectionEnabled: windows::Win32::Foundation::BOOLEAN, - pub ConsoleRedirectionFileRetentionCount: u32, - pub ConsoleRedirectionFileMaxSizeInKb: u32, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1") - .field("PeriodicIntervalInSeconds", &self.PeriodicIntervalInSeconds) - .field("ConsoleRedirectionEnabled", &self.ConsoleRedirectionEnabled) - .field( - "ConsoleRedirectionFileRetentionCount", - &self.ConsoleRedirectionFileRetentionCount, - ) - .field( - "ConsoleRedirectionFileMaxSizeInKb", - &self.ConsoleRedirectionFileMaxSizeInKb, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PeriodicIntervalInSeconds == other.PeriodicIntervalInSeconds - && self.ConsoleRedirectionEnabled == other.ConsoleRedirectionEnabled - && self.ConsoleRedirectionFileRetentionCount - == other.ConsoleRedirectionFileRetentionCount - && self.ConsoleRedirectionFileMaxSizeInKb == other.ConsoleRedirectionFileMaxSizeInKb - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - pub IsExternalExecutable: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2") - .field("IsExternalExecutable", &self.IsExternalExecutable) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsExternalExecutable == other.IsExternalExecutable && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub ApplicationPackageDownloadUri: windows_core::PCWSTR, - pub Async: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field( - "ApplicationPackageDownloadUri", - &self.ApplicationPackageDownloadUri, - ) - .field("Async", &self.Async) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.ApplicationPackageDownloadUri == other.ApplicationPackageDownloadUri - && self.Async == other.Async - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_GATEWAY_INFORMATION { - pub NodeAddress: windows_core::PCWSTR, - pub NodeId: FABRIC_NODE_ID, - pub NodeInstanceId: u64, - pub NodeName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_GATEWAY_INFORMATION {} -impl Clone for FABRIC_GATEWAY_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_GATEWAY_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_GATEWAY_INFORMATION") - .field("NodeAddress", &self.NodeAddress) - .field("NodeId", &self.NodeId) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("NodeName", &self.NodeName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_GATEWAY_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_GATEWAY_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.NodeAddress == other.NodeAddress - && self.NodeId == other.NodeId - && self.NodeInstanceId == other.NodeInstanceId - && self.NodeName == other.NodeName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_GATEWAY_INFORMATION {} -impl Default for FABRIC_GATEWAY_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - pub Filter: *mut FABRIC_CHAOS_REPORT_FILTER, - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_GET_CHAOS_REPORT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_GET_CHAOS_REPORT_DESCRIPTION") - .field("Filter", &self.Filter) - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Filter == other.Filter - && self.ContinuationToken == other.ContinuationToken - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_GET_CHAOS_REPORT_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_GET_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub IncludeValue: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_GET_PROPERTY_OPERATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_GET_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_GET_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_GET_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("IncludeValue", &self.IncludeValue) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_GET_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_GET_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.IncludeValue == other.IncludeValue - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_GET_PROPERTY_OPERATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_GET_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_EVALUATION { - pub Kind: FABRIC_HEALTH_EVALUATION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_HEALTH_EVALUATION {} -impl Clone for FABRIC_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVALUATION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_HEALTH_EVALUATION {} -impl Default for FABRIC_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_EVALUATION_LIST { - pub Count: u32, - pub Items: *const FABRIC_HEALTH_EVALUATION, -} -impl Copy for FABRIC_HEALTH_EVALUATION_LIST {} -impl Clone for FABRIC_HEALTH_EVALUATION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_EVALUATION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVALUATION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_EVALUATION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_HEALTH_EVALUATION_LIST {} -impl Default for FABRIC_HEALTH_EVALUATION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_HEALTH_EVENT { - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub SourceUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub LastModifiedUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub IsExpired: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_HEALTH_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_HEALTH_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_HEALTH_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVENT") - .field("HealthInformation", &self.HealthInformation) - .field("SourceUtcTimestamp", &self.SourceUtcTimestamp) - .field("LastModifiedUtcTimestamp", &self.LastModifiedUtcTimestamp) - .field("IsExpired", &self.IsExpired) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_HEALTH_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_HEALTH_EVENT { - fn eq(&self, other: &Self) -> bool { - self.HealthInformation == other.HealthInformation - && self.SourceUtcTimestamp == other.SourceUtcTimestamp - && self.LastModifiedUtcTimestamp == other.LastModifiedUtcTimestamp - && self.IsExpired == other.IsExpired - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_HEALTH_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_HEALTH_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_EVENTS_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_HEALTH_EVENTS_FILTER {} -impl Clone for FABRIC_HEALTH_EVENTS_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_EVENTS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVENTS_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_EVENTS_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_EVENTS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_HEALTH_EVENTS_FILTER {} -impl Default for FABRIC_HEALTH_EVENTS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_HEALTH_EVENT_EX1 { - pub LastOkTransitionAt: windows::Win32::Foundation::FILETIME, - pub LastWarningTransitionAt: windows::Win32::Foundation::FILETIME, - pub LastErrorTransitionAt: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_HEALTH_EVENT_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_HEALTH_EVENT_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_HEALTH_EVENT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVENT_EX1") - .field("LastOkTransitionAt", &self.LastOkTransitionAt) - .field("LastWarningTransitionAt", &self.LastWarningTransitionAt) - .field("LastErrorTransitionAt", &self.LastErrorTransitionAt) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_HEALTH_EVENT_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_HEALTH_EVENT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.LastOkTransitionAt == other.LastOkTransitionAt - && self.LastWarningTransitionAt == other.LastWarningTransitionAt - && self.LastErrorTransitionAt == other.LastErrorTransitionAt - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_HEALTH_EVENT_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_HEALTH_EVENT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_HEALTH_EVENT_LIST { - pub Count: u32, - pub Items: *const FABRIC_HEALTH_EVENT, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_HEALTH_EVENT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_HEALTH_EVENT_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_HEALTH_EVENT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_EVENT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_HEALTH_EVENT_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_HEALTH_EVENT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_HEALTH_EVENT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_HEALTH_EVENT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_HEALTH_INFORMATION { - pub SourceId: windows_core::PCWSTR, - pub Property: windows_core::PCWSTR, - pub TimeToLiveSeconds: u32, - pub State: FABRIC_HEALTH_STATE, - pub Description: windows_core::PCWSTR, - pub SequenceNumber: i64, - pub RemoveWhenExpired: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_HEALTH_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_HEALTH_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_HEALTH_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_INFORMATION") - .field("SourceId", &self.SourceId) - .field("Property", &self.Property) - .field("TimeToLiveSeconds", &self.TimeToLiveSeconds) - .field("State", &self.State) - .field("Description", &self.Description) - .field("SequenceNumber", &self.SequenceNumber) - .field("RemoveWhenExpired", &self.RemoveWhenExpired) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_HEALTH_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_HEALTH_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.SourceId == other.SourceId - && self.Property == other.Property - && self.TimeToLiveSeconds == other.TimeToLiveSeconds - && self.State == other.State - && self.Description == other.Description - && self.SequenceNumber == other.SequenceNumber - && self.RemoveWhenExpired == other.RemoveWhenExpired - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_HEALTH_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_HEALTH_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_REPORT { - pub Kind: FABRIC_HEALTH_REPORT_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_HEALTH_REPORT {} -impl Clone for FABRIC_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_REPORT") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_HEALTH_REPORT {} -impl Default for FABRIC_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_HEALTH_REPORT_SEND_OPTIONS { - pub Immediate: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_HEALTH_REPORT_SEND_OPTIONS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_HEALTH_REPORT_SEND_OPTIONS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_HEALTH_REPORT_SEND_OPTIONS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_REPORT_SEND_OPTIONS") - .field("Immediate", &self.Immediate) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_HEALTH_REPORT_SEND_OPTIONS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_HEALTH_REPORT_SEND_OPTIONS { - fn eq(&self, other: &Self) -> bool { - self.Immediate == other.Immediate && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_HEALTH_REPORT_SEND_OPTIONS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_HEALTH_REPORT_SEND_OPTIONS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_STATE_COUNT { - pub OkCount: u32, - pub WarningCount: u32, - pub ErrorCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_HEALTH_STATE_COUNT {} -impl Clone for FABRIC_HEALTH_STATE_COUNT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_STATE_COUNT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_STATE_COUNT") - .field("OkCount", &self.OkCount) - .field("WarningCount", &self.WarningCount) - .field("ErrorCount", &self.ErrorCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_STATE_COUNT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_STATE_COUNT { - fn eq(&self, other: &Self) -> bool { - self.OkCount == other.OkCount - && self.WarningCount == other.WarningCount - && self.ErrorCount == other.ErrorCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_HEALTH_STATE_COUNT {} -impl Default for FABRIC_HEALTH_STATE_COUNT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_HEALTH_STATISTICS { - pub Count: u32, - pub Items: *const FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_HEALTH_STATISTICS {} -impl Clone for FABRIC_HEALTH_STATISTICS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_HEALTH_STATISTICS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_HEALTH_STATISTICS") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_HEALTH_STATISTICS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_HEALTH_STATISTICS { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_HEALTH_STATISTICS {} -impl Default for FABRIC_HEALTH_STATISTICS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_INT64_RANGE_PARTITION_INFORMATION { - pub Id: windows_core::GUID, - pub LowKey: i64, - pub HighKey: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_INT64_RANGE_PARTITION_INFORMATION {} -impl Clone for FABRIC_INT64_RANGE_PARTITION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_INT64_RANGE_PARTITION_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_INT64_RANGE_PARTITION_INFORMATION") - .field("Id", &self.Id) - .field("LowKey", &self.LowKey) - .field("HighKey", &self.HighKey) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_INT64_RANGE_PARTITION_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_INT64_RANGE_PARTITION_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Id == other.Id - && self.LowKey == other.LowKey - && self.HighKey == other.HighKey - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_INT64_RANGE_PARTITION_INFORMATION {} -impl Default for FABRIC_INT64_RANGE_PARTITION_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_ITEM { - pub Metadata: *const FABRIC_KEY_VALUE_STORE_ITEM_METADATA, - pub Value: *mut u8, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_ITEM") - .field("Metadata", &self.Metadata) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Metadata == other.Metadata - && self.Value == other.Value - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - pub Key: windows_core::PCWSTR, - pub ValueSizeInBytes: i32, - pub SequenceNumber: i64, - pub LastModifiedUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_ITEM_METADATA {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_ITEM_METADATA") - .field("Key", &self.Key) - .field("ValueSizeInBytes", &self.ValueSizeInBytes) - .field("SequenceNumber", &self.SequenceNumber) - .field("LastModifiedUtc", &self.LastModifiedUtc) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - fn eq(&self, other: &Self) -> bool { - self.Key == other.Key - && self.ValueSizeInBytes == other.ValueSizeInBytes - && self.SequenceNumber == other.SequenceNumber - && self.LastModifiedUtc == other.LastModifiedUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_ITEM_METADATA {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - pub LastModifiedOnPrimaryUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1") - .field("LastModifiedOnPrimaryUtc", &self.LastModifiedOnPrimaryUtc) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - fn eq(&self, other: &Self) -> bool { - self.LastModifiedOnPrimaryUtc == other.LastModifiedOnPrimaryUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - pub CurrentPhase: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE, - pub State: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE, - pub NextPhase: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT {} -impl Clone for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT") - .field("CurrentPhase", &self.CurrentPhase) - .field("State", &self.State) - .field("NextPhase", &self.NextPhase) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.CurrentPhase == other.CurrentPhase - && self.State == other.State - && self.NextPhase == other.NextPhase - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT {} -impl Default for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - pub TransactionDrainTimeoutInSeconds: u32, - pub SecondaryNotificationMode: FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS {} -impl Clone for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS") - .field( - "TransactionDrainTimeoutInSeconds", - &self.TransactionDrainTimeoutInSeconds, - ) - .field("SecondaryNotificationMode", &self.SecondaryNotificationMode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.TransactionDrainTimeoutInSeconds == other.TransactionDrainTimeoutInSeconds - && self.SecondaryNotificationMode == other.SecondaryNotificationMode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS {} -impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - pub EnableCopyNotificationPrefetch: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1") - .field( - "EnableCopyNotificationPrefetch", - &self.EnableCopyNotificationPrefetch, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.EnableCopyNotificationPrefetch == other.EnableCopyNotificationPrefetch - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - pub FullCopyMode: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 {} -impl Clone for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2") - .field("FullCopyMode", &self.FullCopyMode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.FullCopyMode == other.FullCopyMode && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 {} -impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - pub LogTruncationIntervalInMinutes: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 {} -impl Clone for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3") - .field( - "LogTruncationIntervalInMinutes", - &self.LogTruncationIntervalInMinutes, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - fn eq(&self, other: &Self) -> bool { - self.LogTruncationIntervalInMinutes == other.LogTruncationIntervalInMinutes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 {} -impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - pub InlineReopen: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS") - .field("InlineReopen", &self.InlineReopen) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.InlineReopen == other.InlineReopen && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - pub EnableLsnCheck: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1") - .field("EnableLsnCheck", &self.EnableLsnCheck) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.EnableLsnCheck == other.EnableLsnCheck && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - pub DatabaseRowCountEstimate: i64, - pub DatabaseLogicalSizeEstimate: i64, - pub CopyNotificationCurrentKeyFilter: windows_core::PCWSTR, - pub CopyNotificationCurrentProgress: i64, - pub StatusDetails: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT {} -impl Clone for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT") - .field("DatabaseRowCountEstimate", &self.DatabaseRowCountEstimate) - .field( - "DatabaseLogicalSizeEstimate", - &self.DatabaseLogicalSizeEstimate, - ) - .field( - "CopyNotificationCurrentKeyFilter", - &self.CopyNotificationCurrentKeyFilter, - ) - .field( - "CopyNotificationCurrentProgress", - &self.CopyNotificationCurrentProgress, - ) - .field("StatusDetails", &self.StatusDetails) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.DatabaseRowCountEstimate == other.DatabaseRowCountEstimate - && self.DatabaseLogicalSizeEstimate == other.DatabaseLogicalSizeEstimate - && self.CopyNotificationCurrentKeyFilter == other.CopyNotificationCurrentKeyFilter - && self.CopyNotificationCurrentProgress == other.CopyNotificationCurrentProgress - && self.StatusDetails == other.StatusDetails - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT {} -impl Default for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - pub ProviderKind: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND, - pub MigrationStatus: *const FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 {} -impl Clone for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1") - .field("ProviderKind", &self.ProviderKind) - .field("MigrationStatus", &self.MigrationStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ProviderKind == other.ProviderKind - && self.MigrationStatus == other.MigrationStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 {} -impl Default for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - pub SerializationBlockSize: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS {} -impl Clone for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS") - .field("SerializationBlockSize", &self.SerializationBlockSize) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.SerializationBlockSize == other.SerializationBlockSize - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS {} -impl Default for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOAD_METRIC { - pub Name: windows_core::PCWSTR, - pub Value: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOAD_METRIC {} -impl Clone for FABRIC_LOAD_METRIC { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOAD_METRIC { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC") - .field("Name", &self.Name) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOAD_METRIC { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOAD_METRIC { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Value == other.Value && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOAD_METRIC {} -impl Default for FABRIC_LOAD_METRIC { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_LOAD_METRIC_INFORMATION { - pub Name: windows_core::PCWSTR, - pub IsBalancedBefore: windows::Win32::Foundation::BOOLEAN, - pub IsBalancedAfter: windows::Win32::Foundation::BOOLEAN, - pub DeviationBefore: f64, - pub DeviationAfter: f64, - pub BalancingThreshold: f64, - pub Action: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_LOAD_METRIC_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_LOAD_METRIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_LOAD_METRIC_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_INFORMATION") - .field("Name", &self.Name) - .field("IsBalancedBefore", &self.IsBalancedBefore) - .field("IsBalancedAfter", &self.IsBalancedAfter) - .field("DeviationBefore", &self.DeviationBefore) - .field("DeviationAfter", &self.DeviationAfter) - .field("BalancingThreshold", &self.BalancingThreshold) - .field("Action", &self.Action) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_LOAD_METRIC_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.IsBalancedBefore == other.IsBalancedBefore - && self.IsBalancedAfter == other.IsBalancedAfter - && self.DeviationBefore == other.DeviationBefore - && self.DeviationAfter == other.DeviationAfter - && self.BalancingThreshold == other.BalancingThreshold - && self.Action == other.Action - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_LOAD_METRIC_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_LOAD_METRIC_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOAD_METRIC_INFORMATION_EX1 { - pub ActivityThreshold: u32, - pub ClusterCapacity: i64, - pub ClusterLoad: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOAD_METRIC_INFORMATION_EX1 {} -impl Clone for FABRIC_LOAD_METRIC_INFORMATION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOAD_METRIC_INFORMATION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_INFORMATION_EX1") - .field("ActivityThreshold", &self.ActivityThreshold) - .field("ClusterCapacity", &self.ClusterCapacity) - .field("ClusterLoad", &self.ClusterLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOAD_METRIC_INFORMATION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ActivityThreshold == other.ActivityThreshold - && self.ClusterCapacity == other.ClusterCapacity - && self.ClusterLoad == other.ClusterLoad - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOAD_METRIC_INFORMATION_EX1 {} -impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_LOAD_METRIC_INFORMATION_EX2 { - pub RemainingUnbufferedCapacity: i64, - pub NodeBufferPercentage: f64, - pub BufferedCapacity: i64, - pub RemainingBufferedCapacity: i64, - pub IsClusterCapacityViolation: windows::Win32::Foundation::BOOLEAN, - pub MinNodeLoadValue: i64, - pub MinNodeLoadNodeId: FABRIC_NODE_ID, - pub MaxNodeLoadValue: i64, - pub MaxNodeLoadNodeId: FABRIC_NODE_ID, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_LOAD_METRIC_INFORMATION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_LOAD_METRIC_INFORMATION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_LOAD_METRIC_INFORMATION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_INFORMATION_EX2") - .field( - "RemainingUnbufferedCapacity", - &self.RemainingUnbufferedCapacity, - ) - .field("NodeBufferPercentage", &self.NodeBufferPercentage) - .field("BufferedCapacity", &self.BufferedCapacity) - .field("RemainingBufferedCapacity", &self.RemainingBufferedCapacity) - .field( - "IsClusterCapacityViolation", - &self.IsClusterCapacityViolation, - ) - .field("MinNodeLoadValue", &self.MinNodeLoadValue) - .field("MinNodeLoadNodeId", &self.MinNodeLoadNodeId) - .field("MaxNodeLoadValue", &self.MaxNodeLoadValue) - .field("MaxNodeLoadNodeId", &self.MaxNodeLoadNodeId) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_LOAD_METRIC_INFORMATION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.RemainingUnbufferedCapacity == other.RemainingUnbufferedCapacity - && self.NodeBufferPercentage == other.NodeBufferPercentage - && self.BufferedCapacity == other.BufferedCapacity - && self.RemainingBufferedCapacity == other.RemainingBufferedCapacity - && self.IsClusterCapacityViolation == other.IsClusterCapacityViolation - && self.MinNodeLoadValue == other.MinNodeLoadValue - && self.MinNodeLoadNodeId == other.MinNodeLoadNodeId - && self.MaxNodeLoadValue == other.MaxNodeLoadValue - && self.MaxNodeLoadNodeId == other.MaxNodeLoadNodeId - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_LOAD_METRIC_INFORMATION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOAD_METRIC_INFORMATION_EX3 { - pub CurrentClusterLoad: f64, - pub BufferedClusterCapacityRemaining: f64, - pub ClusterCapacityRemaining: f64, - pub MaximumNodeLoad: f64, - pub MinimumNodeLoad: f64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOAD_METRIC_INFORMATION_EX3 {} -impl Clone for FABRIC_LOAD_METRIC_INFORMATION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOAD_METRIC_INFORMATION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_INFORMATION_EX3") - .field("CurrentClusterLoad", &self.CurrentClusterLoad) - .field( - "BufferedClusterCapacityRemaining", - &self.BufferedClusterCapacityRemaining, - ) - .field("ClusterCapacityRemaining", &self.ClusterCapacityRemaining) - .field("MaximumNodeLoad", &self.MaximumNodeLoad) - .field("MinimumNodeLoad", &self.MinimumNodeLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOAD_METRIC_INFORMATION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.CurrentClusterLoad == other.CurrentClusterLoad - && self.BufferedClusterCapacityRemaining == other.BufferedClusterCapacityRemaining - && self.ClusterCapacityRemaining == other.ClusterCapacityRemaining - && self.MaximumNodeLoad == other.MaximumNodeLoad - && self.MinimumNodeLoad == other.MinimumNodeLoad - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOAD_METRIC_INFORMATION_EX3 {} -impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_LOAD_METRIC_INFORMATION_LIST { - pub Count: u32, - pub Items: *mut FABRIC_LOAD_METRIC_INFORMATION, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_LOAD_METRIC_INFORMATION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_LOAD_METRIC_INFORMATION_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_LOAD_METRIC_INFORMATION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_INFORMATION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_LOAD_METRIC_INFORMATION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_LOAD_METRIC_INFORMATION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_LOAD_METRIC_INFORMATION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_LOAD_METRIC_REPORT { - pub Name: windows_core::PCWSTR, - pub Value: u32, - pub LastReportedUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_LOAD_METRIC_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_LOAD_METRIC_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_LOAD_METRIC_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_REPORT") - .field("Name", &self.Name) - .field("Value", &self.Value) - .field("LastReportedUtc", &self.LastReportedUtc) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_LOAD_METRIC_REPORT { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Value == other.Value - && self.LastReportedUtc == other.LastReportedUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_LOAD_METRIC_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_LOAD_METRIC_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOAD_METRIC_REPORT_EX1 { - pub CurrentValue: f64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOAD_METRIC_REPORT_EX1 {} -impl Clone for FABRIC_LOAD_METRIC_REPORT_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOAD_METRIC_REPORT_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_REPORT_EX1") - .field("CurrentValue", &self.CurrentValue) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOAD_METRIC_REPORT_EX1 { - fn eq(&self, other: &Self) -> bool { - self.CurrentValue == other.CurrentValue && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOAD_METRIC_REPORT_EX1 {} -impl Default for FABRIC_LOAD_METRIC_REPORT_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_LOAD_METRIC_REPORT_LIST { - pub Count: u32, - pub Items: *mut FABRIC_LOAD_METRIC_REPORT, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_LOAD_METRIC_REPORT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_LOAD_METRIC_REPORT_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_LOAD_METRIC_REPORT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOAD_METRIC_REPORT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_LOAD_METRIC_REPORT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_LOAD_METRIC_REPORT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_LOAD_METRIC_REPORT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - pub NetworkAddressPrefix: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION {} -impl Clone for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION") - .field("NetworkAddressPrefix", &self.NetworkAddressPrefix) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkAddressPrefix == other.NetworkAddressPrefix && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION {} -impl Default for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOCAL_NETWORK_DESCRIPTION { - pub NetworkConfiguration: *const FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOCAL_NETWORK_DESCRIPTION {} -impl Clone for FABRIC_LOCAL_NETWORK_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOCAL_NETWORK_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOCAL_NETWORK_DESCRIPTION") - .field("NetworkConfiguration", &self.NetworkConfiguration) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOCAL_NETWORK_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkConfiguration == other.NetworkConfiguration && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOCAL_NETWORK_DESCRIPTION {} -impl Default for FABRIC_LOCAL_NETWORK_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_LOCAL_NETWORK_INFORMATION { - pub NetworkName: windows_core::PCWSTR, - pub NetworkConfiguration: *const FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION, - pub NetworkStatus: FABRIC_NETWORK_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_LOCAL_NETWORK_INFORMATION {} -impl Clone for FABRIC_LOCAL_NETWORK_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_LOCAL_NETWORK_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_LOCAL_NETWORK_INFORMATION") - .field("NetworkName", &self.NetworkName) - .field("NetworkConfiguration", &self.NetworkConfiguration) - .field("NetworkStatus", &self.NetworkStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_LOCAL_NETWORK_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName - && self.NetworkConfiguration == other.NetworkConfiguration - && self.NetworkStatus == other.NetworkStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_LOCAL_NETWORK_INFORMATION {} -impl Default for FABRIC_LOCAL_NETWORK_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - pub Kind: FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_MOVE_PRIMARY_DESCRIPTION2 {} -impl Clone for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_PRIMARY_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_MOVE_PRIMARY_DESCRIPTION2 {} -impl Default for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - pub NodeName: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub IgnoreConstraints: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME") - .field("NodeName", &self.NodeName) - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("IgnoreConstraints", &self.IgnoreConstraints) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.IgnoreConstraints == other.IgnoreConstraints - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_MOVE_PRIMARY_RESULT { - pub NodeName: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_MOVE_PRIMARY_RESULT {} -impl Clone for FABRIC_MOVE_PRIMARY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_MOVE_PRIMARY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_PRIMARY_RESULT") - .field("NodeName", &self.NodeName) - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_MOVE_PRIMARY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_MOVE_PRIMARY_RESULT {} -impl Default for FABRIC_MOVE_PRIMARY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - pub Kind: FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_MOVE_SECONDARY_DESCRIPTION2 {} -impl Clone for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_SECONDARY_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_MOVE_SECONDARY_DESCRIPTION2 {} -impl Default for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - pub CurrentNodeName: windows_core::PCWSTR, - pub NewNodeName: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub IgnoreConstraints: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME") - .field("CurrentNodeName", &self.CurrentNodeName) - .field("NewNodeName", &self.NewNodeName) - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("IgnoreConstraints", &self.IgnoreConstraints) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.CurrentNodeName == other.CurrentNodeName - && self.NewNodeName == other.NewNodeName - && self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.IgnoreConstraints == other.IgnoreConstraints - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_MOVE_SECONDARY_RESULT { - pub CurrentNodeName: windows_core::PCWSTR, - pub NewNodeName: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_MOVE_SECONDARY_RESULT {} -impl Clone for FABRIC_MOVE_SECONDARY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_MOVE_SECONDARY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_MOVE_SECONDARY_RESULT") - .field("CurrentNodeName", &self.CurrentNodeName) - .field("NewNodeName", &self.NewNodeName) - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_MOVE_SECONDARY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.CurrentNodeName == other.CurrentNodeName - && self.NewNodeName == other.NewNodeName - && self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_MOVE_SECONDARY_RESULT {} -impl Default for FABRIC_MOVE_SECONDARY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NAMED_PARTITION_INFORMATION { - pub Id: windows_core::GUID, - pub Name: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NAMED_PARTITION_INFORMATION {} -impl Clone for FABRIC_NAMED_PARTITION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NAMED_PARTITION_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_PARTITION_INFORMATION") - .field("Id", &self.Id) - .field("Name", &self.Name) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NAMED_PARTITION_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NAMED_PARTITION_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Id == other.Id && self.Name == other.Name && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NAMED_PARTITION_INFORMATION {} -impl Default for FABRIC_NAMED_PARTITION_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - pub PartitionCount: i32, - pub Names: *const windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION {} -impl Clone for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION") - .field("PartitionCount", &self.PartitionCount) - .field("Names", &self.Names) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionCount == other.PartitionCount - && self.Names == other.Names - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION {} -impl Default for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NAMED_PROPERTY { - pub Metadata: *const FABRIC_NAMED_PROPERTY_METADATA, - pub Value: *mut u8, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NAMED_PROPERTY {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NAMED_PROPERTY { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NAMED_PROPERTY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_PROPERTY") - .field("Metadata", &self.Metadata) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NAMED_PROPERTY { - fn eq(&self, other: &Self) -> bool { - self.Metadata == other.Metadata - && self.Value == other.Value - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NAMED_PROPERTY {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NAMED_PROPERTY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NAMED_PROPERTY_METADATA { - pub PropertyName: windows_core::PCWSTR, - pub TypeId: FABRIC_PROPERTY_TYPE_ID, - pub ValueSize: i32, - pub SequenceNumber: i64, - pub LastModifiedUtc: windows::Win32::Foundation::FILETIME, - pub Name: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NAMED_PROPERTY_METADATA {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NAMED_PROPERTY_METADATA { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NAMED_PROPERTY_METADATA { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_PROPERTY_METADATA") - .field("PropertyName", &self.PropertyName) - .field("TypeId", &self.TypeId) - .field("ValueSize", &self.ValueSize) - .field("SequenceNumber", &self.SequenceNumber) - .field("LastModifiedUtc", &self.LastModifiedUtc) - .field("Name", &self.Name) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY_METADATA { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NAMED_PROPERTY_METADATA { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.TypeId == other.TypeId - && self.ValueSize == other.ValueSize - && self.SequenceNumber == other.SequenceNumber - && self.LastModifiedUtc == other.LastModifiedUtc - && self.Name == other.Name - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NAMED_PROPERTY_METADATA {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NAMED_PROPERTY_METADATA { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NAMED_PROPERTY_METADATA_EX1 { - pub CustomTypeId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NAMED_PROPERTY_METADATA_EX1 {} -impl Clone for FABRIC_NAMED_PROPERTY_METADATA_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NAMED_PROPERTY_METADATA_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_PROPERTY_METADATA_EX1") - .field("CustomTypeId", &self.CustomTypeId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY_METADATA_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NAMED_PROPERTY_METADATA_EX1 { - fn eq(&self, other: &Self) -> bool { - self.CustomTypeId == other.CustomTypeId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NAMED_PROPERTY_METADATA_EX1 {} -impl Default for FABRIC_NAMED_PROPERTY_METADATA_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NAMED_REPARTITION_DESCRIPTION { - pub NamesToAddCount: u32, - pub NamesToAdd: *const windows_core::PCWSTR, - pub NamesToRemoveCount: u32, - pub NamesToRemove: *const windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NAMED_REPARTITION_DESCRIPTION {} -impl Clone for FABRIC_NAMED_REPARTITION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NAMED_REPARTITION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NAMED_REPARTITION_DESCRIPTION") - .field("NamesToAddCount", &self.NamesToAddCount) - .field("NamesToAdd", &self.NamesToAdd) - .field("NamesToRemoveCount", &self.NamesToRemoveCount) - .field("NamesToRemove", &self.NamesToRemove) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NAMED_REPARTITION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NAMED_REPARTITION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NamesToAddCount == other.NamesToAddCount - && self.NamesToAdd == other.NamesToAdd - && self.NamesToRemoveCount == other.NamesToRemoveCount - && self.NamesToRemove == other.NamesToRemove - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NAMED_REPARTITION_DESCRIPTION {} -impl Default for FABRIC_NAMED_REPARTITION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - pub NetworkName: windows_core::PCWSTR, - pub ApplicationNameFilter: FABRIC_URI, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION") - .field("NetworkName", &self.NetworkName) - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName - && self.ApplicationNameFilter == other.ApplicationNameFilter - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - pub ApplicationName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM") - .field("ApplicationName", &self.ApplicationName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST {} -impl Default for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_DESCRIPTION { - pub NetworkType: FABRIC_NETWORK_TYPE, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_DESCRIPTION {} -impl Clone for FABRIC_NETWORK_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_DESCRIPTION") - .field("NetworkType", &self.NetworkType) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkType == other.NetworkType && self.Value == other.Value - } -} -impl Eq for FABRIC_NETWORK_DESCRIPTION {} -impl Default for FABRIC_NETWORK_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_INFORMATION { - pub NetworkType: FABRIC_NETWORK_TYPE, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_INFORMATION {} -impl Clone for FABRIC_NETWORK_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_INFORMATION") - .field("NetworkType", &self.NetworkType) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.NetworkType == other.NetworkType && self.Value == other.Value - } -} -impl Eq for FABRIC_NETWORK_INFORMATION {} -impl Default for FABRIC_NETWORK_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - pub NetworkName: windows_core::PCWSTR, - pub NodeNameFilter: windows_core::PCWSTR, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_NODE_QUERY_DESCRIPTION") - .field("NetworkName", &self.NetworkName) - .field("NodeNameFilter", &self.NodeNameFilter) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkName == other.NetworkName - && self.NodeNameFilter == other.NodeNameFilter - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION {} -impl Default for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - pub NodeName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM") - .field("NodeName", &self.NodeName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_NODE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST {} -impl Default for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_QUERY_DESCRIPTION { - pub NetworkNameFilter: windows_core::PCWSTR, - pub NetworkStatusFilter: u32, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NETWORK_QUERY_DESCRIPTION {} -impl Clone for FABRIC_NETWORK_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_QUERY_DESCRIPTION") - .field("NetworkNameFilter", &self.NetworkNameFilter) - .field("NetworkStatusFilter", &self.NetworkStatusFilter) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NetworkNameFilter == other.NetworkNameFilter - && self.NetworkStatusFilter == other.NetworkStatusFilter - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NETWORK_QUERY_DESCRIPTION {} -impl Default for FABRIC_NETWORK_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NETWORK_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_NETWORK_INFORMATION, -} -impl Copy for FABRIC_NETWORK_QUERY_RESULT_LIST {} -impl Clone for FABRIC_NETWORK_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NETWORK_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NETWORK_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NETWORK_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NETWORK_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NETWORK_QUERY_RESULT_LIST {} -impl Default for FABRIC_NETWORK_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODES_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyNodes: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODES_HEALTH_EVALUATION {} -impl Clone for FABRIC_NODES_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODES_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODES_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field("MaxPercentUnhealthyNodes", &self.MaxPercentUnhealthyNodes) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODES_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODES_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyNodes == other.MaxPercentUnhealthyNodes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODES_HEALTH_EVALUATION {} -impl Default for FABRIC_NODES_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_CONTEXT { - pub NodeName: windows_core::PCWSTR, - pub NodeType: windows_core::PCWSTR, - pub IPAddressOrFQDN: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub NodeId: FABRIC_NODE_ID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_CONTEXT {} -impl Clone for FABRIC_NODE_CONTEXT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_CONTEXT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_CONTEXT") - .field("NodeName", &self.NodeName) - .field("NodeType", &self.NodeType) - .field("IPAddressOrFQDN", &self.IPAddressOrFQDN) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("NodeId", &self.NodeId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_CONTEXT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_CONTEXT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeType == other.NodeType - && self.IPAddressOrFQDN == other.IPAddressOrFQDN - && self.NodeInstanceId == other.NodeInstanceId - && self.NodeId == other.NodeId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_CONTEXT {} -impl Default for FABRIC_NODE_CONTEXT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - pub EffectiveIntent: FABRIC_NODE_DEACTIVATION_INTENT, - pub Status: FABRIC_NODE_DEACTIVATION_STATUS, - pub Tasks: *const FABRIC_NODE_DEACTIVATION_TASK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM") - .field("EffectiveIntent", &self.EffectiveIntent) - .field("Status", &self.Status) - .field("Tasks", &self.Tasks) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.EffectiveIntent == other.EffectiveIntent - && self.Status == other.Status - && self.Tasks == other.Tasks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - pub PendingSafetyChecks: *const FABRIC_SAFETY_CHECK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1") - .field("PendingSafetyChecks", &self.PendingSafetyChecks) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PendingSafetyChecks == other.PendingSafetyChecks && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_DEACTIVATION_TASK { - pub TaskId: *const FABRIC_NODE_DEACTIVATION_TASK_ID, - pub Intent: FABRIC_NODE_DEACTIVATION_INTENT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_DEACTIVATION_TASK {} -impl Clone for FABRIC_NODE_DEACTIVATION_TASK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_TASK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_DEACTIVATION_TASK") - .field("TaskId", &self.TaskId) - .field("Intent", &self.Intent) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_DEACTIVATION_TASK { - fn eq(&self, other: &Self) -> bool { - self.TaskId == other.TaskId - && self.Intent == other.Intent - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_DEACTIVATION_TASK {} -impl Default for FABRIC_NODE_DEACTIVATION_TASK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_DEACTIVATION_TASK_ID { - pub Id: windows_core::PCWSTR, - pub Type: FABRIC_NODE_DEACTIVATION_TASK_TYPE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_DEACTIVATION_TASK_ID {} -impl Clone for FABRIC_NODE_DEACTIVATION_TASK_ID { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_TASK_ID { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_DEACTIVATION_TASK_ID") - .field("Id", &self.Id) - .field("Type", &self.Type) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_ID { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_DEACTIVATION_TASK_ID { - fn eq(&self, other: &Self) -> bool { - self.Id == other.Id && self.Type == other.Type && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_DEACTIVATION_TASK_ID {} -impl Default for FABRIC_NODE_DEACTIVATION_TASK_ID { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_DEACTIVATION_TASK_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_DEACTIVATION_TASK, -} -impl Copy for FABRIC_NODE_DEACTIVATION_TASK_LIST {} -impl Clone for FABRIC_NODE_DEACTIVATION_TASK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_TASK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_DEACTIVATION_TASK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_DEACTIVATION_TASK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NODE_DEACTIVATION_TASK_LIST {} -impl Default for FABRIC_NODE_DEACTIVATION_TASK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_HEALTH { - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH") - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_EVALUATION {} -impl Clone for FABRIC_NODE_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_EVALUATION {} -impl Default for FABRIC_NODE_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_EX1 {} -impl Clone for FABRIC_NODE_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_EX1 {} -impl Default for FABRIC_NODE_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub HealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_HEALTH_REPORT { - pub NodeName: windows_core::PCWSTR, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_REPORT") - .field("NodeName", &self.NodeName) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE { - pub NodeName: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_STATE {} -impl Clone for FABRIC_NODE_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE") - .field("NodeName", &self.NodeName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE {} -impl Default for FABRIC_NODE_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_NODE_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_STATES_FILTER {} -impl Default for FABRIC_NODE_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE_CHUNK { - pub NodeName: windows_core::PCWSTR, - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_NODE_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE_CHUNK") - .field("NodeName", &self.NodeName) - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.HealthState == other.HealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_NODE_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub NodeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_NODE_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("NodeNameFilter", &self.NodeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.NodeNameFilter == other.NodeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE_FILTER {} -impl Default for FABRIC_NODE_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_NODE_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_HEALTH_STATE, -} -impl Copy for FABRIC_NODE_HEALTH_STATE_LIST {} -impl Clone for FABRIC_NODE_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NODE_HEALTH_STATE_LIST {} -impl Default for FABRIC_NODE_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_ID { - pub Low: u64, - pub High: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_ID {} -impl Clone for FABRIC_NODE_ID { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_ID { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_ID") - .field("Low", &self.Low) - .field("High", &self.High) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_ID { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_ID { - fn eq(&self, other: &Self) -> bool { - self.Low == other.Low && self.High == other.High && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_ID {} -impl Default for FABRIC_NODE_ID { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_LOAD_INFORMATION { - pub NodeName: windows_core::PCWSTR, - pub NodeLoadMetricInformation: *const FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_LOAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_LOAD_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_INFORMATION") - .field("NodeName", &self.NodeName) - .field("NodeLoadMetricInformation", &self.NodeLoadMetricInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_LOAD_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_LOAD_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeLoadMetricInformation == other.NodeLoadMetricInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_LOAD_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION { - pub Name: windows_core::PCWSTR, - pub NodeCapacity: i64, - pub NodeLoad: i64, - pub NodeRemainingCapacity: i64, - pub IsCapacityViolation: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_LOAD_METRIC_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_LOAD_METRIC_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_LOAD_METRIC_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_METRIC_INFORMATION") - .field("Name", &self.Name) - .field("NodeCapacity", &self.NodeCapacity) - .field("NodeLoad", &self.NodeLoad) - .field("NodeRemainingCapacity", &self.NodeRemainingCapacity) - .field("IsCapacityViolation", &self.IsCapacityViolation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_LOAD_METRIC_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.NodeCapacity == other.NodeCapacity - && self.NodeLoad == other.NodeLoad - && self.NodeRemainingCapacity == other.NodeRemainingCapacity - && self.IsCapacityViolation == other.IsCapacityViolation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_LOAD_METRIC_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - pub NodeBufferedCapacity: i64, - pub NodeRemainingBufferedCapacity: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 {} -impl Clone for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1") - .field("NodeBufferedCapacity", &self.NodeBufferedCapacity) - .field( - "NodeRemainingBufferedCapacity", - &self.NodeRemainingBufferedCapacity, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.NodeBufferedCapacity == other.NodeBufferedCapacity - && self.NodeRemainingBufferedCapacity == other.NodeRemainingBufferedCapacity - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 {} -impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - pub CurrentNodeLoad: f64, - pub NodeCapacityRemaining: f64, - pub BufferedNodeCapacityRemaining: f64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 {} -impl Clone for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2") - .field("CurrentNodeLoad", &self.CurrentNodeLoad) - .field("NodeCapacityRemaining", &self.NodeCapacityRemaining) - .field( - "BufferedNodeCapacityRemaining", - &self.BufferedNodeCapacityRemaining, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.CurrentNodeLoad == other.CurrentNodeLoad - && self.NodeCapacityRemaining == other.NodeCapacityRemaining - && self.BufferedNodeCapacityRemaining == other.BufferedNodeCapacityRemaining - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 {} -impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - pub Count: u32, - pub Items: *mut FABRIC_NODE_LOAD_METRIC_INFORMATION, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_DESCRIPTION { - pub NodeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_NODE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_DESCRIPTION") - .field("NodeNameFilter", &self.NodeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeNameFilter == other.NodeNameFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_DESCRIPTION {} -impl Default for FABRIC_NODE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_DESCRIPTION_EX1") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - pub NodeStatusFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_DESCRIPTION_EX2 {} -impl Clone for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_DESCRIPTION_EX2") - .field("NodeStatusFilter", &self.NodeStatusFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.NodeStatusFilter == other.NodeStatusFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_DESCRIPTION_EX2 {} -impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - pub MaxResults: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_DESCRIPTION_EX3 {} -impl Clone for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_DESCRIPTION_EX3") - .field("MaxResults", &self.MaxResults) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.MaxResults == other.MaxResults && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_DESCRIPTION_EX3 {} -impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM { - pub NodeName: windows_core::PCWSTR, - pub IpAddressOrFQDN: windows_core::PCWSTR, - pub NodeType: windows_core::PCWSTR, - pub CodeVersion: windows_core::PCWSTR, - pub ConfigVersion: windows_core::PCWSTR, - pub NodeStatus: FABRIC_QUERY_NODE_STATUS, - pub NodeUpTimeInSeconds: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub IsSeedNode: windows::Win32::Foundation::BOOLEAN, - pub UpgradeDomain: windows_core::PCWSTR, - pub FaultDomain: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM") - .field("NodeName", &self.NodeName) - .field("IpAddressOrFQDN", &self.IpAddressOrFQDN) - .field("NodeType", &self.NodeType) - .field("CodeVersion", &self.CodeVersion) - .field("ConfigVersion", &self.ConfigVersion) - .field("NodeStatus", &self.NodeStatus) - .field("NodeUpTimeInSeconds", &self.NodeUpTimeInSeconds) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("IsSeedNode", &self.IsSeedNode) - .field("UpgradeDomain", &self.UpgradeDomain) - .field("FaultDomain", &self.FaultDomain) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.IpAddressOrFQDN == other.IpAddressOrFQDN - && self.NodeType == other.NodeType - && self.CodeVersion == other.CodeVersion - && self.ConfigVersion == other.ConfigVersion - && self.NodeStatus == other.NodeStatus - && self.NodeUpTimeInSeconds == other.NodeUpTimeInSeconds - && self.AggregatedHealthState == other.AggregatedHealthState - && self.IsSeedNode == other.IsSeedNode - && self.UpgradeDomain == other.UpgradeDomain - && self.FaultDomain == other.FaultDomain - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - pub NodeId: FABRIC_NODE_ID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX1") - .field("NodeId", &self.NodeId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.NodeId == other.NodeId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - pub NodeInstanceId: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 {} -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX2") - .field("NodeInstanceId", &self.NodeInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.NodeInstanceId == other.NodeInstanceId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 {} -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - pub NodeDeactivationInfo: *const FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 {} -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX3") - .field("NodeDeactivationInfo", &self.NodeDeactivationInfo) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - fn eq(&self, other: &Self) -> bool { - self.NodeDeactivationInfo == other.NodeDeactivationInfo && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 {} -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - pub IsStopped: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX4") - .field("IsStopped", &self.IsStopped) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - fn eq(&self, other: &Self) -> bool { - self.IsStopped == other.IsStopped && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - pub NodeDownTimeInSeconds: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 {} -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX5") - .field("NodeDownTimeInSeconds", &self.NodeDownTimeInSeconds) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - fn eq(&self, other: &Self) -> bool { - self.NodeDownTimeInSeconds == other.NodeDownTimeInSeconds && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 {} -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - pub NodeUpAt: windows::Win32::Foundation::FILETIME, - pub NodeDownAt: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_ITEM_EX6") - .field("NodeUpAt", &self.NodeUpAt) - .field("NodeDownAt", &self.NodeDownAt) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - fn eq(&self, other: &Self) -> bool { - self.NodeUpAt == other.NodeUpAt - && self.NodeDownAt == other.NodeDownAt - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_NODE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_QUERY_RESULT_ITEM, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_NODE_QUERY_RESULT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_NODE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_NODE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_NODE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_NODE_QUERY_RESULT_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_NODE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_RESULT { - pub NodeName: windows_core::PCWSTR, - pub NodeInstance: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_RESULT {} -impl Clone for FABRIC_NODE_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_RESULT") - .field("NodeName", &self.NodeName) - .field("NodeInstance", &self.NodeInstance) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_RESULT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstance == other.NodeInstance - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_RESULT {} -impl Default for FABRIC_NODE_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_START_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_START_DESCRIPTION {} -impl Clone for FABRIC_NODE_START_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_START_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_START_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_START_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_START_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_START_DESCRIPTION {} -impl Default for FABRIC_NODE_START_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_STOP_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub StopDurationInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_STOP_DESCRIPTION {} -impl Clone for FABRIC_NODE_STOP_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_STOP_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_STOP_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("StopDurationInSeconds", &self.StopDurationInSeconds) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_STOP_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_STOP_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.StopDurationInSeconds == other.StopDurationInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_STOP_DESCRIPTION {} -impl Default for FABRIC_NODE_STOP_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_TRANSITION_DESCRIPTION { - pub NodeTransitionType: FABRIC_NODE_TRANSITION_TYPE, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_TRANSITION_DESCRIPTION {} -impl Clone for FABRIC_NODE_TRANSITION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_TRANSITION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_TRANSITION_DESCRIPTION") - .field("NodeTransitionType", &self.NodeTransitionType) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_TRANSITION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeTransitionType == other.NodeTransitionType && self.Value == other.Value - } -} -impl Eq for FABRIC_NODE_TRANSITION_DESCRIPTION {} -impl Default for FABRIC_NODE_TRANSITION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_TRANSITION_PROGRESS { - pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, - pub Result: *mut FABRIC_NODE_TRANSITION_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_TRANSITION_PROGRESS {} -impl Clone for FABRIC_NODE_TRANSITION_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_TRANSITION_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_TRANSITION_PROGRESS") - .field("State", &self.State) - .field("Result", &self.Result) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_TRANSITION_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.State == other.State && self.Result == other.Result && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_TRANSITION_PROGRESS {} -impl Default for FABRIC_NODE_TRANSITION_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_TRANSITION_RESULT { - pub ErrorCode: windows_core::HRESULT, - pub NodeResult: *mut FABRIC_NODE_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_TRANSITION_RESULT {} -impl Clone for FABRIC_NODE_TRANSITION_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_TRANSITION_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_TRANSITION_RESULT") - .field("ErrorCode", &self.ErrorCode) - .field("NodeResult", &self.NodeResult) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_TRANSITION_RESULT { - fn eq(&self, other: &Self) -> bool { - self.ErrorCode == other.ErrorCode - && self.NodeResult == other.NodeResult - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_TRANSITION_RESULT {} -impl Default for FABRIC_NODE_TRANSITION_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_UPGRADE_PROGRESS { - pub NodeName: windows_core::PCWSTR, - pub UpgradePhase: FABRIC_NODE_UPGRADE_PHASE, - pub PendingSafetyChecks: *const FABRIC_UPGRADE_SAFETY_CHECK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_NODE_UPGRADE_PROGRESS {} -impl Clone for FABRIC_NODE_UPGRADE_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_UPGRADE_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_UPGRADE_PROGRESS") - .field("NodeName", &self.NodeName) - .field("UpgradePhase", &self.UpgradePhase) - .field("PendingSafetyChecks", &self.PendingSafetyChecks) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_UPGRADE_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.UpgradePhase == other.UpgradePhase - && self.PendingSafetyChecks == other.PendingSafetyChecks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_NODE_UPGRADE_PROGRESS {} -impl Default for FABRIC_NODE_UPGRADE_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_NODE_UPGRADE_PROGRESS_LIST { - pub Count: u32, - pub Items: *const FABRIC_NODE_UPGRADE_PROGRESS, -} -impl Copy for FABRIC_NODE_UPGRADE_PROGRESS_LIST {} -impl Clone for FABRIC_NODE_UPGRADE_PROGRESS_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_NODE_UPGRADE_PROGRESS_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_NODE_UPGRADE_PROGRESS_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PROGRESS_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_NODE_UPGRADE_PROGRESS_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_NODE_UPGRADE_PROGRESS_LIST {} -impl Default for FABRIC_NODE_UPGRADE_PROGRESS_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_OPERATION_DATA_BUFFER { - pub BufferSize: u32, - pub Buffer: *mut u8, -} -impl Copy for FABRIC_OPERATION_DATA_BUFFER {} -impl Clone for FABRIC_OPERATION_DATA_BUFFER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_OPERATION_DATA_BUFFER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_OPERATION_DATA_BUFFER") - .field("BufferSize", &self.BufferSize) - .field("Buffer", &self.Buffer) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_OPERATION_DATA_BUFFER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_OPERATION_DATA_BUFFER { - fn eq(&self, other: &Self) -> bool { - self.BufferSize == other.BufferSize && self.Buffer == other.Buffer - } -} -impl Eq for FABRIC_OPERATION_DATA_BUFFER {} -impl Default for FABRIC_OPERATION_DATA_BUFFER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_OPERATION_ID { - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_OPERATION_ID {} -impl Clone for FABRIC_OPERATION_ID { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_OPERATION_ID { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_OPERATION_ID") - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_OPERATION_ID { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_OPERATION_ID { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_OPERATION_ID {} -impl Default for FABRIC_OPERATION_ID { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_OPERATION_METADATA { - pub Type: FABRIC_OPERATION_TYPE, - pub SequenceNumber: i64, - pub AtomicGroupId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_OPERATION_METADATA {} -impl Clone for FABRIC_OPERATION_METADATA { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_OPERATION_METADATA { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_OPERATION_METADATA") - .field("Type", &self.Type) - .field("SequenceNumber", &self.SequenceNumber) - .field("AtomicGroupId", &self.AtomicGroupId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_OPERATION_METADATA { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_OPERATION_METADATA { - fn eq(&self, other: &Self) -> bool { - self.Type == other.Type - && self.SequenceNumber == other.SequenceNumber - && self.AtomicGroupId == other.AtomicGroupId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_OPERATION_METADATA {} -impl Default for FABRIC_OPERATION_METADATA { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - pub UpgradeState: FABRIC_UPGRADE_STATE, - pub ProgressStatus: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS {} -impl Clone for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ORCHESTRATION_UPGRADE_PROGRESS") - .field("UpgradeState", &self.UpgradeState) - .field("ProgressStatus", &self.ProgressStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.UpgradeState == other.UpgradeState - && self.ProgressStatus == other.ProgressStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS {} -impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - pub ConfigVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 {} -impl Clone for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1") - .field("ConfigVersion", &self.ConfigVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ConfigVersion == other.ConfigVersion && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 {} -impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - pub Details: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 {} -impl Clone for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2") - .field("Details", &self.Details) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.Details == other.Details && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 {} -impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PACKAGE_SHARING_POLICY { - pub PackageName: windows_core::PCWSTR, - pub Scope: FABRIC_PACKAGE_SHARING_POLICY_SCOPE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PACKAGE_SHARING_POLICY {} -impl Clone for FABRIC_PACKAGE_SHARING_POLICY { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PACKAGE_SHARING_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PACKAGE_SHARING_POLICY") - .field("PackageName", &self.PackageName) - .field("Scope", &self.Scope) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PACKAGE_SHARING_POLICY { - fn eq(&self, other: &Self) -> bool { - self.PackageName == other.PackageName - && self.Scope == other.Scope - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PACKAGE_SHARING_POLICY {} -impl Default for FABRIC_PACKAGE_SHARING_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PACKAGE_SHARING_POLICY_LIST { - pub Count: u32, - pub Items: *const FABRIC_PACKAGE_SHARING_POLICY, -} -impl Copy for FABRIC_PACKAGE_SHARING_POLICY_LIST {} -impl Clone for FABRIC_PACKAGE_SHARING_POLICY_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PACKAGE_SHARING_POLICY_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PACKAGE_SHARING_POLICY_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PACKAGE_SHARING_POLICY_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_PACKAGE_SHARING_POLICY_LIST {} -impl Default for FABRIC_PACKAGE_SHARING_POLICY_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationNameFilter: FABRIC_URI, - pub IncludeHealthState: windows::Win32::Foundation::BOOLEAN, - pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationNameFilter", &self.ApplicationNameFilter) - .field("IncludeHealthState", &self.IncludeHealthState) - .field("PagingDescription", &self.PagingDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationNameFilter == other.ApplicationNameFilter - && self.IncludeHealthState == other.IncludeHealthState - && self.PagingDescription == other.PagingDescription - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PAGING_STATUS { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PAGING_STATUS {} -impl Clone for FABRIC_PAGING_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PAGING_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PAGING_STATUS") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PAGING_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PAGING_STATUS { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PAGING_STATUS {} -impl Default for FABRIC_PAGING_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITIONS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyPartitionsPerService: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITIONS_HEALTH_EVALUATION {} -impl Clone for FABRIC_PARTITIONS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITIONS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITIONS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyPartitionsPerService", - &self.MaxPercentUnhealthyPartitionsPerService, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITIONS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITIONS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyPartitionsPerService - == other.MaxPercentUnhealthyPartitionsPerService - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITIONS_HEALTH_EVALUATION {} -impl Default for FABRIC_PARTITIONS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_DATA_LOSS_PROGRESS { - pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, - pub Result: *mut FABRIC_PARTITION_DATA_LOSS_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_DATA_LOSS_PROGRESS {} -impl Clone for FABRIC_PARTITION_DATA_LOSS_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_DATA_LOSS_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_DATA_LOSS_PROGRESS") - .field("State", &self.State) - .field("Result", &self.Result) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_DATA_LOSS_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_DATA_LOSS_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.State == other.State && self.Result == other.Result && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_DATA_LOSS_PROGRESS {} -impl Default for FABRIC_PARTITION_DATA_LOSS_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_DATA_LOSS_RESULT { - pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, - pub ErrorCode: windows_core::HRESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_DATA_LOSS_RESULT {} -impl Clone for FABRIC_PARTITION_DATA_LOSS_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_DATA_LOSS_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_DATA_LOSS_RESULT") - .field("SelectedPartition", &self.SelectedPartition) - .field("ErrorCode", &self.ErrorCode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_DATA_LOSS_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_DATA_LOSS_RESULT { - fn eq(&self, other: &Self) -> bool { - self.SelectedPartition == other.SelectedPartition - && self.ErrorCode == other.ErrorCode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_DATA_LOSS_RESULT {} -impl Default for FABRIC_PARTITION_DATA_LOSS_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_HEALTH { - pub PartitionId: windows_core::GUID, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub ReplicaHealthStates: *const FABRIC_REPLICA_HEALTH_STATE_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH") - .field("PartitionId", &self.PartitionId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("ReplicaHealthStates", &self.ReplicaHealthStates) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.ReplicaHealthStates == other.ReplicaHealthStates - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_EVALUATION {} -impl Clone for FABRIC_PARTITION_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("PartitionId", &self.PartitionId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.PartitionId == other.PartitionId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_EVALUATION {} -impl Default for FABRIC_PARTITION_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_EX1 {} -impl Clone for FABRIC_PARTITION_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_EX1 {} -impl Default for FABRIC_PARTITION_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_EX2 { - pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_EX2 {} -impl Clone for FABRIC_PARTITION_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_EX2") - .field("HealthStatistics", &self.HealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatistics == other.HealthStatistics && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_EX2 {} -impl Default for FABRIC_PARTITION_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub ReplicasFilter: *const FABRIC_REPLICA_HEALTH_STATES_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("ReplicasFilter", &self.ReplicasFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.ReplicasFilter == other.ReplicasFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - pub HealthStatisticsFilter: *const FABRIC_PARTITION_HEALTH_STATISTICS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1") - .field("HealthStatisticsFilter", &self.HealthStatisticsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatisticsFilter == other.HealthStatisticsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_HEALTH_REPORT { - pub PartitionId: windows_core::GUID, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_REPORT") - .field("PartitionId", &self.PartitionId) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE { - pub PartitionId: windows_core::GUID, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE") - .field("PartitionId", &self.PartitionId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE {} -impl Default for FABRIC_PARTITION_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_PARTITION_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATES_FILTER {} -impl Default for FABRIC_PARTITION_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE_CHUNK { - pub PartitionId: windows_core::GUID, - pub HealthState: FABRIC_HEALTH_STATE, - pub ReplicaHealthStateChunks: *const FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE_CHUNK") - .field("PartitionId", &self.PartitionId) - .field("HealthState", &self.HealthState) - .field("ReplicaHealthStateChunks", &self.ReplicaHealthStateChunks) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.HealthState == other.HealthState - && self.ReplicaHealthStateChunks == other.ReplicaHealthStateChunks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_PARTITION_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_PARTITION_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub PartitionIdFilter: windows_core::GUID, - pub ReplicaFilters: *const FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("PartitionIdFilter", &self.PartitionIdFilter) - .field("ReplicaFilters", &self.ReplicaFilters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.PartitionIdFilter == other.PartitionIdFilter - && self.ReplicaFilters == other.ReplicaFilters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE_FILTER {} -impl Default for FABRIC_PARTITION_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_PARTITION_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_PARTITION_HEALTH_STATE, -} -impl Copy for FABRIC_PARTITION_HEALTH_STATE_LIST {} -impl Clone for FABRIC_PARTITION_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_PARTITION_HEALTH_STATE_LIST {} -impl Default for FABRIC_PARTITION_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_HEALTH_STATISTICS_FILTER") - .field("ExcludeHealthStatistics", &self.ExcludeHealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.ExcludeHealthStatistics == other.ExcludeHealthStatistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PARTITION_LOAD_INFORMATION { - pub PartitionId: windows_core::GUID, - pub PrimaryLoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, - pub SecondaryLoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PARTITION_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PARTITION_LOAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PARTITION_LOAD_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_LOAD_INFORMATION") - .field("PartitionId", &self.PartitionId) - .field("PrimaryLoadMetricReports", &self.PrimaryLoadMetricReports) - .field( - "SecondaryLoadMetricReports", - &self.SecondaryLoadMetricReports, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PARTITION_LOAD_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PARTITION_LOAD_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.PrimaryLoadMetricReports == other.PrimaryLoadMetricReports - && self.SecondaryLoadMetricReports == other.SecondaryLoadMetricReports - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PARTITION_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PARTITION_LOAD_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, - pub Result: *mut FABRIC_PARTITION_QUORUM_LOSS_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS {} -impl Clone for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_QUORUM_LOSS_PROGRESS") - .field("State", &self.State) - .field("Result", &self.Result) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.State == other.State && self.Result == other.Result && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS {} -impl Default for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_QUORUM_LOSS_RESULT { - pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, - pub ErrorCode: windows_core::HRESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_QUORUM_LOSS_RESULT {} -impl Clone for FABRIC_PARTITION_QUORUM_LOSS_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_QUORUM_LOSS_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_QUORUM_LOSS_RESULT") - .field("SelectedPartition", &self.SelectedPartition) - .field("ErrorCode", &self.ErrorCode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_QUORUM_LOSS_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_QUORUM_LOSS_RESULT { - fn eq(&self, other: &Self) -> bool { - self.SelectedPartition == other.SelectedPartition - && self.ErrorCode == other.ErrorCode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_QUORUM_LOSS_RESULT {} -impl Default for FABRIC_PARTITION_QUORUM_LOSS_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_RESTART_PROGRESS { - pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, - pub Result: *mut FABRIC_PARTITION_RESTART_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_RESTART_PROGRESS {} -impl Clone for FABRIC_PARTITION_RESTART_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_RESTART_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_RESTART_PROGRESS") - .field("State", &self.State) - .field("Result", &self.Result) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_RESTART_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_RESTART_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.State == other.State && self.Result == other.Result && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_RESTART_PROGRESS {} -impl Default for FABRIC_PARTITION_RESTART_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_RESTART_RESULT { - pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, - pub ErrorCode: windows_core::HRESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_RESTART_RESULT {} -impl Clone for FABRIC_PARTITION_RESTART_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_RESTART_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_RESTART_RESULT") - .field("SelectedPartition", &self.SelectedPartition) - .field("ErrorCode", &self.ErrorCode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_RESTART_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_RESTART_RESULT { - fn eq(&self, other: &Self) -> bool { - self.SelectedPartition == other.SelectedPartition - && self.ErrorCode == other.ErrorCode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_RESTART_RESULT {} -impl Default for FABRIC_PARTITION_RESTART_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_SAFETY_CHECK { - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_SAFETY_CHECK {} -impl Clone for FABRIC_PARTITION_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_SAFETY_CHECK") - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_SAFETY_CHECK {} -impl Default for FABRIC_PARTITION_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PARTITION_SELECTOR { - pub ServiceName: FABRIC_URI, - pub PartitionSelectorType: FABRIC_PARTITION_SELECTOR_TYPE, - pub PartitionKey: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PARTITION_SELECTOR {} -impl Clone for FABRIC_PARTITION_SELECTOR { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PARTITION_SELECTOR { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PARTITION_SELECTOR") - .field("ServiceName", &self.ServiceName) - .field("PartitionSelectorType", &self.PartitionSelectorType) - .field("PartitionKey", &self.PartitionKey) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PARTITION_SELECTOR { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PARTITION_SELECTOR { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionSelectorType == other.PartitionSelectorType - && self.PartitionKey == other.PartitionKey - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PARTITION_SELECTOR {} -impl Default for FABRIC_PARTITION_SELECTOR { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - pub InvalidFaultDomain: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION {} -impl Clone for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION") - .field("InvalidFaultDomain", &self.InvalidFaultDomain) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.InvalidFaultDomain == other.InvalidFaultDomain && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION {} -impl Default for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION {} -impl Clone for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION") - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION {} -impl Default for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - pub PreferredPrimaryFaultDomain: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION {} -impl Clone for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION") - .field( - "PreferredPrimaryFaultDomain", - &self.PreferredPrimaryFaultDomain, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PreferredPrimaryFaultDomain == other.PreferredPrimaryFaultDomain - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION {} -impl Default for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - pub RequiredFaultDomain: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION {} -impl Clone for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION") - .field("RequiredFaultDomain", &self.RequiredFaultDomain) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.RequiredFaultDomain == other.RequiredFaultDomain && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION {} -impl Default for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION {} -impl Clone for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION") - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION {} -impl Default for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - pub ReplicationQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, - pub RemoteReplicators: *mut FABRIC_REMOTE_REPLICATOR_STATUS_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT") - .field("ReplicationQueueStatus", &self.ReplicationQueueStatus) - .field("RemoteReplicators", &self.RemoteReplicators) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.ReplicationQueueStatus == other.ReplicationQueueStatus - && self.RemoteReplicators == other.RemoteReplicators - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROPERTY_BATCH_OPERATION { - pub Kind: FABRIC_PROPERTY_BATCH_OPERATION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROPERTY_BATCH_OPERATION {} -impl Clone for FABRIC_PROPERTY_BATCH_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROPERTY_BATCH_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROPERTY_BATCH_OPERATION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROPERTY_BATCH_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROPERTY_BATCH_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_PROPERTY_BATCH_OPERATION {} -impl Default for FABRIC_PROPERTY_BATCH_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - pub CodeVersionFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION") - .field("CodeVersionFilter", &self.CodeVersionFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.CodeVersionFilter == other.CodeVersionFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION {} -impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - pub CodeVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM") - .field("CodeVersion", &self.CodeVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.CodeVersion == other.CodeVersion && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST {} -impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - pub ConfigVersionFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION") - .field("ConfigVersionFilter", &self.ConfigVersionFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ConfigVersionFilter == other.ConfigVersionFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION {} -impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - pub ConfigVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM") - .field("ConfigVersion", &self.ConfigVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ConfigVersion == other.ConfigVersion && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST {} -impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - pub BuildPath: windows_core::PCWSTR, - pub Async: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION") - .field("BuildPath", &self.BuildPath) - .field("Async", &self.Async) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.BuildPath == other.BuildPath - && self.Async == other.Async - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - pub Kind: FABRIC_PROVISION_APPLICATION_TYPE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE {} -impl Clone for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE {} -impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - pub ApplicationPackageCleanupPolicy: FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1") - .field( - "ApplicationPackageCleanupPolicy", - &self.ApplicationPackageCleanupPolicy, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationPackageCleanupPolicy == other.ApplicationPackageCleanupPolicy - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 {} -impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, - pub PropertyValue: *mut core::ffi::c_void, - pub PropertyCustomTypeId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION {} -impl Clone for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PUT_CUSTOM_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("PropertyTypeId", &self.PropertyTypeId) - .field("PropertyValue", &self.PropertyValue) - .field("PropertyCustomTypeId", &self.PropertyCustomTypeId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.PropertyTypeId == other.PropertyTypeId - && self.PropertyValue == other.PropertyValue - && self.PropertyCustomTypeId == other.PropertyCustomTypeId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION {} -impl Default for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_PUT_PROPERTY_OPERATION { - pub PropertyName: windows_core::PCWSTR, - pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, - pub PropertyValue: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_PUT_PROPERTY_OPERATION {} -impl Clone for FABRIC_PUT_PROPERTY_OPERATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_PUT_PROPERTY_OPERATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_PUT_PROPERTY_OPERATION") - .field("PropertyName", &self.PropertyName) - .field("PropertyTypeId", &self.PropertyTypeId) - .field("PropertyValue", &self.PropertyValue) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_PUT_PROPERTY_OPERATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_PUT_PROPERTY_OPERATION { - fn eq(&self, other: &Self) -> bool { - self.PropertyName == other.PropertyName - && self.PropertyTypeId == other.PropertyTypeId - && self.PropertyValue == other.PropertyValue - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_PUT_PROPERTY_OPERATION {} -impl Default for FABRIC_PUT_PROPERTY_OPERATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_QUERY_PAGING_DESCRIPTION { - pub ContinuationToken: windows_core::PCWSTR, - pub MaxResults: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_QUERY_PAGING_DESCRIPTION {} -impl Clone for FABRIC_QUERY_PAGING_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_QUERY_PAGING_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_QUERY_PAGING_DESCRIPTION") - .field("ContinuationToken", &self.ContinuationToken) - .field("MaxResults", &self.MaxResults) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_QUERY_PAGING_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_QUERY_PAGING_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken - && self.MaxResults == other.MaxResults - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_QUERY_PAGING_DESCRIPTION {} -impl Default for FABRIC_QUERY_PAGING_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - pub PreviousConfigurationRole: FABRIC_REPLICA_ROLE, - pub ReconfigurationPhase: FABRIC_RECONFIGURATION_PHASE, - pub ReconfigurationType: FABRIC_RECONFIGURATION_TYPE, - pub ReconfigurationStartTimeUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT") - .field("PreviousConfigurationRole", &self.PreviousConfigurationRole) - .field("ReconfigurationPhase", &self.ReconfigurationPhase) - .field("ReconfigurationType", &self.ReconfigurationType) - .field( - "ReconfigurationStartTimeUtc", - &self.ReconfigurationStartTimeUtc, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.PreviousConfigurationRole == other.PreviousConfigurationRole - && self.ReconfigurationPhase == other.ReconfigurationPhase - && self.ReconfigurationType == other.ReconfigurationType - && self.ReconfigurationStartTimeUtc == other.ReconfigurationStartTimeUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - pub AverageReceiveDurationMilliseconds: i64, - pub AverageApplyDurationMilliseconds: i64, - pub NotReceivedCount: i64, - pub ReceivedAndNotAppliedCount: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL {} -impl Clone for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL") - .field( - "AverageReceiveDurationMilliseconds", - &self.AverageReceiveDurationMilliseconds, - ) - .field( - "AverageApplyDurationMilliseconds", - &self.AverageApplyDurationMilliseconds, - ) - .field("NotReceivedCount", &self.NotReceivedCount) - .field( - "ReceivedAndNotAppliedCount", - &self.ReceivedAndNotAppliedCount, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - fn eq(&self, other: &Self) -> bool { - self.AverageReceiveDurationMilliseconds == other.AverageReceiveDurationMilliseconds - && self.AverageApplyDurationMilliseconds == other.AverageApplyDurationMilliseconds - && self.NotReceivedCount == other.NotReceivedCount - && self.ReceivedAndNotAppliedCount == other.ReceivedAndNotAppliedCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL {} -impl Default for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - pub CopyStreamAcknowledgementDetails: *mut FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL, - pub ReplicationStreamAcknowledgementDetails: - *mut FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS {} -impl Clone for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS") - .field( - "CopyStreamAcknowledgementDetails", - &self.CopyStreamAcknowledgementDetails, - ) - .field( - "ReplicationStreamAcknowledgementDetails", - &self.ReplicationStreamAcknowledgementDetails, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - fn eq(&self, other: &Self) -> bool { - self.CopyStreamAcknowledgementDetails == other.CopyStreamAcknowledgementDetails - && self.ReplicationStreamAcknowledgementDetails - == other.ReplicationStreamAcknowledgementDetails - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS {} -impl Default for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REMOTE_REPLICATOR_STATUS { - pub ReplicaId: i64, - pub LastAcknowledgementProcessedTimeUtc: windows::Win32::Foundation::FILETIME, - pub LastReceivedReplicationSequenceNumber: i64, - pub LastAppliedReplicationSequenceNumber: i64, - pub IsInBuild: windows::Win32::Foundation::BOOLEAN, - pub LastReceivedCopySequenceNumber: i64, - pub LastAppliedCopySequenceNumber: i64, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REMOTE_REPLICATOR_STATUS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REMOTE_REPLICATOR_STATUS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REMOTE_REPLICATOR_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOTE_REPLICATOR_STATUS") - .field("ReplicaId", &self.ReplicaId) - .field( - "LastAcknowledgementProcessedTimeUtc", - &self.LastAcknowledgementProcessedTimeUtc, - ) - .field( - "LastReceivedReplicationSequenceNumber", - &self.LastReceivedReplicationSequenceNumber, - ) - .field( - "LastAppliedReplicationSequenceNumber", - &self.LastAppliedReplicationSequenceNumber, - ) - .field("IsInBuild", &self.IsInBuild) - .field( - "LastReceivedCopySequenceNumber", - &self.LastReceivedCopySequenceNumber, - ) - .field( - "LastAppliedCopySequenceNumber", - &self.LastAppliedCopySequenceNumber, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_STATUS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REMOTE_REPLICATOR_STATUS { - fn eq(&self, other: &Self) -> bool { - self.ReplicaId == other.ReplicaId - && self.LastAcknowledgementProcessedTimeUtc == other.LastAcknowledgementProcessedTimeUtc - && self.LastReceivedReplicationSequenceNumber - == other.LastReceivedReplicationSequenceNumber - && self.LastAppliedReplicationSequenceNumber - == other.LastAppliedReplicationSequenceNumber - && self.IsInBuild == other.IsInBuild - && self.LastReceivedCopySequenceNumber == other.LastReceivedCopySequenceNumber - && self.LastAppliedCopySequenceNumber == other.LastAppliedCopySequenceNumber - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REMOTE_REPLICATOR_STATUS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REMOTE_REPLICATOR_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - pub Count: u32, - pub Items: *mut FABRIC_REMOTE_REPLICATOR_STATUS, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REMOTE_REPLICATOR_STATUS_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOTE_REPLICATOR_STATUS_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REMOTE_REPLICATOR_STATUS_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REMOVE_REPLICA_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REMOVE_REPLICA_DESCRIPTION {} -impl Clone for FABRIC_REMOVE_REPLICA_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REMOVE_REPLICA_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOVE_REPLICA_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REMOVE_REPLICA_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REMOVE_REPLICA_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REMOVE_REPLICA_DESCRIPTION {} -impl Default for FABRIC_REMOVE_REPLICA_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - pub ForceRemove: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1") - .field("ForceRemove", &self.ForceRemove) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ForceRemove == other.ForceRemove && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_APPROVE_DESCRIPTION { - pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub RepairTaskId: windows_core::PCWSTR, - pub Version: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_APPROVE_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_APPROVE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_APPROVE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_APPROVE_DESCRIPTION") - .field("Scope", &self.Scope) - .field("RepairTaskId", &self.RepairTaskId) - .field("Version", &self.Version) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_APPROVE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_APPROVE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.RepairTaskId == other.RepairTaskId - && self.Version == other.Version - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_APPROVE_DESCRIPTION {} -impl Default for FABRIC_REPAIR_APPROVE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_CANCEL_DESCRIPTION { - pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub RepairTaskId: windows_core::PCWSTR, - pub Version: i64, - pub RequestAbort: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_CANCEL_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_CANCEL_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_CANCEL_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_CANCEL_DESCRIPTION") - .field("Scope", &self.Scope) - .field("RepairTaskId", &self.RepairTaskId) - .field("Version", &self.Version) - .field("RequestAbort", &self.RequestAbort) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_CANCEL_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_CANCEL_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.RepairTaskId == other.RepairTaskId - && self.Version == other.Version - && self.RequestAbort == other.RequestAbort - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_CANCEL_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_CANCEL_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_DELETE_DESCRIPTION { - pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub RepairTaskId: windows_core::PCWSTR, - pub Version: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_DELETE_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_DELETE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_DELETE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_DELETE_DESCRIPTION") - .field("Scope", &self.Scope) - .field("RepairTaskId", &self.RepairTaskId) - .field("Version", &self.Version) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_DELETE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_DELETE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.RepairTaskId == other.RepairTaskId - && self.Version == other.Version - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_DELETE_DESCRIPTION {} -impl Default for FABRIC_REPAIR_DELETE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_EXECUTOR_STATE { - pub Executor: windows_core::PCWSTR, - pub ExecutorData: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_EXECUTOR_STATE {} -impl Clone for FABRIC_REPAIR_EXECUTOR_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_EXECUTOR_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_EXECUTOR_STATE") - .field("Executor", &self.Executor) - .field("ExecutorData", &self.ExecutorData) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_EXECUTOR_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_EXECUTOR_STATE { - fn eq(&self, other: &Self) -> bool { - self.Executor == other.Executor - && self.ExecutorData == other.ExecutorData - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_EXECUTOR_STATE {} -impl Default for FABRIC_REPAIR_EXECUTOR_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_IMPACT_DESCRIPTION { - pub Kind: FABRIC_REPAIR_IMPACT_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_IMPACT_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_IMPACT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_IMPACT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_IMPACT_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_IMPACT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_IMPACT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_REPAIR_IMPACT_DESCRIPTION {} -impl Default for FABRIC_REPAIR_IMPACT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_NODE_IMPACT { - pub NodeName: windows_core::PCWSTR, - pub ImpactLevel: FABRIC_REPAIR_NODE_IMPACT_LEVEL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_NODE_IMPACT {} -impl Clone for FABRIC_REPAIR_NODE_IMPACT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_NODE_IMPACT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_NODE_IMPACT") - .field("NodeName", &self.NodeName) - .field("ImpactLevel", &self.ImpactLevel) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_NODE_IMPACT { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ImpactLevel == other.ImpactLevel - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_NODE_IMPACT {} -impl Default for FABRIC_REPAIR_NODE_IMPACT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_NODE_IMPACT_LIST { - pub Count: u32, - pub Items: *const FABRIC_REPAIR_NODE_IMPACT, -} -impl Copy for FABRIC_REPAIR_NODE_IMPACT_LIST {} -impl Clone for FABRIC_REPAIR_NODE_IMPACT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_NODE_IMPACT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_NODE_IMPACT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_NODE_IMPACT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_REPAIR_NODE_IMPACT_LIST {} -impl Default for FABRIC_REPAIR_NODE_IMPACT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_RESULT_DESCRIPTION { - pub ResultStatus: FABRIC_REPAIR_TASK_RESULT, - pub ResultCode: windows_core::HRESULT, - pub ResultDetails: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_RESULT_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_RESULT_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_RESULT_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_RESULT_DESCRIPTION") - .field("ResultStatus", &self.ResultStatus) - .field("ResultCode", &self.ResultCode) - .field("ResultDetails", &self.ResultDetails) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_RESULT_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_RESULT_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ResultStatus == other.ResultStatus - && self.ResultCode == other.ResultCode - && self.ResultDetails == other.ResultDetails - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_RESULT_DESCRIPTION {} -impl Default for FABRIC_REPAIR_RESULT_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_SCOPE_IDENTIFIER { - pub Kind: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_SCOPE_IDENTIFIER {} -impl Clone for FABRIC_REPAIR_SCOPE_IDENTIFIER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_SCOPE_IDENTIFIER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_SCOPE_IDENTIFIER") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_SCOPE_IDENTIFIER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_SCOPE_IDENTIFIER { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_REPAIR_SCOPE_IDENTIFIER {} -impl Default for FABRIC_REPAIR_SCOPE_IDENTIFIER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_TARGET_DESCRIPTION { - pub Kind: FABRIC_REPAIR_TARGET_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_TARGET_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_TARGET_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_TARGET_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TARGET_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_TARGET_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_TARGET_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_REPAIR_TARGET_DESCRIPTION {} -impl Default for FABRIC_REPAIR_TARGET_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK { - pub Scope: *const FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub TaskId: windows_core::PCWSTR, - pub Version: i64, - pub Description: windows_core::PCWSTR, - pub State: FABRIC_REPAIR_TASK_STATE, - pub Flags: u32, - pub Action: windows_core::PCWSTR, - pub Target: *const FABRIC_REPAIR_TARGET_DESCRIPTION, - pub ExecutorState: *mut FABRIC_REPAIR_EXECUTOR_STATE, - pub Impact: *mut FABRIC_REPAIR_IMPACT_DESCRIPTION, - pub Result: *mut FABRIC_REPAIR_RESULT_DESCRIPTION, - pub History: *const FABRIC_REPAIR_TASK_HISTORY, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK") - .field("Scope", &self.Scope) - .field("TaskId", &self.TaskId) - .field("Version", &self.Version) - .field("Description", &self.Description) - .field("State", &self.State) - .field("Flags", &self.Flags) - .field("Action", &self.Action) - .field("Target", &self.Target) - .field("ExecutorState", &self.ExecutorState) - .field("Impact", &self.Impact) - .field("Result", &self.Result) - .field("History", &self.History) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.TaskId == other.TaskId - && self.Version == other.Version - && self.Description == other.Description - && self.State == other.State - && self.Flags == other.Flags - && self.Action == other.Action - && self.Target == other.Target - && self.ExecutorState == other.ExecutorState - && self.Impact == other.Impact - && self.Result == other.Result - && self.History == other.History - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK_EX1 { - pub PerformPreparingHealthCheck: windows::Win32::Foundation::BOOLEAN, - pub PerformRestoringHealthCheck: windows::Win32::Foundation::BOOLEAN, - pub PreparingHealthCheckState: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE, - pub RestoringHealthCheckState: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_EX1") - .field( - "PerformPreparingHealthCheck", - &self.PerformPreparingHealthCheck, - ) - .field( - "PerformRestoringHealthCheck", - &self.PerformRestoringHealthCheck, - ) - .field("PreparingHealthCheckState", &self.PreparingHealthCheckState) - .field("RestoringHealthCheckState", &self.RestoringHealthCheckState) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PerformPreparingHealthCheck == other.PerformPreparingHealthCheck - && self.PerformRestoringHealthCheck == other.PerformRestoringHealthCheck - && self.PreparingHealthCheckState == other.PreparingHealthCheckState - && self.RestoringHealthCheckState == other.RestoringHealthCheckState - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub RepairTaskId: windows_core::PCWSTR, - pub Version: i64, - pub Flags: u32, - pub PerformPreparingHealthCheck: windows::Win32::Foundation::BOOLEAN, - pub PerformRestoringHealthCheck: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION") - .field("Scope", &self.Scope) - .field("RepairTaskId", &self.RepairTaskId) - .field("Version", &self.Version) - .field("Flags", &self.Flags) - .field( - "PerformPreparingHealthCheck", - &self.PerformPreparingHealthCheck, - ) - .field( - "PerformRestoringHealthCheck", - &self.PerformRestoringHealthCheck, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.RepairTaskId == other.RepairTaskId - && self.Version == other.Version - && self.Flags == other.Flags - && self.PerformPreparingHealthCheck == other.PerformPreparingHealthCheck - && self.PerformRestoringHealthCheck == other.PerformRestoringHealthCheck - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK_HISTORY { - pub CreatedUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub ClaimedUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub PreparingUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub ApprovedUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub ExecutingUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub RestoringUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub CompletedUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK_HISTORY {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK_HISTORY { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK_HISTORY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_HISTORY") - .field("CreatedUtcTimestamp", &self.CreatedUtcTimestamp) - .field("ClaimedUtcTimestamp", &self.ClaimedUtcTimestamp) - .field("PreparingUtcTimestamp", &self.PreparingUtcTimestamp) - .field("ApprovedUtcTimestamp", &self.ApprovedUtcTimestamp) - .field("ExecutingUtcTimestamp", &self.ExecutingUtcTimestamp) - .field("RestoringUtcTimestamp", &self.RestoringUtcTimestamp) - .field("CompletedUtcTimestamp", &self.CompletedUtcTimestamp) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HISTORY { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK_HISTORY { - fn eq(&self, other: &Self) -> bool { - self.CreatedUtcTimestamp == other.CreatedUtcTimestamp - && self.ClaimedUtcTimestamp == other.ClaimedUtcTimestamp - && self.PreparingUtcTimestamp == other.PreparingUtcTimestamp - && self.ApprovedUtcTimestamp == other.ApprovedUtcTimestamp - && self.ExecutingUtcTimestamp == other.ExecutingUtcTimestamp - && self.RestoringUtcTimestamp == other.RestoringUtcTimestamp - && self.CompletedUtcTimestamp == other.CompletedUtcTimestamp - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK_HISTORY {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK_HISTORY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK_HISTORY_EX1 { - pub PreparingHealthCheckStartUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub PreparingHealthCheckEndUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub RestoringHealthCheckStartUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub RestoringHealthCheckEndUtcTimestamp: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK_HISTORY_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK_HISTORY_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK_HISTORY_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_HISTORY_EX1") - .field( - "PreparingHealthCheckStartUtcTimestamp", - &self.PreparingHealthCheckStartUtcTimestamp, - ) - .field( - "PreparingHealthCheckEndUtcTimestamp", - &self.PreparingHealthCheckEndUtcTimestamp, - ) - .field( - "RestoringHealthCheckStartUtcTimestamp", - &self.RestoringHealthCheckStartUtcTimestamp, - ) - .field( - "RestoringHealthCheckEndUtcTimestamp", - &self.RestoringHealthCheckEndUtcTimestamp, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HISTORY_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK_HISTORY_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PreparingHealthCheckStartUtcTimestamp == other.PreparingHealthCheckStartUtcTimestamp - && self.PreparingHealthCheckEndUtcTimestamp == other.PreparingHealthCheckEndUtcTimestamp - && self.RestoringHealthCheckStartUtcTimestamp - == other.RestoringHealthCheckStartUtcTimestamp - && self.RestoringHealthCheckEndUtcTimestamp == other.RestoringHealthCheckEndUtcTimestamp - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK_HISTORY_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK_HISTORY_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPAIR_TASK_LIST { - pub Count: u32, - pub Items: *mut FABRIC_REPAIR_TASK, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPAIR_TASK_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPAIR_TASK_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPAIR_TASK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPAIR_TASK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPAIR_TASK_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPAIR_TASK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, - pub TaskIdFilter: windows_core::PCWSTR, - pub StateFilter: u32, - pub ExecutorFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION {} -impl Clone for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPAIR_TASK_QUERY_DESCRIPTION") - .field("Scope", &self.Scope) - .field("TaskIdFilter", &self.TaskIdFilter) - .field("StateFilter", &self.StateFilter) - .field("ExecutorFilter", &self.ExecutorFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Scope == other.Scope - && self.TaskIdFilter == other.TaskIdFilter - && self.StateFilter == other.StateFilter - && self.ExecutorFilter == other.ExecutorFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION {} -impl Default for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICAS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyReplicasPerPartition: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICAS_HEALTH_EVALUATION {} -impl Clone for FABRIC_REPLICAS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICAS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICAS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyReplicasPerPartition", - &self.MaxPercentUnhealthyReplicasPerPartition, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICAS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICAS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyReplicasPerPartition - == other.MaxPercentUnhealthyReplicasPerPartition - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICAS_HEALTH_EVALUATION {} -impl Default for FABRIC_REPLICAS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICATOR_QUEUE_STATUS { - pub QueueUtilizationPercentage: u32, - pub QueueMemorySize: i64, - pub FirstSequenceNumber: i64, - pub CompletedSequenceNumber: i64, - pub CommittedSequenceNumber: i64, - pub LastSequenceNumber: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICATOR_QUEUE_STATUS {} -impl Clone for FABRIC_REPLICATOR_QUEUE_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICATOR_QUEUE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_QUEUE_STATUS") - .field( - "QueueUtilizationPercentage", - &self.QueueUtilizationPercentage, - ) - .field("QueueMemorySize", &self.QueueMemorySize) - .field("FirstSequenceNumber", &self.FirstSequenceNumber) - .field("CompletedSequenceNumber", &self.CompletedSequenceNumber) - .field("CommittedSequenceNumber", &self.CommittedSequenceNumber) - .field("LastSequenceNumber", &self.LastSequenceNumber) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICATOR_QUEUE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICATOR_QUEUE_STATUS { - fn eq(&self, other: &Self) -> bool { - self.QueueUtilizationPercentage == other.QueueUtilizationPercentage - && self.QueueMemorySize == other.QueueMemorySize - && self.FirstSequenceNumber == other.FirstSequenceNumber - && self.CompletedSequenceNumber == other.CompletedSequenceNumber - && self.CommittedSequenceNumber == other.CommittedSequenceNumber - && self.LastSequenceNumber == other.LastSequenceNumber - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICATOR_QUEUE_STATUS {} -impl Default for FABRIC_REPLICATOR_QUEUE_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICATOR_SETTINGS { - pub Flags: u32, - pub RetryIntervalMilliseconds: u32, - pub BatchAcknowledgementIntervalMilliseconds: u32, - pub ReplicatorAddress: windows_core::PCWSTR, - pub RequireServiceAck: windows::Win32::Foundation::BOOLEAN, - pub InitialReplicationQueueSize: u32, - pub MaxReplicationQueueSize: u32, - pub InitialCopyQueueSize: u32, - pub MaxCopyQueueSize: u32, - pub SecurityCredentials: *const FABRIC_SECURITY_CREDENTIALS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICATOR_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICATOR_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_SETTINGS") - .field("Flags", &self.Flags) - .field("RetryIntervalMilliseconds", &self.RetryIntervalMilliseconds) - .field( - "BatchAcknowledgementIntervalMilliseconds", - &self.BatchAcknowledgementIntervalMilliseconds, - ) - .field("ReplicatorAddress", &self.ReplicatorAddress) - .field("RequireServiceAck", &self.RequireServiceAck) - .field( - "InitialReplicationQueueSize", - &self.InitialReplicationQueueSize, - ) - .field("MaxReplicationQueueSize", &self.MaxReplicationQueueSize) - .field("InitialCopyQueueSize", &self.InitialCopyQueueSize) - .field("MaxCopyQueueSize", &self.MaxCopyQueueSize) - .field("SecurityCredentials", &self.SecurityCredentials) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICATOR_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.Flags == other.Flags - && self.RetryIntervalMilliseconds == other.RetryIntervalMilliseconds - && self.BatchAcknowledgementIntervalMilliseconds - == other.BatchAcknowledgementIntervalMilliseconds - && self.ReplicatorAddress == other.ReplicatorAddress - && self.RequireServiceAck == other.RequireServiceAck - && self.InitialReplicationQueueSize == other.InitialReplicationQueueSize - && self.MaxReplicationQueueSize == other.MaxReplicationQueueSize - && self.InitialCopyQueueSize == other.InitialCopyQueueSize - && self.MaxCopyQueueSize == other.MaxCopyQueueSize - && self.SecurityCredentials == other.SecurityCredentials - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICATOR_SETTINGS {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICATOR_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICATOR_SETTINGS_EX1 { - pub MaxReplicationQueueMemorySize: u32, - pub SecondaryClearAcknowledgedOperations: windows::Win32::Foundation::BOOLEAN, - pub MaxReplicationMessageSize: u32, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICATOR_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICATOR_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_SETTINGS_EX1") - .field( - "MaxReplicationQueueMemorySize", - &self.MaxReplicationQueueMemorySize, - ) - .field( - "SecondaryClearAcknowledgedOperations", - &self.SecondaryClearAcknowledgedOperations, - ) - .field("MaxReplicationMessageSize", &self.MaxReplicationMessageSize) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICATOR_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.MaxReplicationQueueMemorySize == other.MaxReplicationQueueMemorySize - && self.SecondaryClearAcknowledgedOperations - == other.SecondaryClearAcknowledgedOperations - && self.MaxReplicationMessageSize == other.MaxReplicationMessageSize - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICATOR_SETTINGS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICATOR_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICATOR_SETTINGS_EX2 { - pub UseStreamFaultsAndEndOfStreamOperationAck: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICATOR_SETTINGS_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICATOR_SETTINGS_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_SETTINGS_EX2") - .field( - "UseStreamFaultsAndEndOfStreamOperationAck", - &self.UseStreamFaultsAndEndOfStreamOperationAck, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICATOR_SETTINGS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.UseStreamFaultsAndEndOfStreamOperationAck - == other.UseStreamFaultsAndEndOfStreamOperationAck - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICATOR_SETTINGS_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICATOR_SETTINGS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICATOR_SETTINGS_EX3 { - pub InitialPrimaryReplicationQueueSize: u32, - pub MaxPrimaryReplicationQueueSize: u32, - pub MaxPrimaryReplicationQueueMemorySize: u32, - pub InitialSecondaryReplicationQueueSize: u32, - pub MaxSecondaryReplicationQueueSize: u32, - pub MaxSecondaryReplicationQueueMemorySize: u32, - pub PrimaryWaitForPendingQuorumsTimeoutMilliseconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICATOR_SETTINGS_EX3 {} -impl Clone for FABRIC_REPLICATOR_SETTINGS_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_SETTINGS_EX3") - .field( - "InitialPrimaryReplicationQueueSize", - &self.InitialPrimaryReplicationQueueSize, - ) - .field( - "MaxPrimaryReplicationQueueSize", - &self.MaxPrimaryReplicationQueueSize, - ) - .field( - "MaxPrimaryReplicationQueueMemorySize", - &self.MaxPrimaryReplicationQueueMemorySize, - ) - .field( - "InitialSecondaryReplicationQueueSize", - &self.InitialSecondaryReplicationQueueSize, - ) - .field( - "MaxSecondaryReplicationQueueSize", - &self.MaxSecondaryReplicationQueueSize, - ) - .field( - "MaxSecondaryReplicationQueueMemorySize", - &self.MaxSecondaryReplicationQueueMemorySize, - ) - .field( - "PrimaryWaitForPendingQuorumsTimeoutMilliseconds", - &self.PrimaryWaitForPendingQuorumsTimeoutMilliseconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICATOR_SETTINGS_EX3 { - fn eq(&self, other: &Self) -> bool { - self.InitialPrimaryReplicationQueueSize == other.InitialPrimaryReplicationQueueSize - && self.MaxPrimaryReplicationQueueSize == other.MaxPrimaryReplicationQueueSize - && self.MaxPrimaryReplicationQueueMemorySize - == other.MaxPrimaryReplicationQueueMemorySize - && self.InitialSecondaryReplicationQueueSize - == other.InitialSecondaryReplicationQueueSize - && self.MaxSecondaryReplicationQueueSize == other.MaxSecondaryReplicationQueueSize - && self.MaxSecondaryReplicationQueueMemorySize - == other.MaxSecondaryReplicationQueueMemorySize - && self.PrimaryWaitForPendingQuorumsTimeoutMilliseconds - == other.PrimaryWaitForPendingQuorumsTimeoutMilliseconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICATOR_SETTINGS_EX3 {} -impl Default for FABRIC_REPLICATOR_SETTINGS_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICATOR_SETTINGS_EX4 { - pub ReplicatorListenAddress: windows_core::PCWSTR, - pub ReplicatorPublishAddress: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICATOR_SETTINGS_EX4 {} -impl Clone for FABRIC_REPLICATOR_SETTINGS_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_SETTINGS_EX4") - .field("ReplicatorListenAddress", &self.ReplicatorListenAddress) - .field("ReplicatorPublishAddress", &self.ReplicatorPublishAddress) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICATOR_SETTINGS_EX4 { - fn eq(&self, other: &Self) -> bool { - self.ReplicatorListenAddress == other.ReplicatorListenAddress - && self.ReplicatorPublishAddress == other.ReplicatorPublishAddress - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICATOR_SETTINGS_EX4 {} -impl Default for FABRIC_REPLICATOR_SETTINGS_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - pub Role: FABRIC_REPLICA_ROLE, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICATOR_STATUS_QUERY_RESULT {} -impl Clone for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICATOR_STATUS_QUERY_RESULT") - .field("Role", &self.Role) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.Role == other.Role && self.Value == other.Value - } -} -impl Eq for FABRIC_REPLICATOR_STATUS_QUERY_RESULT {} -impl Default for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH {} -impl Clone for FABRIC_REPLICA_HEALTH { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_REPLICA_HEALTH {} -impl Default for FABRIC_REPLICA_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_EVALUATION {} -impl Clone for FABRIC_REPLICA_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_HEALTH_EVALUATION {} -impl Default for FABRIC_REPLICA_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE {} -impl Default for FABRIC_REPLICA_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_REPLICA_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATES_FILTER {} -impl Default for FABRIC_REPLICA_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE_CHUNK { - pub ReplicaOrInstanceId: i64, - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE_CHUNK") - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.HealthState == other.HealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_REPLICA_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_REPLICA_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub ReplicaOrInstanceIdFilter: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("ReplicaOrInstanceIdFilter", &self.ReplicaOrInstanceIdFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.ReplicaOrInstanceIdFilter == other.ReplicaOrInstanceIdFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE_FILTER {} -impl Default for FABRIC_REPLICA_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_REPLICA_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_REPLICA_HEALTH_STATE, -} -impl Copy for FABRIC_REPLICA_HEALTH_STATE_LIST {} -impl Clone for FABRIC_REPLICA_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_REPLICA_HEALTH_STATE_LIST {} -impl Default for FABRIC_REPLICA_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_INFORMATION { - pub Id: i64, - pub Role: FABRIC_REPLICA_ROLE, - pub Status: FABRIC_REPLICA_STATUS, - pub ReplicatorAddress: windows_core::PCWSTR, - pub CurrentProgress: i64, - pub CatchUpCapability: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_INFORMATION {} -impl Clone for FABRIC_REPLICA_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_INFORMATION") - .field("Id", &self.Id) - .field("Role", &self.Role) - .field("Status", &self.Status) - .field("ReplicatorAddress", &self.ReplicatorAddress) - .field("CurrentProgress", &self.CurrentProgress) - .field("CatchUpCapability", &self.CatchUpCapability) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Id == other.Id - && self.Role == other.Role - && self.Status == other.Status - && self.ReplicatorAddress == other.ReplicatorAddress - && self.CurrentProgress == other.CurrentProgress - && self.CatchUpCapability == other.CatchUpCapability - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_INFORMATION {} -impl Default for FABRIC_REPLICA_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICA_INFORMATION_EX1 { - pub MustCatchup: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICA_INFORMATION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICA_INFORMATION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICA_INFORMATION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_INFORMATION_EX1") - .field("MustCatchup", &self.MustCatchup) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICA_INFORMATION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICA_INFORMATION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.MustCatchup == other.MustCatchup && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICA_INFORMATION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICA_INFORMATION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_REPLICA_LOAD_INFORMATION { - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub LoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_REPLICA_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_REPLICA_LOAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_REPLICA_LOAD_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_LOAD_INFORMATION") - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("LoadMetricReports", &self.LoadMetricReports) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_REPLICA_LOAD_INFORMATION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_REPLICA_LOAD_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.LoadMetricReports == other.LoadMetricReports - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_REPLICA_LOAD_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_REPLICA_LOAD_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION {} -impl Default for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_SET_CONFIGURATION { - pub ReplicaCount: u32, - pub Replicas: *const FABRIC_REPLICA_INFORMATION, - pub WriteQuorum: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_SET_CONFIGURATION {} -impl Clone for FABRIC_REPLICA_SET_CONFIGURATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_SET_CONFIGURATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_SET_CONFIGURATION") - .field("ReplicaCount", &self.ReplicaCount) - .field("Replicas", &self.Replicas) - .field("WriteQuorum", &self.WriteQuorum) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_SET_CONFIGURATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_SET_CONFIGURATION { - fn eq(&self, other: &Self) -> bool { - self.ReplicaCount == other.ReplicaCount - && self.Replicas == other.Replicas - && self.WriteQuorum == other.WriteQuorum - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_SET_CONFIGURATION {} -impl Default for FABRIC_REPLICA_SET_CONFIGURATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_REPLICA_STATUS_QUERY_RESULT { - pub Kind: FABRIC_SERVICE_REPLICA_KIND, - pub Value: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_REPLICA_STATUS_QUERY_RESULT {} -impl Clone for FABRIC_REPLICA_STATUS_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_REPLICA_STATUS_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_REPLICA_STATUS_QUERY_RESULT") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_REPLICA_STATUS_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_REPLICA_STATUS_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_REPLICA_STATUS_QUERY_RESULT {} -impl Default for FABRIC_REPLICA_STATUS_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESOLVED_SERVICE_ENDPOINT { - pub Address: windows_core::PCWSTR, - pub Role: FABRIC_SERVICE_ENDPOINT_ROLE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESOLVED_SERVICE_ENDPOINT {} -impl Clone for FABRIC_RESOLVED_SERVICE_ENDPOINT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESOLVED_SERVICE_ENDPOINT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESOLVED_SERVICE_ENDPOINT") - .field("Address", &self.Address) - .field("Role", &self.Role) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESOLVED_SERVICE_ENDPOINT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESOLVED_SERVICE_ENDPOINT { - fn eq(&self, other: &Self) -> bool { - self.Address == other.Address && self.Role == other.Role && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESOLVED_SERVICE_ENDPOINT {} -impl Default for FABRIC_RESOLVED_SERVICE_ENDPOINT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESOLVED_SERVICE_PARTITION { - pub Info: FABRIC_SERVICE_PARTITION_INFORMATION, - pub EndpointCount: u32, - pub Endpoints: *mut FABRIC_RESOLVED_SERVICE_ENDPOINT, - pub ServiceName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESOLVED_SERVICE_PARTITION {} -impl Clone for FABRIC_RESOLVED_SERVICE_PARTITION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESOLVED_SERVICE_PARTITION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESOLVED_SERVICE_PARTITION") - .field("Info", &self.Info) - .field("EndpointCount", &self.EndpointCount) - .field("Endpoints", &self.Endpoints) - .field("ServiceName", &self.ServiceName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESOLVED_SERVICE_PARTITION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESOLVED_SERVICE_PARTITION { - fn eq(&self, other: &Self) -> bool { - self.Info == other.Info - && self.EndpointCount == other.EndpointCount - && self.Endpoints == other.Endpoints - && self.ServiceName == other.ServiceName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESOLVED_SERVICE_PARTITION {} -impl Default for FABRIC_RESOLVED_SERVICE_PARTITION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub CodePackageInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION {} -impl Clone for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("CodePackageName", &self.CodePackageName) - .field("CodePackageInstanceId", &self.CodePackageInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.CodePackageName == other.CodePackageName - && self.CodePackageInstanceId == other.CodePackageInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION {} -impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - pub Kind: FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 {} -impl Clone for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 {} -impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - pub NodeName: windows_core::PCWSTR, - pub ApplicationName: FABRIC_URI, - pub ServiceManifestName: windows_core::PCWSTR, - pub CodePackageName: windows_core::PCWSTR, - pub CodePackageInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME {} -impl Clone for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME") - .field("NodeName", &self.NodeName) - .field("ApplicationName", &self.ApplicationName) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("CodePackageName", &self.CodePackageName) - .field("CodePackageInstanceId", &self.CodePackageInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.ApplicationName == other.ApplicationName - && self.ServiceManifestName == other.ServiceManifestName - && self.CodePackageName == other.CodePackageName - && self.CodePackageInstanceId == other.CodePackageInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME {} -impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { - pub ServicePackageActivationId: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 {} -impl Clone for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1") - .field( - "ServicePackageActivationId", - &self.ServicePackageActivationId, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind - for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 -{ - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationId == other.ServicePackageActivationId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 {} -impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_NODE_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_NODE_DESCRIPTION {} -impl Clone for FABRIC_RESTART_NODE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_NODE_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_NODE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_NODE_DESCRIPTION {} -impl Default for FABRIC_RESTART_NODE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_NODE_DESCRIPTION2 { - pub Kind: FABRIC_RESTART_NODE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_NODE_DESCRIPTION2 {} -impl Clone for FABRIC_RESTART_NODE_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_NODE_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_NODE_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_RESTART_NODE_DESCRIPTION2 {} -impl Default for FABRIC_RESTART_NODE_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - pub CreateFabricDump: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_RESTART_NODE_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_NODE_DESCRIPTION_EX1") - .field("CreateFabricDump", &self.CreateFabricDump) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.CreateFabricDump == other.CreateFabricDump && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_RESTART_NODE_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub ShouldCreateFabricDump: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("ShouldCreateFabricDump", &self.ShouldCreateFabricDump) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.ShouldCreateFabricDump == other.ShouldCreateFabricDump - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_NODE_STATUS { - pub NodeResult: *mut FABRIC_NODE_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_NODE_STATUS {} -impl Clone for FABRIC_RESTART_NODE_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_NODE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_NODE_STATUS") - .field("NodeResult", &self.NodeResult) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_NODE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_NODE_STATUS { - fn eq(&self, other: &Self) -> bool { - self.NodeResult == other.NodeResult && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_NODE_STATUS {} -impl Default for FABRIC_RESTART_NODE_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RESTART_REPLICA_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub PartitionId: windows_core::GUID, - pub ReplicaOrInstanceId: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RESTART_REPLICA_DESCRIPTION {} -impl Clone for FABRIC_RESTART_REPLICA_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RESTART_REPLICA_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RESTART_REPLICA_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("PartitionId", &self.PartitionId) - .field("ReplicaOrInstanceId", &self.ReplicaOrInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RESTART_REPLICA_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RESTART_REPLICA_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.PartitionId == other.PartitionId - && self.ReplicaOrInstanceId == other.ReplicaOrInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RESTART_REPLICA_DESCRIPTION {} -impl Default for FABRIC_RESTART_REPLICA_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - pub FailureAction: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION, - pub HealthCheckWaitDurationInSeconds: u32, - pub HealthCheckRetryTimeoutInSeconds: u32, - pub UpgradeTimeoutInSeconds: u32, - pub UpgradeDomainTimeoutInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY {} -impl Clone for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_MONITORING_POLICY") - .field("FailureAction", &self.FailureAction) - .field( - "HealthCheckWaitDurationInSeconds", - &self.HealthCheckWaitDurationInSeconds, - ) - .field( - "HealthCheckRetryTimeoutInSeconds", - &self.HealthCheckRetryTimeoutInSeconds, - ) - .field("UpgradeTimeoutInSeconds", &self.UpgradeTimeoutInSeconds) - .field( - "UpgradeDomainTimeoutInSeconds", - &self.UpgradeDomainTimeoutInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - fn eq(&self, other: &Self) -> bool { - self.FailureAction == other.FailureAction - && self.HealthCheckWaitDurationInSeconds == other.HealthCheckWaitDurationInSeconds - && self.HealthCheckRetryTimeoutInSeconds == other.HealthCheckRetryTimeoutInSeconds - && self.UpgradeTimeoutInSeconds == other.UpgradeTimeoutInSeconds - && self.UpgradeDomainTimeoutInSeconds == other.UpgradeDomainTimeoutInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY {} -impl Default for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - pub HealthCheckStableDurationInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 {} -impl Clone for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1") - .field( - "HealthCheckStableDurationInSeconds", - &self.HealthCheckStableDurationInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthCheckStableDurationInSeconds == other.HealthCheckStableDurationInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 {} -impl Default for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - pub RollingUpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, - pub ForceRestart: windows::Win32::Foundation::BOOLEAN, - pub UpgradeReplicaSetCheckTimeoutInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION") - .field("RollingUpgradeMode", &self.RollingUpgradeMode) - .field("ForceRestart", &self.ForceRestart) - .field( - "UpgradeReplicaSetCheckTimeoutInSeconds", - &self.UpgradeReplicaSetCheckTimeoutInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.RollingUpgradeMode == other.RollingUpgradeMode - && self.ForceRestart == other.ForceRestart - && self.UpgradeReplicaSetCheckTimeoutInSeconds - == other.UpgradeReplicaSetCheckTimeoutInSeconds - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - pub MonitoringPolicy: *const FABRIC_ROLLING_UPGRADE_MONITORING_POLICY, - pub HealthPolicy: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1") - .field("MonitoringPolicy", &self.MonitoringPolicy) - .field("HealthPolicy", &self.HealthPolicy) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.MonitoringPolicy == other.MonitoringPolicy - && self.HealthPolicy == other.HealthPolicy - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 {} -impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - pub EnableDeltaHealthEvaluation: windows::Win32::Foundation::BOOLEAN, - pub UpgradeHealthPolicy: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2") - .field( - "EnableDeltaHealthEvaluation", - &self.EnableDeltaHealthEvaluation, - ) - .field("UpgradeHealthPolicy", &self.UpgradeHealthPolicy) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.EnableDeltaHealthEvaluation == other.EnableDeltaHealthEvaluation - && self.UpgradeHealthPolicy == other.UpgradeHealthPolicy - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3") - .field( - "ApplicationHealthPolicyMap", - &self.ApplicationHealthPolicyMap, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationHealthPolicyMap == other.ApplicationHealthPolicyMap - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_RUNAS_POLICY_DESCRIPTION { - pub UserName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_RUNAS_POLICY_DESCRIPTION {} -impl Clone for FABRIC_RUNAS_POLICY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_RUNAS_POLICY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_RUNAS_POLICY_DESCRIPTION") - .field("UserName", &self.UserName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_RUNAS_POLICY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_RUNAS_POLICY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.UserName == other.UserName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_RUNAS_POLICY_DESCRIPTION {} -impl Default for FABRIC_RUNAS_POLICY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SAFETY_CHECK { - pub Kind: FABRIC_SAFETY_CHECK_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SAFETY_CHECK {} -impl Clone for FABRIC_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SAFETY_CHECK") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SAFETY_CHECK {} -impl Default for FABRIC_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SAFETY_CHECK_LIST { - pub Count: u32, - pub Items: *const FABRIC_SAFETY_CHECK, -} -impl Copy for FABRIC_SAFETY_CHECK_LIST {} -impl Clone for FABRIC_SAFETY_CHECK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SAFETY_CHECK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SAFETY_CHECK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SAFETY_CHECK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SAFETY_CHECK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SAFETY_CHECK_LIST {} -impl Default for FABRIC_SAFETY_CHECK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_MECHANISM { - pub ScalingMechanismKind: FABRIC_SCALING_MECHANISM_KIND, - pub ScalingMechanismDescription: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_MECHANISM {} -impl Clone for FABRIC_SCALING_MECHANISM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_MECHANISM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_MECHANISM") - .field("ScalingMechanismKind", &self.ScalingMechanismKind) - .field( - "ScalingMechanismDescription", - &self.ScalingMechanismDescription, - ) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_MECHANISM { - fn eq(&self, other: &Self) -> bool { - self.ScalingMechanismKind == other.ScalingMechanismKind - && self.ScalingMechanismDescription == other.ScalingMechanismDescription - } -} -impl Eq for FABRIC_SCALING_MECHANISM {} -impl Default for FABRIC_SCALING_MECHANISM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - pub MaximumPartitionCount: i32, - pub MinimumPartitionCount: i32, - pub ScaleIncrement: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION {} -impl Clone for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION") - .field("MaximumPartitionCount", &self.MaximumPartitionCount) - .field("MinimumPartitionCount", &self.MinimumPartitionCount) - .field("ScaleIncrement", &self.ScaleIncrement) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - fn eq(&self, other: &Self) -> bool { - self.MaximumPartitionCount == other.MaximumPartitionCount - && self.MinimumPartitionCount == other.MinimumPartitionCount - && self.ScaleIncrement == other.ScaleIncrement - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION {} -impl Default for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - pub MaximumInstanceCount: i32, - pub MinimumInstanceCount: i32, - pub ScaleIncrement: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT {} -impl Clone for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT") - .field("MaximumInstanceCount", &self.MaximumInstanceCount) - .field("MinimumInstanceCount", &self.MinimumInstanceCount) - .field("ScaleIncrement", &self.ScaleIncrement) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - fn eq(&self, other: &Self) -> bool { - self.MaximumInstanceCount == other.MaximumInstanceCount - && self.MinimumInstanceCount == other.MinimumInstanceCount - && self.ScaleIncrement == other.ScaleIncrement - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT {} -impl Default for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_TRIGGER { - pub ScalingTriggerKind: FABRIC_SCALING_TRIGGER_KIND, - pub ScalingTriggerDescription: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_TRIGGER {} -impl Clone for FABRIC_SCALING_TRIGGER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_TRIGGER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_TRIGGER") - .field("ScalingTriggerKind", &self.ScalingTriggerKind) - .field("ScalingTriggerDescription", &self.ScalingTriggerDescription) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_TRIGGER { - fn eq(&self, other: &Self) -> bool { - self.ScalingTriggerKind == other.ScalingTriggerKind - && self.ScalingTriggerDescription == other.ScalingTriggerDescription - } -} -impl Eq for FABRIC_SCALING_TRIGGER {} -impl Default for FABRIC_SCALING_TRIGGER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - pub MetricName: windows_core::PCWSTR, - pub LowerLoadThreshold: f64, - pub UpperLoadThreshold: f64, - pub ScaleIntervalInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD {} -impl Clone for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD") - .field("MetricName", &self.MetricName) - .field("LowerLoadThreshold", &self.LowerLoadThreshold) - .field("UpperLoadThreshold", &self.UpperLoadThreshold) - .field("ScaleIntervalInSeconds", &self.ScaleIntervalInSeconds) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - fn eq(&self, other: &Self) -> bool { - self.MetricName == other.MetricName - && self.LowerLoadThreshold == other.LowerLoadThreshold - && self.UpperLoadThreshold == other.UpperLoadThreshold - && self.ScaleIntervalInSeconds == other.ScaleIntervalInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD {} -impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - pub MetricName: windows_core::PCWSTR, - pub LowerLoadThreshold: f64, - pub UpperLoadThreshold: f64, - pub ScaleIntervalInSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD {} -impl Clone for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD") - .field("MetricName", &self.MetricName) - .field("LowerLoadThreshold", &self.LowerLoadThreshold) - .field("UpperLoadThreshold", &self.UpperLoadThreshold) - .field("ScaleIntervalInSeconds", &self.ScaleIntervalInSeconds) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - fn eq(&self, other: &Self) -> bool { - self.MetricName == other.MetricName - && self.LowerLoadThreshold == other.LowerLoadThreshold - && self.UpperLoadThreshold == other.UpperLoadThreshold - && self.ScaleIntervalInSeconds == other.ScaleIntervalInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD {} -impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - pub UseOnlyPrimaryLoad: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1") - .field("UseOnlyPrimaryLoad", &self.UseOnlyPrimaryLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UseOnlyPrimaryLoad == other.UseOnlyPrimaryLoad && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - pub ReplicationQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, - pub LastReplicationOperationReceivedTimeUtc: windows::Win32::Foundation::FILETIME, - pub IsInBuild: windows::Win32::Foundation::BOOLEAN, - pub CopyQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, - pub LastCopyOperationReceivedTimeUtc: windows::Win32::Foundation::FILETIME, - pub LastAcknowledgementSentTimeUtc: windows::Win32::Foundation::FILETIME, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT") - .field("ReplicationQueueStatus", &self.ReplicationQueueStatus) - .field( - "LastReplicationOperationReceivedTimeUtc", - &self.LastReplicationOperationReceivedTimeUtc, - ) - .field("IsInBuild", &self.IsInBuild) - .field("CopyQueueStatus", &self.CopyQueueStatus) - .field( - "LastCopyOperationReceivedTimeUtc", - &self.LastCopyOperationReceivedTimeUtc, - ) - .field( - "LastAcknowledgementSentTimeUtc", - &self.LastAcknowledgementSentTimeUtc, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.ReplicationQueueStatus == other.ReplicationQueueStatus - && self.LastReplicationOperationReceivedTimeUtc - == other.LastReplicationOperationReceivedTimeUtc - && self.IsInBuild == other.IsInBuild - && self.CopyQueueStatus == other.CopyQueueStatus - && self.LastCopyOperationReceivedTimeUtc == other.LastCopyOperationReceivedTimeUtc - && self.LastAcknowledgementSentTimeUtc == other.LastAcknowledgementSentTimeUtc - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECRET { - pub Name: windows_core::PCWSTR, - pub Version: windows_core::PCWSTR, - pub Value: windows_core::PCWSTR, - pub Kind: windows_core::PCWSTR, - pub ContentType: windows_core::PCWSTR, -} -impl Copy for FABRIC_SECRET {} -impl Clone for FABRIC_SECRET { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECRET { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECRET") - .field("Name", &self.Name) - .field("Version", &self.Version) - .field("Value", &self.Value) - .field("Kind", &self.Kind) - .field("ContentType", &self.ContentType) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECRET { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECRET { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Version == other.Version - && self.Value == other.Value - && self.Kind == other.Kind - && self.ContentType == other.ContentType - } -} -impl Eq for FABRIC_SECRET {} -impl Default for FABRIC_SECRET { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECRET_LIST { - pub Count: u32, - pub Items: *mut FABRIC_SECRET, -} -impl Copy for FABRIC_SECRET_LIST {} -impl Clone for FABRIC_SECRET_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECRET_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECRET_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECRET_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECRET_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SECRET_LIST {} -impl Default for FABRIC_SECRET_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECRET_REFERENCE { - pub Name: windows_core::PCWSTR, - pub Version: windows_core::PCWSTR, -} -impl Copy for FABRIC_SECRET_REFERENCE {} -impl Clone for FABRIC_SECRET_REFERENCE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECRET_REFERENCE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECRET_REFERENCE") - .field("Name", &self.Name) - .field("Version", &self.Version) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECRET_REFERENCE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECRET_REFERENCE { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Version == other.Version - } -} -impl Eq for FABRIC_SECRET_REFERENCE {} -impl Default for FABRIC_SECRET_REFERENCE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECRET_REFERENCE_LIST { - pub Count: u32, - pub Items: *mut FABRIC_SECRET_REFERENCE, -} -impl Copy for FABRIC_SECRET_REFERENCE_LIST {} -impl Clone for FABRIC_SECRET_REFERENCE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECRET_REFERENCE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECRET_REFERENCE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECRET_REFERENCE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECRET_REFERENCE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SECRET_REFERENCE_LIST {} -impl Default for FABRIC_SECRET_REFERENCE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECURITY_CREDENTIALS { - pub Kind: FABRIC_SECURITY_CREDENTIAL_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SECURITY_CREDENTIALS {} -impl Clone for FABRIC_SECURITY_CREDENTIALS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECURITY_CREDENTIALS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECURITY_CREDENTIALS") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECURITY_CREDENTIALS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECURITY_CREDENTIALS { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SECURITY_CREDENTIALS {} -impl Default for FABRIC_SECURITY_CREDENTIALS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECURITY_GROUP_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Sid: windows_core::PCWSTR, - pub DomainGroupMembers: *const FABRIC_STRING_LIST, - pub SystemGroupMembers: *const FABRIC_STRING_LIST, - pub DomainUserMembers: *const FABRIC_STRING_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SECURITY_GROUP_DESCRIPTION {} -impl Clone for FABRIC_SECURITY_GROUP_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECURITY_GROUP_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECURITY_GROUP_DESCRIPTION") - .field("Name", &self.Name) - .field("Sid", &self.Sid) - .field("DomainGroupMembers", &self.DomainGroupMembers) - .field("SystemGroupMembers", &self.SystemGroupMembers) - .field("DomainUserMembers", &self.DomainUserMembers) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECURITY_GROUP_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECURITY_GROUP_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Sid == other.Sid - && self.DomainGroupMembers == other.DomainGroupMembers - && self.SystemGroupMembers == other.SystemGroupMembers - && self.DomainUserMembers == other.DomainUserMembers - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SECURITY_GROUP_DESCRIPTION {} -impl Default for FABRIC_SECURITY_GROUP_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SECURITY_GROUP_DESCRIPTION, -} -impl Copy for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST {} -impl Clone for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECURITY_GROUP_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST {} -impl Default for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECURITY_USER_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Sid: windows_core::PCWSTR, - pub ParentSystemGroups: *const FABRIC_STRING_LIST, - pub ParentApplicationGroups: *const FABRIC_STRING_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SECURITY_USER_DESCRIPTION {} -impl Clone for FABRIC_SECURITY_USER_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECURITY_USER_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECURITY_USER_DESCRIPTION") - .field("Name", &self.Name) - .field("Sid", &self.Sid) - .field("ParentSystemGroups", &self.ParentSystemGroups) - .field("ParentApplicationGroups", &self.ParentApplicationGroups) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECURITY_USER_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECURITY_USER_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Sid == other.Sid - && self.ParentSystemGroups == other.ParentSystemGroups - && self.ParentApplicationGroups == other.ParentApplicationGroups - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SECURITY_USER_DESCRIPTION {} -impl Default for FABRIC_SECURITY_USER_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SECURITY_USER_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SECURITY_USER_DESCRIPTION, -} -impl Copy for FABRIC_SECURITY_USER_DESCRIPTION_LIST {} -impl Clone for FABRIC_SECURITY_USER_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SECURITY_USER_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SECURITY_USER_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SECURITY_USER_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SECURITY_USER_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SECURITY_USER_DESCRIPTION_LIST {} -impl Default for FABRIC_SECURITY_USER_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SEED_NODE_SAFETY_CHECK { - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SEED_NODE_SAFETY_CHECK {} -impl Clone for FABRIC_SEED_NODE_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SEED_NODE_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SEED_NODE_SAFETY_CHECK") - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SEED_NODE_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SEED_NODE_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SEED_NODE_SAFETY_CHECK {} -impl Default for FABRIC_SEED_NODE_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SELECTED_PARTITION { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SELECTED_PARTITION {} -impl Clone for FABRIC_SELECTED_PARTITION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SELECTED_PARTITION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SELECTED_PARTITION") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SELECTED_PARTITION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SELECTED_PARTITION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SELECTED_PARTITION {} -impl Default for FABRIC_SELECTED_PARTITION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICES_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub ServiceTypeName: windows_core::PCWSTR, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyServices: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICES_HEALTH_EVALUATION {} -impl Clone for FABRIC_SERVICES_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICES_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICES_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyServices", - &self.MaxPercentUnhealthyServices, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICES_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICES_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.ServiceTypeName == other.ServiceTypeName - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyServices == other.MaxPercentUnhealthyServices - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICES_HEALTH_EVALUATION {} -impl Default for FABRIC_SERVICES_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_CORRELATION_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub Scheme: FABRIC_SERVICE_CORRELATION_SCHEME, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_CORRELATION_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_CORRELATION_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_CORRELATION_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_CORRELATION_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("Scheme", &self.Scheme) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_CORRELATION_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_CORRELATION_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.Scheme == other.Scheme - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_CORRELATION_DESCRIPTION {} -impl Default for FABRIC_SERVICE_CORRELATION_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_DESCRIPTION { - pub Kind: FABRIC_SERVICE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceName: FABRIC_URI, - pub ServiceDnsName: windows_core::PCWSTR, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, - pub InitializationDataSize: u32, - pub InitializationData: *mut u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceName", &self.ServiceName) - .field("ServiceDnsName", &self.ServiceDnsName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field( - "ServicePackageActivationMode", - &self.ServicePackageActivationMode, - ) - .field("InitializationDataSize", &self.InitializationDataSize) - .field("InitializationData", &self.InitializationData) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceName == other.ServiceName - && self.ServiceDnsName == other.ServiceDnsName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServicePackageActivationMode == other.ServicePackageActivationMode - && self.InitializationDataSize == other.InitializationDataSize - && self.InitializationData == other.InitializationData - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_DESCRIPTION { - pub Description: *mut FABRIC_SERVICE_DESCRIPTION, - pub MemberCount: u32, - pub MemberDescriptions: *mut FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_DESCRIPTION") - .field("Description", &self.Description) - .field("MemberCount", &self.MemberCount) - .field("MemberDescriptions", &self.MemberDescriptions) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.MemberCount == other.MemberCount - && self.MemberDescriptions == other.MemberDescriptions - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, - pub InitializationDataSize: u32, - pub InitializationData: *mut u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field( - "ServicePackageActivationMode", - &self.ServicePackageActivationMode, - ) - .field("InitializationDataSize", &self.InitializationDataSize) - .field("InitializationData", &self.InitializationData) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServicePackageActivationMode == other.ServicePackageActivationMode - && self.InitializationDataSize == other.InitializationDataSize - && self.InitializationData == other.InitializationData - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - pub ServiceType: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub InitializationDataSize: u32, - pub InitializationData: *const u8, - pub MetricCount: u32, - pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION") - .field("ServiceType", &self.ServiceType) - .field("ServiceName", &self.ServiceName) - .field("InitializationDataSize", &self.InitializationDataSize) - .field("InitializationData", &self.InitializationData) - .field("MetricCount", &self.MetricCount) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceType == other.ServiceType - && self.ServiceName == other.ServiceName - && self.InitializationDataSize == other.InitializationDataSize - && self.InitializationData == other.InitializationData - && self.MetricCount == other.MetricCount - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - pub ServiceType: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM") - .field("ServiceType", &self.ServiceType) - .field("ServiceName", &self.ServiceName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceType == other.ServiceType - && self.ServiceName == other.ServiceName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceNameFilter: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceNameFilter", &self.ServiceNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceNameFilter == other.ServiceNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub Members: *mut FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("Members", &self.Members) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.Members == other.Members - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub ServiceGroupTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field( - "ServiceGroupTypeNameFilter", - &self.ServiceGroupTypeNameFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.ServiceGroupTypeNameFilter == other.ServiceGroupTypeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - pub ServiceGroupMemberTypeDescription: *mut FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub ServiceManifestName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM") - .field( - "ServiceGroupMemberTypeDescription", - &self.ServiceGroupMemberTypeDescription, - ) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("ServiceManifestName", &self.ServiceManifestName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceGroupMemberTypeDescription == other.ServiceGroupMemberTypeDescription - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.ServiceManifestName == other.ServiceManifestName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - pub Description: *const FABRIC_SERVICE_TYPE_DESCRIPTION, - pub Members: *const FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST, - pub UseImplicitFactory: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION") - .field("Description", &self.Description) - .field("Members", &self.Members) - .field("UseImplicitFactory", &self.UseImplicitFactory) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.Members == other.Members - && self.UseImplicitFactory == other.UseImplicitFactory - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - pub ServiceTypeName: windows_core::PCWSTR, - pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION") - .field("ServiceTypeName", &self.ServiceTypeName) - .field("LoadMetrics", &self.LoadMetrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeName == other.ServiceTypeName - && self.LoadMetrics == other.LoadMetrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION, -} -impl Copy for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST {} -impl Clone for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST {} -impl Default for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - pub Description: *mut FABRIC_SERVICE_UPDATE_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION") - .field("Description", &self.Description) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_HEALTH { - pub ServiceName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub PartitionHealthStates: *const FABRIC_PARTITION_HEALTH_STATE_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH") - .field("ServiceName", &self.ServiceName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("PartitionHealthStates", &self.PartitionHealthStates) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.PartitionHealthStates == other.PartitionHealthStates - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub ServiceName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_EVALUATION {} -impl Clone for FABRIC_SERVICE_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("ServiceName", &self.ServiceName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.ServiceName == other.ServiceName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_EVALUATION {} -impl Default for FABRIC_SERVICE_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_EX1 {} -impl Clone for FABRIC_SERVICE_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_EX1 {} -impl Default for FABRIC_SERVICE_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_EX2 { - pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_EX2 {} -impl Clone for FABRIC_SERVICE_HEALTH_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_EX2") - .field("HealthStatistics", &self.HealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_EX2 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatistics == other.HealthStatistics && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_EX2 {} -impl Default for FABRIC_SERVICE_HEALTH_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, - pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, - pub PartitionsFilter: *const FABRIC_PARTITION_HEALTH_STATES_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("HealthPolicy", &self.HealthPolicy) - .field("EventsFilter", &self.EventsFilter) - .field("PartitionsFilter", &self.PartitionsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.HealthPolicy == other.HealthPolicy - && self.EventsFilter == other.EventsFilter - && self.PartitionsFilter == other.PartitionsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - pub HealthStatisticsFilter: *const FABRIC_SERVICE_HEALTH_STATISTICS_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1") - .field("HealthStatisticsFilter", &self.HealthStatisticsFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.HealthStatisticsFilter == other.HealthStatisticsFilter - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_HEALTH_REPORT { - pub ServiceName: FABRIC_URI, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_REPORT") - .field("ServiceName", &self.ServiceName) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE { - pub ServiceName: FABRIC_URI, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE") - .field("ServiceName", &self.ServiceName) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE {} -impl Default for FABRIC_SERVICE_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATES_FILTER { - pub HealthStateFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATES_FILTER {} -impl Clone for FABRIC_SERVICE_HEALTH_STATES_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATES_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATES_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATES_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATES_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATES_FILTER {} -impl Default for FABRIC_SERVICE_HEALTH_STATES_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE_CHUNK { - pub ServiceName: FABRIC_URI, - pub HealthState: FABRIC_HEALTH_STATE, - pub PartitionHealthStateChunks: *const FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE_CHUNK {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE_CHUNK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE_CHUNK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE_CHUNK") - .field("ServiceName", &self.ServiceName) - .field("HealthState", &self.HealthState) - .field( - "PartitionHealthStateChunks", - &self.PartitionHealthStateChunks, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_CHUNK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE_CHUNK { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.HealthState == other.HealthState - && self.PartitionHealthStateChunks == other.PartitionHealthStateChunks - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE_CHUNK {} -impl Default for FABRIC_SERVICE_HEALTH_STATE_CHUNK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_HEALTH_STATE_CHUNK, - pub TotalCount: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .field("TotalCount", &self.TotalCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count - && self.Items == other.Items - && self.TotalCount == other.TotalCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST {} -impl Default for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE_FILTER { - pub HealthStateFilter: u32, - pub ServiceNameFilter: FABRIC_URI, - pub PartitionFilters: *const FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE_FILTER {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE_FILTER { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE_FILTER") - .field("HealthStateFilter", &self.HealthStateFilter) - .field("ServiceNameFilter", &self.ServiceNameFilter) - .field("PartitionFilters", &self.PartitionFilters) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_FILTER { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE_FILTER { - fn eq(&self, other: &Self) -> bool { - self.HealthStateFilter == other.HealthStateFilter - && self.ServiceNameFilter == other.ServiceNameFilter - && self.PartitionFilters == other.PartitionFilters - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE_FILTER {} -impl Default for FABRIC_SERVICE_HEALTH_STATE_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_HEALTH_STATE_FILTER, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST {} -impl Default for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_HEALTH_STATE_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_HEALTH_STATE, -} -impl Copy for FABRIC_SERVICE_HEALTH_STATE_LIST {} -impl Clone for FABRIC_SERVICE_HEALTH_STATE_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATE_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATE_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_HEALTH_STATE_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_HEALTH_STATE_LIST {} -impl Default for FABRIC_SERVICE_HEALTH_STATE_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_HEALTH_STATISTICS_FILTER") - .field("ExcludeHealthStatistics", &self.ExcludeHealthStatistics) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - fn eq(&self, other: &Self) -> bool { - self.ExcludeHealthStatistics == other.ExcludeHealthStatistics - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub Weight: FABRIC_SERVICE_LOAD_METRIC_WEIGHT, - pub PrimaryDefaultLoad: u32, - pub SecondaryDefaultLoad: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION") - .field("Name", &self.Name) - .field("Weight", &self.Weight) - .field("PrimaryDefaultLoad", &self.PrimaryDefaultLoad) - .field("SecondaryDefaultLoad", &self.SecondaryDefaultLoad) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.Weight == other.Weight - && self.PrimaryDefaultLoad == other.PrimaryDefaultLoad - && self.SecondaryDefaultLoad == other.SecondaryDefaultLoad - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION {} -impl Default for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, -} -impl Copy for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST {} -impl Clone for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST {} -impl Default for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_NAME_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_NAME_QUERY_RESULT { - pub ServiceName: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_NAME_QUERY_RESULT {} -impl Clone for FABRIC_SERVICE_NAME_QUERY_RESULT { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_NAME_QUERY_RESULT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_NAME_QUERY_RESULT") - .field("ServiceName", &self.ServiceName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_NAME_QUERY_RESULT { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_NAME_QUERY_RESULT { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_NAME_QUERY_RESULT {} -impl Default for FABRIC_SERVICE_NAME_QUERY_RESULT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_NOTIFICATION { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub EndpointCount: u32, - pub Endpoints: *mut FABRIC_RESOLVED_SERVICE_ENDPOINT, - pub PartitionInfo: *mut FABRIC_SERVICE_PARTITION_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_NOTIFICATION {} -impl Clone for FABRIC_SERVICE_NOTIFICATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_NOTIFICATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_NOTIFICATION") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("EndpointCount", &self.EndpointCount) - .field("Endpoints", &self.Endpoints) - .field("PartitionInfo", &self.PartitionInfo) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_NOTIFICATION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.EndpointCount == other.EndpointCount - && self.Endpoints == other.Endpoints - && self.PartitionInfo == other.PartitionInfo - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_NOTIFICATION {} -impl Default for FABRIC_SERVICE_NOTIFICATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - pub Name: FABRIC_URI, - pub Flags: FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION") - .field("Name", &self.Name) - .field("Flags", &self.Flags) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Flags == other.Flags && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION {} -impl Default for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PARTITION_INFORMATION { - pub Kind: FABRIC_SERVICE_PARTITION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_PARTITION_INFORMATION {} -impl Clone for FABRIC_SERVICE_PARTITION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PARTITION_INFORMATION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PARTITION_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_PARTITION_INFORMATION {} -impl Default for FABRIC_SERVICE_PARTITION_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub PartitionIdFilter: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("PartitionIdFilter", &self.PartitionIdFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionIdFilter == other.PartitionIdFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - pub Type: FABRIC_PLACEMENT_POLICY_TYPE, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION") - .field("Type", &self.Type) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Type == other.Type && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - pub PolicyCount: u32, - pub Policies: *mut FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION, -} -impl Copy for FABRIC_SERVICE_PLACEMENT_POLICY_LIST {} -impl Clone for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_PLACEMENT_POLICY_LIST") - .field("PolicyCount", &self.PolicyCount) - .field("Policies", &self.Policies) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - fn eq(&self, other: &Self) -> bool { - self.PolicyCount == other.PolicyCount && self.Policies == other.Policies - } -} -impl Eq for FABRIC_SERVICE_PLACEMENT_POLICY_LIST {} -impl Default for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceNameFilter: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceNameFilter", &self.ServiceNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceNameFilter == other.ServiceNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_DESCRIPTION_EX1") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - pub ServiceTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 {} -impl Clone for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_DESCRIPTION_EX2") - .field("ServiceTypeNameFilter", &self.ServiceTypeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeNameFilter == other.ServiceTypeNameFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 {} -impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - pub MaxResults: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 {} -impl Clone for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_DESCRIPTION_EX3") - .field("MaxResults", &self.MaxResults) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.MaxResults == other.MaxResults && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 {} -impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_RESULT_ITEM { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_RESULT_ITEM") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - pub PartitionId: windows_core::GUID, - pub ReplicaIdOrInstanceIdFilter: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION") - .field("PartitionId", &self.PartitionId) - .field( - "ReplicaIdOrInstanceIdFilter", - &self.ReplicaIdOrInstanceIdFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaIdOrInstanceIdFilter == other.ReplicaIdOrInstanceIdFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - pub ReplicaStatusFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 {} -impl Clone for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1") - .field("ReplicaStatusFilter", &self.ReplicaStatusFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ReplicaStatusFilter == other.ReplicaStatusFilter && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 {} -impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - pub ContinuationToken: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 {} -impl Clone for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2") - .field("ContinuationToken", &self.ContinuationToken) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ContinuationToken == other.ContinuationToken && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 {} -impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_SCALING_POLICY { - pub ServiceScalingPolicyTrigger: FABRIC_SCALING_TRIGGER, - pub ServiceScalingPolicyMechanism: FABRIC_SCALING_MECHANISM, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_SCALING_POLICY {} -impl Clone for FABRIC_SERVICE_SCALING_POLICY { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_SCALING_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_SCALING_POLICY") - .field( - "ServiceScalingPolicyTrigger", - &self.ServiceScalingPolicyTrigger, - ) - .field( - "ServiceScalingPolicyMechanism", - &self.ServiceScalingPolicyMechanism, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_SCALING_POLICY { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_SCALING_POLICY { - fn eq(&self, other: &Self) -> bool { - self.ServiceScalingPolicyTrigger == other.ServiceScalingPolicyTrigger - && self.ServiceScalingPolicyMechanism == other.ServiceScalingPolicyMechanism - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_SCALING_POLICY {} -impl Default for FABRIC_SERVICE_SCALING_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_DESCRIPTION { - pub Kind: FABRIC_SERVICE_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_TYPE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - pub Name: windows_core::PCWSTR, - pub Value: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION {} -impl Clone for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION") - .field("Name", &self.Name) - .field("Value", &self.Value) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.Value == other.Value && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION {} -impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION, -} -impl Copy for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST {} -impl Clone for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST {} -impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_TYPE_DESCRIPTION, -} -impl Copy for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST {} -impl Clone for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST {} -impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY { - pub MaxPercentUnhealthyServices: u8, - pub MaxPercentUnhealthyPartitionsPerService: u8, - pub MaxPercentUnhealthyReplicasPerPartition: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_HEALTH_POLICY {} -impl Clone for FABRIC_SERVICE_TYPE_HEALTH_POLICY { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_HEALTH_POLICY { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_HEALTH_POLICY") - .field( - "MaxPercentUnhealthyServices", - &self.MaxPercentUnhealthyServices, - ) - .field( - "MaxPercentUnhealthyPartitionsPerService", - &self.MaxPercentUnhealthyPartitionsPerService, - ) - .field( - "MaxPercentUnhealthyReplicasPerPartition", - &self.MaxPercentUnhealthyReplicasPerPartition, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_HEALTH_POLICY { - fn eq(&self, other: &Self) -> bool { - self.MaxPercentUnhealthyServices == other.MaxPercentUnhealthyServices - && self.MaxPercentUnhealthyPartitionsPerService - == other.MaxPercentUnhealthyPartitionsPerService - && self.MaxPercentUnhealthyReplicasPerPartition - == other.MaxPercentUnhealthyReplicasPerPartition - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_TYPE_HEALTH_POLICY {} -impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - pub Count: u32, - pub Items: *mut FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM, -} -impl Copy for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP {} -impl Clone for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP {} -impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - pub ServiceTypeName: windows_core::PCWSTR, - pub ServiceTypeHealthPolicy: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY, -} -impl Copy for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM {} -impl Clone for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM") - .field("ServiceTypeName", &self.ServiceTypeName) - .field("ServiceTypeHealthPolicy", &self.ServiceTypeHealthPolicy) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeName == other.ServiceTypeName - && self.ServiceTypeHealthPolicy == other.ServiceTypeHealthPolicy - } -} -impl Eq for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM {} -impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub ServiceTypeNameFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field("ServiceTypeNameFilter", &self.ServiceTypeNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.ServiceTypeNameFilter == other.ServiceTypeNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION {} -impl Default for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - pub ServiceTypeDescription: *mut FABRIC_SERVICE_TYPE_DESCRIPTION, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM") - .field("ServiceTypeDescription", &self.ServiceTypeDescription) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeDescription == other.ServiceTypeDescription - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - pub ServiceManifestName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1") - .field("ServiceManifestName", &self.ServiceManifestName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServiceManifestName == other.ServiceManifestName && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2") - .field("IsServiceGroup", &self.IsServiceGroup) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsServiceGroup == other.IsServiceGroup && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *const FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM, -} -impl Copy for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST {} -impl Clone for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST {} -impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SERVICE_UPDATE_DESCRIPTION { - pub Kind: FABRIC_SERVICE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SERVICE_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_SERVICE_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SERVICE_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SERVICE_UPDATE_DESCRIPTION") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SERVICE_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SERVICE_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_SERVICE_UPDATE_DESCRIPTION {} -impl Default for FABRIC_SERVICE_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SINGLETON_PARTITION_INFORMATION { - pub Id: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SINGLETON_PARTITION_INFORMATION {} -impl Clone for FABRIC_SINGLETON_PARTITION_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SINGLETON_PARTITION_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SINGLETON_PARTITION_INFORMATION") - .field("Id", &self.Id) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SINGLETON_PARTITION_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SINGLETON_PARTITION_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.Id == other.Id && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SINGLETON_PARTITION_INFORMATION {} -impl Default for FABRIC_SINGLETON_PARTITION_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STARTED_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STARTED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STARTED_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STARTED_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STARTED_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("ChaosParameters", &self.ChaosParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STARTED_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STARTED_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.ChaosParameters == other.ChaosParameters - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STARTED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STARTED_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub ClusterConfigPath: windows_core::PCWSTR, - pub RollbackOnFailure: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_APPROVED_UPGRADES_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("ClusterConfigPath", &self.ClusterConfigPath) - .field("RollbackOnFailure", &self.RollbackOnFailure) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.ClusterConfigPath == other.ClusterConfigPath - && self.RollbackOnFailure == other.RollbackOnFailure - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_START_CHAOS_DESCRIPTION { - pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_START_CHAOS_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_START_CHAOS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_START_CHAOS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_CHAOS_DESCRIPTION") - .field("ChaosParameters", &self.ChaosParameters) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_START_CHAOS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_START_CHAOS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ChaosParameters == other.ChaosParameters && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_START_CHAOS_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_START_CHAOS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_NODE_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub IPAddressOrFQDN: windows_core::PCWSTR, - pub ClusterConnectionPort: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_NODE_DESCRIPTION {} -impl Clone for FABRIC_START_NODE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_NODE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_NODE_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("IPAddressOrFQDN", &self.IPAddressOrFQDN) - .field("ClusterConnectionPort", &self.ClusterConnectionPort) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_NODE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.IPAddressOrFQDN == other.IPAddressOrFQDN - && self.ClusterConnectionPort == other.ClusterConnectionPort - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_NODE_DESCRIPTION {} -impl Default for FABRIC_START_NODE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_NODE_DESCRIPTION2 { - pub Kind: FABRIC_START_NODE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_NODE_DESCRIPTION2 {} -impl Clone for FABRIC_START_NODE_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_NODE_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_NODE_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_NODE_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_START_NODE_DESCRIPTION2 {} -impl Default for FABRIC_START_NODE_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub IPAddressOrFQDN: windows_core::PCWSTR, - pub ClusterConnectionPort: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME {} -impl Clone for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("IPAddressOrFQDN", &self.IPAddressOrFQDN) - .field("ClusterConnectionPort", &self.ClusterConnectionPort) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.IPAddressOrFQDN == other.IPAddressOrFQDN - && self.ClusterConnectionPort == other.ClusterConnectionPort - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME {} -impl Default for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_NODE_STATUS { - pub NodeResult: *mut FABRIC_NODE_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_NODE_STATUS {} -impl Clone for FABRIC_START_NODE_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_NODE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_NODE_STATUS") - .field("NodeResult", &self.NodeResult) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_NODE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_NODE_STATUS { - fn eq(&self, other: &Self) -> bool { - self.NodeResult == other.NodeResult && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_NODE_STATUS {} -impl Default for FABRIC_START_NODE_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, - pub DataLossMode: FABRIC_DATA_LOSS_MODE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION {} -impl Clone for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("PartitionSelector", &self.PartitionSelector) - .field("DataLossMode", &self.DataLossMode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.PartitionSelector == other.PartitionSelector - && self.DataLossMode == other.DataLossMode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION {} -impl Default for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, - pub QuorumLossMode: FABRIC_QUORUM_LOSS_MODE, - pub QuorumLossDurationInMilliSeconds: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION {} -impl Clone for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("PartitionSelector", &self.PartitionSelector) - .field("QuorumLossMode", &self.QuorumLossMode) - .field( - "QuorumLossDurationInMilliSeconds", - &self.QuorumLossDurationInMilliSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.PartitionSelector == other.PartitionSelector - && self.QuorumLossMode == other.QuorumLossMode - && self.QuorumLossDurationInMilliSeconds == other.QuorumLossDurationInMilliSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION {} -impl Default for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_PARTITION_RESTART_DESCRIPTION { - pub OperationId: windows_core::GUID, - pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, - pub RestartPartitionMode: FABRIC_RESTART_PARTITION_MODE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_PARTITION_RESTART_DESCRIPTION {} -impl Clone for FABRIC_START_PARTITION_RESTART_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_PARTITION_RESTART_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_PARTITION_RESTART_DESCRIPTION") - .field("OperationId", &self.OperationId) - .field("PartitionSelector", &self.PartitionSelector) - .field("RestartPartitionMode", &self.RestartPartitionMode) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_PARTITION_RESTART_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_PARTITION_RESTART_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.PartitionSelector == other.PartitionSelector - && self.RestartPartitionMode == other.RestartPartitionMode - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_PARTITION_RESTART_DESCRIPTION {} -impl Default for FABRIC_START_PARTITION_RESTART_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_START_UPGRADE_DESCRIPTION { - pub ClusterConfig: windows_core::PCWSTR, - pub HealthCheckRetryTimeoutInSeconds: u32, - pub HealthCheckWaitDurationInSeconds: u32, - pub HealthCheckStableDurationInSeconds: u32, - pub UpgradeDomainTimeoutInSeconds: u32, - pub UpgradeTimeoutInSeconds: u32, - pub MaxPercentUnhealthyApplications: u8, - pub MaxPercentUnhealthyNodes: u8, - pub MaxPercentDeltaUnhealthyNodes: u8, - pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_START_UPGRADE_DESCRIPTION {} -impl Clone for FABRIC_START_UPGRADE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_START_UPGRADE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_UPGRADE_DESCRIPTION") - .field("ClusterConfig", &self.ClusterConfig) - .field( - "HealthCheckRetryTimeoutInSeconds", - &self.HealthCheckRetryTimeoutInSeconds, - ) - .field( - "HealthCheckWaitDurationInSeconds", - &self.HealthCheckWaitDurationInSeconds, - ) - .field( - "HealthCheckStableDurationInSeconds", - &self.HealthCheckStableDurationInSeconds, - ) - .field( - "UpgradeDomainTimeoutInSeconds", - &self.UpgradeDomainTimeoutInSeconds, - ) - .field("UpgradeTimeoutInSeconds", &self.UpgradeTimeoutInSeconds) - .field( - "MaxPercentUnhealthyApplications", - &self.MaxPercentUnhealthyApplications, - ) - .field("MaxPercentUnhealthyNodes", &self.MaxPercentUnhealthyNodes) - .field( - "MaxPercentDeltaUnhealthyNodes", - &self.MaxPercentDeltaUnhealthyNodes, - ) - .field( - "MaxPercentUpgradeDomainDeltaUnhealthyNodes", - &self.MaxPercentUpgradeDomainDeltaUnhealthyNodes, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_START_UPGRADE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_START_UPGRADE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ClusterConfig == other.ClusterConfig - && self.HealthCheckRetryTimeoutInSeconds == other.HealthCheckRetryTimeoutInSeconds - && self.HealthCheckWaitDurationInSeconds == other.HealthCheckWaitDurationInSeconds - && self.HealthCheckStableDurationInSeconds == other.HealthCheckStableDurationInSeconds - && self.UpgradeDomainTimeoutInSeconds == other.UpgradeDomainTimeoutInSeconds - && self.UpgradeTimeoutInSeconds == other.UpgradeTimeoutInSeconds - && self.MaxPercentUnhealthyApplications == other.MaxPercentUnhealthyApplications - && self.MaxPercentUnhealthyNodes == other.MaxPercentUnhealthyNodes - && self.MaxPercentDeltaUnhealthyNodes == other.MaxPercentDeltaUnhealthyNodes - && self.MaxPercentUpgradeDomainDeltaUnhealthyNodes - == other.MaxPercentUpgradeDomainDeltaUnhealthyNodes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_START_UPGRADE_DESCRIPTION {} -impl Default for FABRIC_START_UPGRADE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_START_UPGRADE_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_START_UPGRADE_DESCRIPTION_EX1") - .field( - "ApplicationHealthPolicyMap", - &self.ApplicationHealthPolicyMap, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationHealthPolicyMap == other.ApplicationHealthPolicyMap - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_START_UPGRADE_DESCRIPTION_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub InitializationDataSize: u32, - pub InitializationData: *mut u8, - pub PartitionScheme: FABRIC_PARTITION_SCHEME, - pub PartitionSchemeDescription: *mut core::ffi::c_void, - pub TargetReplicaSetSize: i32, - pub MinReplicaSetSize: i32, - pub PlacementConstraints: windows_core::PCWSTR, - pub CorrelationCount: u32, - pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, - pub MetricCount: u32, - pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, - pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("InitializationDataSize", &self.InitializationDataSize) - .field("InitializationData", &self.InitializationData) - .field("PartitionScheme", &self.PartitionScheme) - .field( - "PartitionSchemeDescription", - &self.PartitionSchemeDescription, - ) - .field("TargetReplicaSetSize", &self.TargetReplicaSetSize) - .field("MinReplicaSetSize", &self.MinReplicaSetSize) - .field("PlacementConstraints", &self.PlacementConstraints) - .field("CorrelationCount", &self.CorrelationCount) - .field("Correlations", &self.Correlations) - .field("MetricCount", &self.MetricCount) - .field("Metrics", &self.Metrics) - .field("HasPersistedState", &self.HasPersistedState) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.InitializationDataSize == other.InitializationDataSize - && self.InitializationData == other.InitializationData - && self.PartitionScheme == other.PartitionScheme - && self.PartitionSchemeDescription == other.PartitionSchemeDescription - && self.TargetReplicaSetSize == other.TargetReplicaSetSize - && self.MinReplicaSetSize == other.MinReplicaSetSize - && self.PlacementConstraints == other.PlacementConstraints - && self.CorrelationCount == other.CorrelationCount - && self.Correlations == other.Correlations - && self.MetricCount == other.MetricCount - && self.Metrics == other.Metrics - && self.HasPersistedState == other.HasPersistedState - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub FailoverSettings: *mut FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1") - .field("PolicyList", &self.PolicyList) - .field("FailoverSettings", &self.FailoverSettings) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PolicyList == other.PolicyList - && self.FailoverSettings == other.FailoverSettings - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - pub IsDefaultMoveCostSpecified: windows::Win32::Foundation::BOOLEAN, - pub DefaultMoveCost: FABRIC_MOVE_COST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2") - .field( - "IsDefaultMoveCostSpecified", - &self.IsDefaultMoveCostSpecified, - ) - .field("DefaultMoveCost", &self.DefaultMoveCost) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsDefaultMoveCostSpecified == other.IsDefaultMoveCostSpecified - && self.DefaultMoveCost == other.DefaultMoveCost - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, - pub ServiceDnsName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 {} -impl Clone for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3") - .field( - "ServicePackageActivationMode", - &self.ServicePackageActivationMode, - ) - .field("ServiceDnsName", &self.ServiceDnsName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationMode == other.ServicePackageActivationMode - && self.ServiceDnsName == other.ServiceDnsName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 {} -impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - pub ScalingPolicyCount: u32, - pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 {} -impl Clone for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4") - .field("ScalingPolicyCount", &self.ScalingPolicyCount) - .field("ServiceScalingPolicies", &self.ServiceScalingPolicies) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - fn eq(&self, other: &Self) -> bool { - self.ScalingPolicyCount == other.ScalingPolicyCount - && self.ServiceScalingPolicies == other.ServiceScalingPolicies - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 {} -impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - pub Flags: u32, - pub ReplicaRestartWaitDurationSeconds: u32, - pub QuorumLossWaitDurationSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS {} -impl Clone for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS") - .field("Flags", &self.Flags) - .field( - "ReplicaRestartWaitDurationSeconds", - &self.ReplicaRestartWaitDurationSeconds, - ) - .field( - "QuorumLossWaitDurationSeconds", - &self.QuorumLossWaitDurationSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - fn eq(&self, other: &Self) -> bool { - self.Flags == other.Flags - && self.ReplicaRestartWaitDurationSeconds == other.ReplicaRestartWaitDurationSeconds - && self.QuorumLossWaitDurationSeconds == other.QuorumLossWaitDurationSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS {} -impl Default for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - pub StandByReplicaKeepDurationSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1") - .field( - "StandByReplicaKeepDurationSeconds", - &self.StandByReplicaKeepDurationSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.StandByReplicaKeepDurationSeconds == other.StandByReplicaKeepDurationSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - pub PartitionInformation: *const FABRIC_SERVICE_PARTITION_INFORMATION, - pub TargetReplicaSetSize: u32, - pub MinReplicaSetSize: u32, - pub HealthState: FABRIC_HEALTH_STATE, - pub PartitionStatus: FABRIC_QUERY_SERVICE_PARTITION_STATUS, - pub LastQuorumLossDurationInSeconds: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM") - .field("PartitionInformation", &self.PartitionInformation) - .field("TargetReplicaSetSize", &self.TargetReplicaSetSize) - .field("MinReplicaSetSize", &self.MinReplicaSetSize) - .field("HealthState", &self.HealthState) - .field("PartitionStatus", &self.PartitionStatus) - .field( - "LastQuorumLossDurationInSeconds", - &self.LastQuorumLossDurationInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.PartitionInformation == other.PartitionInformation - && self.TargetReplicaSetSize == other.TargetReplicaSetSize - && self.MinReplicaSetSize == other.MinReplicaSetSize - && self.HealthState == other.HealthState - && self.PartitionStatus == other.PartitionStatus - && self.LastQuorumLossDurationInSeconds == other.LastQuorumLossDurationInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - pub PrimaryEpoch: FABRIC_EPOCH, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1") - .field("PrimaryEpoch", &self.PrimaryEpoch) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PrimaryEpoch == other.PrimaryEpoch && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("HasPersistedState", &self.HasPersistedState) - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.HasPersistedState == other.HasPersistedState - && self.HealthState == other.HealthState - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - pub ServiceStatus: FABRIC_QUERY_SERVICE_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1") - .field("ServiceStatus", &self.ServiceStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServiceStatus == other.ServiceStatus && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2") - .field("IsServiceGroup", &self.IsServiceGroup) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsServiceGroup == other.IsServiceGroup && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH") - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT") - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - pub PartitionId: windows_core::GUID, - pub ReplicaId: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE {} -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE") - .field("PartitionId", &self.PartitionId) - .field("ReplicaId", &self.ReplicaId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.ReplicaId == other.ReplicaId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE {} -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - pub ReplicaId: i64, - pub ReplicaRole: FABRIC_REPLICA_ROLE, - pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub ReplicaAddress: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub LastInBuildDurationInSeconds: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM") - .field("ReplicaId", &self.ReplicaId) - .field("ReplicaRole", &self.ReplicaRole) - .field("ReplicaStatus", &self.ReplicaStatus) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("ReplicaAddress", &self.ReplicaAddress) - .field("NodeName", &self.NodeName) - .field( - "LastInBuildDurationInSeconds", - &self.LastInBuildDurationInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ReplicaId == other.ReplicaId - && self.ReplicaRole == other.ReplicaRole - && self.ReplicaStatus == other.ReplicaStatus - && self.AggregatedHealthState == other.AggregatedHealthState - && self.ReplicaAddress == other.ReplicaAddress - && self.NodeName == other.NodeName - && self.LastInBuildDurationInSeconds == other.LastInBuildDurationInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM {} -impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - pub ServiceTypeName: windows_core::PCWSTR, - pub PlacementConstraints: windows_core::PCWSTR, - pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, - pub Extensions: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST, - pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION") - .field("ServiceTypeName", &self.ServiceTypeName) - .field("PlacementConstraints", &self.PlacementConstraints) - .field("LoadMetrics", &self.LoadMetrics) - .field("Extensions", &self.Extensions) - .field("HasPersistedState", &self.HasPersistedState) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeName == other.ServiceTypeName - && self.PlacementConstraints == other.PlacementConstraints - && self.LoadMetrics == other.LoadMetrics - && self.Extensions == other.Extensions - && self.HasPersistedState == other.HasPersistedState - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1") - .field("PolicyList", &self.PolicyList) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PolicyList == other.PolicyList && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - pub Flags: u32, - pub TargetReplicaSetSize: i32, - pub ReplicaRestartWaitDurationSeconds: u32, - pub QuorumLossWaitDurationSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION") - .field("Flags", &self.Flags) - .field("TargetReplicaSetSize", &self.TargetReplicaSetSize) - .field( - "ReplicaRestartWaitDurationSeconds", - &self.ReplicaRestartWaitDurationSeconds, - ) - .field( - "QuorumLossWaitDurationSeconds", - &self.QuorumLossWaitDurationSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Flags == other.Flags - && self.TargetReplicaSetSize == other.TargetReplicaSetSize - && self.ReplicaRestartWaitDurationSeconds == other.ReplicaRestartWaitDurationSeconds - && self.QuorumLossWaitDurationSeconds == other.QuorumLossWaitDurationSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - pub StandByReplicaKeepDurationSeconds: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1") - .field( - "StandByReplicaKeepDurationSeconds", - &self.StandByReplicaKeepDurationSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.StandByReplicaKeepDurationSeconds == other.StandByReplicaKeepDurationSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - pub MinReplicaSetSize: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2") - .field("MinReplicaSetSize", &self.MinReplicaSetSize) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.MinReplicaSetSize == other.MinReplicaSetSize && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - pub PlacementConstraints: windows_core::PCWSTR, - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub CorrelationCount: u32, - pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, - pub MetricCount: u32, - pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3") - .field("PlacementConstraints", &self.PlacementConstraints) - .field("PolicyList", &self.PolicyList) - .field("CorrelationCount", &self.CorrelationCount) - .field("Correlations", &self.Correlations) - .field("MetricCount", &self.MetricCount) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.PlacementConstraints == other.PlacementConstraints - && self.PolicyList == other.PolicyList - && self.CorrelationCount == other.CorrelationCount - && self.Correlations == other.Correlations - && self.MetricCount == other.MetricCount - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - pub DefaultMoveCost: FABRIC_MOVE_COST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4") - .field("DefaultMoveCost", &self.DefaultMoveCost) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - fn eq(&self, other: &Self) -> bool { - self.DefaultMoveCost == other.DefaultMoveCost && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - pub RepartitionKind: FABRIC_SERVICE_PARTITION_KIND, - pub RepartitionDescription: *mut core::ffi::c_void, - pub ScalingPolicyCount: u32, - pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 {} -impl Clone for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5") - .field("RepartitionKind", &self.RepartitionKind) - .field("RepartitionDescription", &self.RepartitionDescription) - .field("ScalingPolicyCount", &self.ScalingPolicyCount) - .field("ServiceScalingPolicies", &self.ServiceScalingPolicies) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - fn eq(&self, other: &Self) -> bool { - self.RepartitionKind == other.RepartitionKind - && self.RepartitionDescription == other.RepartitionDescription - && self.ScalingPolicyCount == other.ScalingPolicyCount - && self.ServiceScalingPolicies == other.ServiceScalingPolicies - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 {} -impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION { - pub ApplicationName: FABRIC_URI, - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub InitializationDataSize: u32, - pub InitializationData: *mut u8, - pub PartitionScheme: FABRIC_PARTITION_SCHEME, - pub PartitionSchemeDescription: *mut core::ffi::c_void, - pub InstanceCount: i32, - pub PlacementConstraints: windows_core::PCWSTR, - pub CorrelationCount: u32, - pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, - pub MetricCount: u32, - pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_DESCRIPTION {} -impl Clone for FABRIC_STATELESS_SERVICE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_DESCRIPTION") - .field("ApplicationName", &self.ApplicationName) - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("InitializationDataSize", &self.InitializationDataSize) - .field("InitializationData", &self.InitializationData) - .field("PartitionScheme", &self.PartitionScheme) - .field( - "PartitionSchemeDescription", - &self.PartitionSchemeDescription, - ) - .field("InstanceCount", &self.InstanceCount) - .field("PlacementConstraints", &self.PlacementConstraints) - .field("CorrelationCount", &self.CorrelationCount) - .field("Correlations", &self.Correlations) - .field("MetricCount", &self.MetricCount) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationName == other.ApplicationName - && self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.InitializationDataSize == other.InitializationDataSize - && self.InitializationData == other.InitializationData - && self.PartitionScheme == other.PartitionScheme - && self.PartitionSchemeDescription == other.PartitionSchemeDescription - && self.InstanceCount == other.InstanceCount - && self.PlacementConstraints == other.PlacementConstraints - && self.CorrelationCount == other.CorrelationCount - && self.Correlations == other.Correlations - && self.MetricCount == other.MetricCount - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_DESCRIPTION {} -impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1") - .field("PolicyList", &self.PolicyList) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PolicyList == other.PolicyList && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - pub IsDefaultMoveCostSpecified: windows::Win32::Foundation::BOOLEAN, - pub DefaultMoveCost: FABRIC_MOVE_COST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2") - .field( - "IsDefaultMoveCostSpecified", - &self.IsDefaultMoveCostSpecified, - ) - .field("DefaultMoveCost", &self.DefaultMoveCost) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsDefaultMoveCostSpecified == other.IsDefaultMoveCostSpecified - && self.DefaultMoveCost == other.DefaultMoveCost - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, - pub ServiceDnsName: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 {} -impl Clone for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3") - .field( - "ServicePackageActivationMode", - &self.ServicePackageActivationMode, - ) - .field("ServiceDnsName", &self.ServiceDnsName) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.ServicePackageActivationMode == other.ServicePackageActivationMode - && self.ServiceDnsName == other.ServiceDnsName - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 {} -impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - pub ScalingPolicyCount: u32, - pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 {} -impl Clone for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4") - .field("ScalingPolicyCount", &self.ScalingPolicyCount) - .field("ServiceScalingPolicies", &self.ServiceScalingPolicies) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - fn eq(&self, other: &Self) -> bool { - self.ScalingPolicyCount == other.ScalingPolicyCount - && self.ServiceScalingPolicies == other.ServiceScalingPolicies - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 {} -impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - pub PartitionId: windows_core::GUID, - pub InstanceId: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH") - .field("PartitionId", &self.PartitionId) - .field("InstanceId", &self.InstanceId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("HealthEvents", &self.HealthEvents) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.InstanceId == other.InstanceId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.HealthEvents == other.HealthEvents - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - pub PartitionId: windows_core::GUID, - pub InstanceId: i64, - pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT") - .field("PartitionId", &self.PartitionId) - .field("InstanceId", &self.InstanceId) - .field("HealthInformation", &self.HealthInformation) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.InstanceId == other.InstanceId - && self.HealthInformation == other.HealthInformation - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - pub PartitionId: windows_core::GUID, - pub InstanceId: i64, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE {} -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE") - .field("PartitionId", &self.PartitionId) - .field("InstanceId", &self.InstanceId) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId - && self.InstanceId == other.InstanceId - && self.AggregatedHealthState == other.AggregatedHealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE {} -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1") - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - fn eq(&self, other: &Self) -> bool { - self.UnhealthyEvaluations == other.UnhealthyEvaluations && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - pub InstanceId: i64, - pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub ReplicaAddress: windows_core::PCWSTR, - pub NodeName: windows_core::PCWSTR, - pub LastInBuildDurationInSeconds: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM") - .field("InstanceId", &self.InstanceId) - .field("ReplicaStatus", &self.ReplicaStatus) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("ReplicaAddress", &self.ReplicaAddress) - .field("NodeName", &self.NodeName) - .field( - "LastInBuildDurationInSeconds", - &self.LastInBuildDurationInSeconds, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.InstanceId == other.InstanceId - && self.ReplicaStatus == other.ReplicaStatus - && self.AggregatedHealthState == other.AggregatedHealthState - && self.ReplicaAddress == other.ReplicaAddress - && self.NodeName == other.NodeName - && self.LastInBuildDurationInSeconds == other.LastInBuildDurationInSeconds - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - pub PartitionInformation: *const FABRIC_SERVICE_PARTITION_INFORMATION, - pub InstanceCount: u32, - pub HealthState: FABRIC_HEALTH_STATE, - pub PartitionStatus: FABRIC_QUERY_SERVICE_PARTITION_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM") - .field("PartitionInformation", &self.PartitionInformation) - .field("InstanceCount", &self.InstanceCount) - .field("HealthState", &self.HealthState) - .field("PartitionStatus", &self.PartitionStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.PartitionInformation == other.PartitionInformation - && self.InstanceCount == other.InstanceCount - && self.HealthState == other.HealthState - && self.PartitionStatus == other.PartitionStatus - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM {} -impl Default for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - pub ServiceName: FABRIC_URI, - pub ServiceTypeName: windows_core::PCWSTR, - pub ServiceManifestVersion: windows_core::PCWSTR, - pub HealthState: FABRIC_HEALTH_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM {} -impl Clone for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM") - .field("ServiceName", &self.ServiceName) - .field("ServiceTypeName", &self.ServiceTypeName) - .field("ServiceManifestVersion", &self.ServiceManifestVersion) - .field("HealthState", &self.HealthState) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.ServiceTypeName == other.ServiceTypeName - && self.ServiceManifestVersion == other.ServiceManifestVersion - && self.HealthState == other.HealthState - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM {} -impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - pub ServiceStatus: FABRIC_QUERY_SERVICE_STATUS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1") - .field("ServiceStatus", &self.ServiceStatus) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ServiceStatus == other.ServiceStatus && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2") - .field("IsServiceGroup", &self.IsServiceGroup) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn eq(&self, other: &Self) -> bool { - self.IsServiceGroup == other.IsServiceGroup && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - pub ServiceTypeName: windows_core::PCWSTR, - pub PlacementConstraints: windows_core::PCWSTR, - pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, - pub Extensions: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST, - pub UseImplicitHost: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION") - .field("ServiceTypeName", &self.ServiceTypeName) - .field("PlacementConstraints", &self.PlacementConstraints) - .field("LoadMetrics", &self.LoadMetrics) - .field("Extensions", &self.Extensions) - .field("UseImplicitHost", &self.UseImplicitHost) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceTypeName == other.ServiceTypeName - && self.PlacementConstraints == other.PlacementConstraints - && self.LoadMetrics == other.LoadMetrics - && self.Extensions == other.Extensions - && self.UseImplicitHost == other.UseImplicitHost - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1") - .field("PolicyList", &self.PolicyList) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PolicyList == other.PolicyList && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - pub Flags: u32, - pub InstanceCount: i32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION") - .field("Flags", &self.Flags) - .field("InstanceCount", &self.InstanceCount) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Flags == other.Flags - && self.InstanceCount == other.InstanceCount - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION {} -impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - pub PlacementConstraints: windows_core::PCWSTR, - pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, - pub CorrelationCount: u32, - pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, - pub MetricCount: u32, - pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 {} -impl Clone for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1") - .field("PlacementConstraints", &self.PlacementConstraints) - .field("PolicyList", &self.PolicyList) - .field("CorrelationCount", &self.CorrelationCount) - .field("Correlations", &self.Correlations) - .field("MetricCount", &self.MetricCount) - .field("Metrics", &self.Metrics) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.PlacementConstraints == other.PlacementConstraints - && self.PolicyList == other.PolicyList - && self.CorrelationCount == other.CorrelationCount - && self.Correlations == other.Correlations - && self.MetricCount == other.MetricCount - && self.Metrics == other.Metrics - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 {} -impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - pub DefaultMoveCost: FABRIC_MOVE_COST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 {} -impl Clone for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2") - .field("DefaultMoveCost", &self.DefaultMoveCost) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.DefaultMoveCost == other.DefaultMoveCost && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 {} -impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - pub RepartitionKind: FABRIC_SERVICE_PARTITION_KIND, - pub RepartitionDescription: *mut core::ffi::c_void, - pub ScalingPolicyCount: u32, - pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 {} -impl Clone for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3") - .field("RepartitionKind", &self.RepartitionKind) - .field("RepartitionDescription", &self.RepartitionDescription) - .field("ScalingPolicyCount", &self.ScalingPolicyCount) - .field("ServiceScalingPolicies", &self.ServiceScalingPolicies) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn eq(&self, other: &Self) -> bool { - self.RepartitionKind == other.RepartitionKind - && self.RepartitionDescription == other.RepartitionDescription - && self.ScalingPolicyCount == other.ScalingPolicyCount - && self.ServiceScalingPolicies == other.ServiceScalingPolicies - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 {} -impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_STOPPED_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub Reason: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_STOPPED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_STOPPED_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_STOPPED_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STOPPED_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("Reason", &self.Reason) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_STOPPED_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_STOPPED_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.Reason == other.Reason - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_STOPPED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_STOPPED_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STOP_NODE_DESCRIPTION { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STOP_NODE_DESCRIPTION {} -impl Clone for FABRIC_STOP_NODE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STOP_NODE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STOP_NODE_DESCRIPTION") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STOP_NODE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STOP_NODE_DESCRIPTION {} -impl Default for FABRIC_STOP_NODE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STOP_NODE_DESCRIPTION2 { - pub Kind: FABRIC_STOP_NODE_DESCRIPTION_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STOP_NODE_DESCRIPTION2 {} -impl Clone for FABRIC_STOP_NODE_DESCRIPTION2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STOP_NODE_DESCRIPTION2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STOP_NODE_DESCRIPTION2") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STOP_NODE_DESCRIPTION2 { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_STOP_NODE_DESCRIPTION2 {} -impl Default for FABRIC_STOP_NODE_DESCRIPTION2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - pub NodeName: windows_core::PCWSTR, - pub NodeInstanceId: u64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME {} -impl Clone for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME") - .field("NodeName", &self.NodeName) - .field("NodeInstanceId", &self.NodeInstanceId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - fn eq(&self, other: &Self) -> bool { - self.NodeName == other.NodeName - && self.NodeInstanceId == other.NodeInstanceId - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME {} -impl Default for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STOP_NODE_STATUS { - pub NodeResult: *mut FABRIC_NODE_RESULT, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STOP_NODE_STATUS {} -impl Clone for FABRIC_STOP_NODE_STATUS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STOP_NODE_STATUS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STOP_NODE_STATUS") - .field("NodeResult", &self.NodeResult) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STOP_NODE_STATUS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STOP_NODE_STATUS { - fn eq(&self, other: &Self) -> bool { - self.NodeResult == other.NodeResult && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STOP_NODE_STATUS {} -impl Default for FABRIC_STOP_NODE_STATUS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STORE_BACKUP_INFO { - pub BackupFolder: windows_core::PCWSTR, - pub BackupOption: FABRIC_STORE_BACKUP_OPTION, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STORE_BACKUP_INFO {} -impl Clone for FABRIC_STORE_BACKUP_INFO { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STORE_BACKUP_INFO { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STORE_BACKUP_INFO") - .field("BackupFolder", &self.BackupFolder) - .field("BackupOption", &self.BackupOption) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STORE_BACKUP_INFO { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STORE_BACKUP_INFO { - fn eq(&self, other: &Self) -> bool { - self.BackupFolder == other.BackupFolder - && self.BackupOption == other.BackupOption - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STORE_BACKUP_INFO {} -impl Default for FABRIC_STORE_BACKUP_INFO { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STORE_BACKUP_INFO_EX1 { - pub BackupChainId: windows_core::GUID, - pub BackupIndex: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_STORE_BACKUP_INFO_EX1 {} -impl Clone for FABRIC_STORE_BACKUP_INFO_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STORE_BACKUP_INFO_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STORE_BACKUP_INFO_EX1") - .field("BackupChainId", &self.BackupChainId) - .field("BackupIndex", &self.BackupIndex) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STORE_BACKUP_INFO_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STORE_BACKUP_INFO_EX1 { - fn eq(&self, other: &Self) -> bool { - self.BackupChainId == other.BackupChainId - && self.BackupIndex == other.BackupIndex - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_STORE_BACKUP_INFO_EX1 {} -impl Default for FABRIC_STORE_BACKUP_INFO_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STRING_LIST { - pub Count: u32, - pub Items: *const windows_core::PCWSTR, -} -impl Copy for FABRIC_STRING_LIST {} -impl Clone for FABRIC_STRING_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STRING_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STRING_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STRING_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STRING_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_STRING_LIST {} -impl Default for FABRIC_STRING_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_STRING_MAP { - pub Count: u32, - pub Items: *const FABRIC_APPLICATION_PARAMETER, -} -impl Copy for FABRIC_STRING_MAP {} -impl Clone for FABRIC_STRING_MAP { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_STRING_MAP { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_STRING_MAP") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_STRING_MAP { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_STRING_MAP { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_STRING_MAP {} -impl Default for FABRIC_STRING_MAP { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION {} -impl Clone for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION {} -impl Default for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - pub SystemServiceNameFilter: FABRIC_URI, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION {} -impl Clone for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION") - .field("SystemServiceNameFilter", &self.SystemServiceNameFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.SystemServiceNameFilter == other.SystemServiceNameFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION {} -impl Default for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - pub TestCommandStateFilter: FABRIC_TEST_COMMAND_STATE_FILTER, - pub TestCommandTypeFilter: FABRIC_TEST_COMMAND_TYPE_FILTER, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_TEST_COMMAND_LIST_DESCRIPTION {} -impl Clone for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_TEST_COMMAND_LIST_DESCRIPTION") - .field("TestCommandStateFilter", &self.TestCommandStateFilter) - .field("TestCommandTypeFilter", &self.TestCommandTypeFilter) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.TestCommandStateFilter == other.TestCommandStateFilter - && self.TestCommandTypeFilter == other.TestCommandTypeFilter - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_TEST_COMMAND_LIST_DESCRIPTION {} -impl Default for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_TEST_ERROR_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub Reason: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_TEST_ERROR_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_TEST_ERROR_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_TEST_ERROR_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_TEST_ERROR_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("Reason", &self.Reason) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_TEST_ERROR_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_TEST_ERROR_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.Reason == other.Reason - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_TEST_ERROR_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_TEST_ERROR_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - pub PartitionCount: i32, - pub LowKey: i64, - pub HighKey: i64, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION {} -impl Clone for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION") - .field("PartitionCount", &self.PartitionCount) - .field("LowKey", &self.LowKey) - .field("HighKey", &self.HighKey) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.PartitionCount == other.PartitionCount - && self.LowKey == other.LowKey - && self.HighKey == other.HighKey - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION {} -impl Default for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UNPLACED_REPLICA_INFORMATION { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub UnplacedReplicaReasons: *const FABRIC_STRING_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UNPLACED_REPLICA_INFORMATION {} -impl Clone for FABRIC_UNPLACED_REPLICA_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UNPLACED_REPLICA_INFORMATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UNPLACED_REPLICA_INFORMATION") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("UnplacedReplicaReasons", &self.UnplacedReplicaReasons) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UNPLACED_REPLICA_INFORMATION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.UnplacedReplicaReasons == other.UnplacedReplicaReasons - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UNPLACED_REPLICA_INFORMATION {} -impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - pub Count: u32, - pub Items: *const windows_core::PCWSTR, -} -impl Copy for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST {} -impl Clone for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UNPLACED_REPLICA_INFORMATION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST {} -impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - pub ServiceName: FABRIC_URI, - pub PartitionId: windows_core::GUID, - pub OnlyQueryPrimaries: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION") - .field("ServiceName", &self.ServiceName) - .field("PartitionId", &self.PartitionId) - .field("OnlyQueryPrimaries", &self.OnlyQueryPrimaries) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ServiceName == other.ServiceName - && self.PartitionId == other.PartitionId - && self.OnlyQueryPrimaries == other.OnlyQueryPrimaries - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - pub ApplicationTypeName: windows_core::PCWSTR, - pub ApplicationTypeVersion: windows_core::PCWSTR, - pub Async: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION") - .field("ApplicationTypeName", &self.ApplicationTypeName) - .field("ApplicationTypeVersion", &self.ApplicationTypeVersion) - .field("Async", &self.Async) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeName == other.ApplicationTypeName - && self.ApplicationTypeVersion == other.ApplicationTypeVersion - && self.Async == other.Async - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DESCRIPTION { - pub CodeVersion: windows_core::PCWSTR, - pub ConfigVersion: windows_core::PCWSTR, - pub UpgradeKind: FABRIC_UPGRADE_KIND, - pub UpgradePolicyDescription: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DESCRIPTION {} -impl Clone for FABRIC_UPGRADE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DESCRIPTION") - .field("CodeVersion", &self.CodeVersion) - .field("ConfigVersion", &self.ConfigVersion) - .field("UpgradeKind", &self.UpgradeKind) - .field("UpgradePolicyDescription", &self.UpgradePolicyDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.CodeVersion == other.CodeVersion - && self.ConfigVersion == other.ConfigVersion - && self.UpgradeKind == other.UpgradeKind - && self.UpgradePolicyDescription == other.UpgradePolicyDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DESCRIPTION {} -impl Default for FABRIC_UPGRADE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UpgradeDomainName: windows_core::PCWSTR, - pub BaselineErrorCount: u32, - pub BaselineTotalCount: u32, - pub TotalCount: u32, - pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION {} -impl Clone for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UpgradeDomainName", &self.UpgradeDomainName) - .field("BaselineErrorCount", &self.BaselineErrorCount) - .field("BaselineTotalCount", &self.BaselineTotalCount) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUpgradeDomainDeltaUnhealthyNodes", - &self.MaxPercentUpgradeDomainDeltaUnhealthyNodes, - ) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UpgradeDomainName == other.UpgradeDomainName - && self.BaselineErrorCount == other.BaselineErrorCount - && self.BaselineTotalCount == other.BaselineTotalCount - && self.TotalCount == other.TotalCount - && self.MaxPercentUpgradeDomainDeltaUnhealthyNodes - == other.MaxPercentUpgradeDomainDeltaUnhealthyNodes - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION {} -impl Default for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UpgradeDomainName: windows_core::PCWSTR, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyDeployedApplications: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION {} -impl Clone for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UpgradeDomainName", &self.UpgradeDomainName) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field( - "MaxPercentUnhealthyDeployedApplications", - &self.MaxPercentUnhealthyDeployedApplications, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UpgradeDomainName == other.UpgradeDomainName - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyDeployedApplications - == other.MaxPercentUnhealthyDeployedApplications - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION {} -impl Default for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - pub Description: windows_core::PCWSTR, - pub AggregatedHealthState: FABRIC_HEALTH_STATE, - pub UpgradeDomainName: windows_core::PCWSTR, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub TotalCount: u32, - pub MaxPercentUnhealthyNodes: u8, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION {} -impl Clone for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION") - .field("Description", &self.Description) - .field("AggregatedHealthState", &self.AggregatedHealthState) - .field("UpgradeDomainName", &self.UpgradeDomainName) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field("TotalCount", &self.TotalCount) - .field("MaxPercentUnhealthyNodes", &self.MaxPercentUnhealthyNodes) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - fn eq(&self, other: &Self) -> bool { - self.Description == other.Description - && self.AggregatedHealthState == other.AggregatedHealthState - && self.UpgradeDomainName == other.UpgradeDomainName - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.TotalCount == other.TotalCount - && self.MaxPercentUnhealthyNodes == other.MaxPercentUnhealthyNodes - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION {} -impl Default for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_PROGRESS { - pub UpgradeDomainName: windows_core::PCWSTR, - pub NodeProgressList: *mut FABRIC_NODE_UPGRADE_PROGRESS_LIST, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_PROGRESS {} -impl Clone for FABRIC_UPGRADE_DOMAIN_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_PROGRESS") - .field("UpgradeDomainName", &self.UpgradeDomainName) - .field("NodeProgressList", &self.NodeProgressList) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.UpgradeDomainName == other.UpgradeDomainName - && self.NodeProgressList == other.NodeProgressList - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_PROGRESS {} -impl Default for FABRIC_UPGRADE_DOMAIN_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - pub Name: windows_core::PCWSTR, - pub State: FABRIC_UPGRADE_DOMAIN_STATE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION {} -impl Clone for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION") - .field("Name", &self.Name) - .field("State", &self.State) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name && self.State == other.State && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION {} -impl Default for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - pub Count: u32, - pub Items: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, -} -impl Copy for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST {} -impl Clone for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST {} -impl Default for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - pub CurrentCodeVersion: windows_core::PCWSTR, - pub CurrentManifestVersion: windows_core::PCWSTR, - pub TargetCodeVersion: windows_core::PCWSTR, - pub TargetManifestVersion: windows_core::PCWSTR, - pub PendingUpgradeType: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE {} -impl Clone for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE") - .field("CurrentCodeVersion", &self.CurrentCodeVersion) - .field("CurrentManifestVersion", &self.CurrentManifestVersion) - .field("TargetCodeVersion", &self.TargetCodeVersion) - .field("TargetManifestVersion", &self.TargetManifestVersion) - .field("PendingUpgradeType", &self.PendingUpgradeType) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - fn eq(&self, other: &Self) -> bool { - self.CurrentCodeVersion == other.CurrentCodeVersion - && self.CurrentManifestVersion == other.CurrentManifestVersion - && self.TargetCodeVersion == other.TargetCodeVersion - && self.TargetManifestVersion == other.TargetManifestVersion - && self.PendingUpgradeType == other.PendingUpgradeType - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE {} -impl Default for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - pub PartitionId: windows_core::GUID, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK {} -impl Clone for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_PARTITION_SAFETY_CHECK") - .field("PartitionId", &self.PartitionId) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.PartitionId == other.PartitionId && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK {} -impl Default for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_PROGRESS { - pub UpgradeDescription: *const FABRIC_UPGRADE_DESCRIPTION, - pub UpgradeState: FABRIC_UPGRADE_STATE, - pub UpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, - pub NextUpgradeDomain: windows_core::PCWSTR, - pub UpgradeDomains: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST, - pub UpgradeDurationInSeconds: u32, - pub CurrentUpgradeDomainDurationInSeconds: u32, - pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, - pub CurrentUpgradeDomainProgress: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_PROGRESS {} -impl Clone for FABRIC_UPGRADE_PROGRESS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_PROGRESS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_PROGRESS") - .field("UpgradeDescription", &self.UpgradeDescription) - .field("UpgradeState", &self.UpgradeState) - .field("UpgradeMode", &self.UpgradeMode) - .field("NextUpgradeDomain", &self.NextUpgradeDomain) - .field("UpgradeDomains", &self.UpgradeDomains) - .field("UpgradeDurationInSeconds", &self.UpgradeDurationInSeconds) - .field( - "CurrentUpgradeDomainDurationInSeconds", - &self.CurrentUpgradeDomainDurationInSeconds, - ) - .field("UnhealthyEvaluations", &self.UnhealthyEvaluations) - .field( - "CurrentUpgradeDomainProgress", - &self.CurrentUpgradeDomainProgress, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_PROGRESS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_PROGRESS { - fn eq(&self, other: &Self) -> bool { - self.UpgradeDescription == other.UpgradeDescription - && self.UpgradeState == other.UpgradeState - && self.UpgradeMode == other.UpgradeMode - && self.NextUpgradeDomain == other.NextUpgradeDomain - && self.UpgradeDomains == other.UpgradeDomains - && self.UpgradeDurationInSeconds == other.UpgradeDurationInSeconds - && self.CurrentUpgradeDomainDurationInSeconds - == other.CurrentUpgradeDomainDurationInSeconds - && self.UnhealthyEvaluations == other.UnhealthyEvaluations - && self.CurrentUpgradeDomainProgress == other.CurrentUpgradeDomainProgress - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_PROGRESS {} -impl Default for FABRIC_UPGRADE_PROGRESS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_UPGRADE_PROGRESS_EX1 { - pub StartTimestampUtc: windows::Win32::Foundation::FILETIME, - pub FailureTimestampUtc: windows::Win32::Foundation::FILETIME, - pub FailureReason: FABRIC_UPGRADE_FAILURE_REASON, - pub UpgradeDomainProgressAtFailure: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_UPGRADE_PROGRESS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_UPGRADE_PROGRESS_EX1 { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_UPGRADE_PROGRESS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_PROGRESS_EX1") - .field("StartTimestampUtc", &self.StartTimestampUtc) - .field("FailureTimestampUtc", &self.FailureTimestampUtc) - .field("FailureReason", &self.FailureReason) - .field( - "UpgradeDomainProgressAtFailure", - &self.UpgradeDomainProgressAtFailure, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_UPGRADE_PROGRESS_EX1 { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_UPGRADE_PROGRESS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.StartTimestampUtc == other.StartTimestampUtc - && self.FailureTimestampUtc == other.FailureTimestampUtc - && self.FailureReason == other.FailureReason - && self.UpgradeDomainProgressAtFailure == other.UpgradeDomainProgressAtFailure - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_UPGRADE_PROGRESS_EX1 {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_UPGRADE_PROGRESS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_SAFETY_CHECK { - pub Kind: FABRIC_UPGRADE_SAFETY_CHECK_KIND, - pub Value: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_SAFETY_CHECK {} -impl Clone for FABRIC_UPGRADE_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_SAFETY_CHECK") - .field("Kind", &self.Kind) - .field("Value", &self.Value) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.Kind == other.Kind && self.Value == other.Value - } -} -impl Eq for FABRIC_UPGRADE_SAFETY_CHECK {} -impl Default for FABRIC_UPGRADE_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_SAFETY_CHECK_LIST { - pub Count: u32, - pub Items: *const FABRIC_UPGRADE_SAFETY_CHECK, -} -impl Copy for FABRIC_UPGRADE_SAFETY_CHECK_LIST {} -impl Clone for FABRIC_UPGRADE_SAFETY_CHECK_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_SAFETY_CHECK_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_SAFETY_CHECK_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_SAFETY_CHECK_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for FABRIC_UPGRADE_SAFETY_CHECK_LIST {} -impl Default for FABRIC_UPGRADE_SAFETY_CHECK_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK {} -impl Clone for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK") - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - fn eq(&self, other: &Self) -> bool { - self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK {} -impl Default for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_UPGRADE_UPDATE_DESCRIPTION { - pub UpgradeKind: FABRIC_UPGRADE_KIND, - pub UpdateFlags: u32, - pub UpgradePolicyDescription: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_UPGRADE_UPDATE_DESCRIPTION {} -impl Clone for FABRIC_UPGRADE_UPDATE_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_UPGRADE_UPDATE_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_UPGRADE_UPDATE_DESCRIPTION") - .field("UpgradeKind", &self.UpgradeKind) - .field("UpdateFlags", &self.UpdateFlags) - .field("UpgradePolicyDescription", &self.UpgradePolicyDescription) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_UPGRADE_UPDATE_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_UPGRADE_UPDATE_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.UpgradeKind == other.UpgradeKind - && self.UpdateFlags == other.UpdateFlags - && self.UpgradePolicyDescription == other.UpgradePolicyDescription - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_UPGRADE_UPDATE_DESCRIPTION {} -impl Default for FABRIC_UPGRADE_UPDATE_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(transparent)] -#[derive(PartialEq, Eq)] -pub struct FABRIC_URI(pub *mut u16); -impl FABRIC_URI { - pub fn is_invalid(&self) -> bool { - self.0.is_null() - } -} -impl Default for FABRIC_URI { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -impl Clone for FABRIC_URI { - fn clone(&self) -> Self { - *self - } -} -impl Copy for FABRIC_URI {} -impl core::fmt::Debug for FABRIC_URI { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_tuple("FABRIC_URI").field(&self.0).finish() - } -} -impl windows_core::TypeKind for FABRIC_URI { - type TypeKind = windows_core::CopyType; -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_VALIDATION_FAILED_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub Reason: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_VALIDATION_FAILED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_VALIDATION_FAILED_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_VALIDATION_FAILED_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_VALIDATION_FAILED_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("Reason", &self.Reason) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_VALIDATION_FAILED_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_VALIDATION_FAILED_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.Reason == other.Reason - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_VALIDATION_FAILED_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_VALIDATION_FAILED_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct FABRIC_WAITING_EVENT { - pub TimeStampUtc: windows::Win32::Foundation::FILETIME, - pub Reason: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for FABRIC_WAITING_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for FABRIC_WAITING_EVENT { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for FABRIC_WAITING_EVENT { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_WAITING_EVENT") - .field("TimeStampUtc", &self.TimeStampUtc) - .field("Reason", &self.Reason) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for FABRIC_WAITING_EVENT { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for FABRIC_WAITING_EVENT { - fn eq(&self, other: &Self) -> bool { - self.TimeStampUtc == other.TimeStampUtc - && self.Reason == other.Reason - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for FABRIC_WAITING_EVENT {} -#[cfg(feature = "Win32_Foundation")] -impl Default for FABRIC_WAITING_EVENT { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_WINDOWS_CREDENTIALS { - pub RemoteSpn: windows_core::PCWSTR, - pub RemoteIdentityCount: u32, - pub RemoteIdentities: *const windows_core::PCWSTR, - pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_WINDOWS_CREDENTIALS {} -impl Clone for FABRIC_WINDOWS_CREDENTIALS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_WINDOWS_CREDENTIALS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_WINDOWS_CREDENTIALS") - .field("RemoteSpn", &self.RemoteSpn) - .field("RemoteIdentityCount", &self.RemoteIdentityCount) - .field("RemoteIdentities", &self.RemoteIdentities) - .field("ProtectionLevel", &self.ProtectionLevel) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_WINDOWS_CREDENTIALS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_WINDOWS_CREDENTIALS { - fn eq(&self, other: &Self) -> bool { - self.RemoteSpn == other.RemoteSpn - && self.RemoteIdentityCount == other.RemoteIdentityCount - && self.RemoteIdentities == other.RemoteIdentities - && self.ProtectionLevel == other.ProtectionLevel - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_WINDOWS_CREDENTIALS {} -impl Default for FABRIC_WINDOWS_CREDENTIALS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_CREDENTIALS { - pub AllowedCommonNameCount: u32, - pub AllowedCommonNames: *const windows_core::PCWSTR, - pub FindType: FABRIC_X509_FIND_TYPE, - pub FindValue: *mut core::ffi::c_void, - pub StoreLocation: FABRIC_X509_STORE_LOCATION, - pub StoreName: windows_core::PCWSTR, - pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_CREDENTIALS {} -impl Clone for FABRIC_X509_CREDENTIALS { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_CREDENTIALS { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_CREDENTIALS") - .field("AllowedCommonNameCount", &self.AllowedCommonNameCount) - .field("AllowedCommonNames", &self.AllowedCommonNames) - .field("FindType", &self.FindType) - .field("FindValue", &self.FindValue) - .field("StoreLocation", &self.StoreLocation) - .field("StoreName", &self.StoreName) - .field("ProtectionLevel", &self.ProtectionLevel) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_CREDENTIALS { - fn eq(&self, other: &Self) -> bool { - self.AllowedCommonNameCount == other.AllowedCommonNameCount - && self.AllowedCommonNames == other.AllowedCommonNames - && self.FindType == other.FindType - && self.FindValue == other.FindValue - && self.StoreLocation == other.StoreLocation - && self.StoreName == other.StoreName - && self.ProtectionLevel == other.ProtectionLevel - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_CREDENTIALS {} -impl Default for FABRIC_X509_CREDENTIALS { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_CREDENTIALS2 { - pub CertLoadPath: windows_core::PCWSTR, - pub RemoteCertThumbprintCount: u32, - pub RemoteCertThumbprints: *const windows_core::PCWSTR, - pub RemoteX509NameCount: u32, - pub RemoteX509Names: *mut FABRIC_X509_NAME, - pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_CREDENTIALS2 {} -impl Clone for FABRIC_X509_CREDENTIALS2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_CREDENTIALS2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_CREDENTIALS2") - .field("CertLoadPath", &self.CertLoadPath) - .field("RemoteCertThumbprintCount", &self.RemoteCertThumbprintCount) - .field("RemoteCertThumbprints", &self.RemoteCertThumbprints) - .field("RemoteX509NameCount", &self.RemoteX509NameCount) - .field("RemoteX509Names", &self.RemoteX509Names) - .field("ProtectionLevel", &self.ProtectionLevel) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_CREDENTIALS2 { - fn eq(&self, other: &Self) -> bool { - self.CertLoadPath == other.CertLoadPath - && self.RemoteCertThumbprintCount == other.RemoteCertThumbprintCount - && self.RemoteCertThumbprints == other.RemoteCertThumbprints - && self.RemoteX509NameCount == other.RemoteX509NameCount - && self.RemoteX509Names == other.RemoteX509Names - && self.ProtectionLevel == other.ProtectionLevel - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_CREDENTIALS2 {} -impl Default for FABRIC_X509_CREDENTIALS2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_CREDENTIALS_EX1 { - pub IssuerThumbprintCount: u32, - pub IssuerThumbprints: *const windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_CREDENTIALS_EX1 {} -impl Clone for FABRIC_X509_CREDENTIALS_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_CREDENTIALS_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_CREDENTIALS_EX1") - .field("IssuerThumbprintCount", &self.IssuerThumbprintCount) - .field("IssuerThumbprints", &self.IssuerThumbprints) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_CREDENTIALS_EX1 { - fn eq(&self, other: &Self) -> bool { - self.IssuerThumbprintCount == other.IssuerThumbprintCount - && self.IssuerThumbprints == other.IssuerThumbprints - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_CREDENTIALS_EX1 {} -impl Default for FABRIC_X509_CREDENTIALS_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_CREDENTIALS_EX2 { - pub RemoteCertThumbprintCount: u32, - pub RemoteCertThumbprints: *const windows_core::PCWSTR, - pub RemoteX509NameCount: u32, - pub RemoteX509Names: *mut FABRIC_X509_NAME, - pub FindValueSecondary: *mut core::ffi::c_void, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_CREDENTIALS_EX2 {} -impl Clone for FABRIC_X509_CREDENTIALS_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_CREDENTIALS_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_CREDENTIALS_EX2") - .field("RemoteCertThumbprintCount", &self.RemoteCertThumbprintCount) - .field("RemoteCertThumbprints", &self.RemoteCertThumbprints) - .field("RemoteX509NameCount", &self.RemoteX509NameCount) - .field("RemoteX509Names", &self.RemoteX509Names) - .field("FindValueSecondary", &self.FindValueSecondary) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_CREDENTIALS_EX2 { - fn eq(&self, other: &Self) -> bool { - self.RemoteCertThumbprintCount == other.RemoteCertThumbprintCount - && self.RemoteCertThumbprints == other.RemoteCertThumbprints - && self.RemoteX509NameCount == other.RemoteX509NameCount - && self.RemoteX509Names == other.RemoteX509Names - && self.FindValueSecondary == other.FindValueSecondary - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_CREDENTIALS_EX2 {} -impl Default for FABRIC_X509_CREDENTIALS_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_CREDENTIALS_EX3 { - pub RemoteCertIssuerCount: u32, - pub RemoteCertIssuers: *mut FABRIC_X509_ISSUER_NAME, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_CREDENTIALS_EX3 {} -impl Clone for FABRIC_X509_CREDENTIALS_EX3 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_CREDENTIALS_EX3 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_CREDENTIALS_EX3") - .field("RemoteCertIssuerCount", &self.RemoteCertIssuerCount) - .field("RemoteCertIssuers", &self.RemoteCertIssuers) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX3 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_CREDENTIALS_EX3 { - fn eq(&self, other: &Self) -> bool { - self.RemoteCertIssuerCount == other.RemoteCertIssuerCount - && self.RemoteCertIssuers == other.RemoteCertIssuers - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_CREDENTIALS_EX3 {} -impl Default for FABRIC_X509_CREDENTIALS_EX3 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_ISSUER_NAME { - pub Name: windows_core::PCWSTR, - pub IssuerStoreCount: u32, - pub IssuerStores: *const windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_ISSUER_NAME {} -impl Clone for FABRIC_X509_ISSUER_NAME { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_ISSUER_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_ISSUER_NAME") - .field("Name", &self.Name) - .field("IssuerStoreCount", &self.IssuerStoreCount) - .field("IssuerStores", &self.IssuerStores) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_ISSUER_NAME { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_ISSUER_NAME { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.IssuerStoreCount == other.IssuerStoreCount - && self.IssuerStores == other.IssuerStores - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_ISSUER_NAME {} -impl Default for FABRIC_X509_ISSUER_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct FABRIC_X509_NAME { - pub Name: windows_core::PCWSTR, - pub IssuerCertThumbprint: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for FABRIC_X509_NAME {} -impl Clone for FABRIC_X509_NAME { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for FABRIC_X509_NAME { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("FABRIC_X509_NAME") - .field("Name", &self.Name) - .field("IssuerCertThumbprint", &self.IssuerCertThumbprint) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for FABRIC_X509_NAME { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for FABRIC_X509_NAME { - fn eq(&self, other: &Self) -> bool { - self.Name == other.Name - && self.IssuerCertThumbprint == other.IssuerCertThumbprint - && self.Reserved == other.Reserved - } -} -impl Eq for FABRIC_X509_NAME {} -impl Default for FABRIC_X509_NAME { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - pub ApplicationTypeNameFilter: windows_core::PCWSTR, - pub MaxResults: i32, - pub ContinuationToken: windows_core::PCWSTR, - pub ExcludeApplicationParameters: windows::Win32::Foundation::BOOLEAN, - pub Reserved: *mut core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl Copy for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Clone for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn clone(&self) -> Self { - *self - } -} -#[cfg(feature = "Win32_Foundation")] -impl core::fmt::Debug for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION") - .field("ApplicationTypeNameFilter", &self.ApplicationTypeNameFilter) - .field("MaxResults", &self.MaxResults) - .field("ContinuationToken", &self.ContinuationToken) - .field( - "ExcludeApplicationParameters", - &self.ExcludeApplicationParameters, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -#[cfg(feature = "Win32_Foundation")] -impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - type TypeKind = windows_core::CopyType; -} -#[cfg(feature = "Win32_Foundation")] -impl PartialEq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeNameFilter == other.ApplicationTypeNameFilter - && self.MaxResults == other.MaxResults - && self.ContinuationToken == other.ContinuationToken - && self.ExcludeApplicationParameters == other.ExcludeApplicationParameters - && self.Reserved == other.Reserved - } -} -#[cfg(feature = "Win32_Foundation")] -impl Eq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION {} -#[cfg(feature = "Win32_Foundation")] -impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - pub ApplicationTypeVersionFilter: windows_core::PCWSTR, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 {} -impl Clone for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1") - .field( - "ApplicationTypeVersionFilter", - &self.ApplicationTypeVersionFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeVersionFilter == other.ApplicationTypeVersionFilter - && self.Reserved == other.Reserved - } -} -impl Eq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 {} -impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - pub ApplicationTypeDefinitionKindFilter: u32, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 {} -impl Clone for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2") - .field( - "ApplicationTypeDefinitionKindFilter", - &self.ApplicationTypeDefinitionKindFilter, - ) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - fn eq(&self, other: &Self) -> bool { - self.ApplicationTypeDefinitionKindFilter == other.ApplicationTypeDefinitionKindFilter - && self.Reserved == other.Reserved - } -} -impl Eq for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 {} -impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct TEST_COMMAND_QUERY_RESULT_ITEM { - pub OperationId: windows_core::GUID, - pub TestCommandState: FABRIC_TEST_COMMAND_PROGRESS_STATE, - pub TestCommandType: FABRIC_TEST_COMMAND_TYPE, - pub Reserved: *mut core::ffi::c_void, -} -impl Copy for TEST_COMMAND_QUERY_RESULT_ITEM {} -impl Clone for TEST_COMMAND_QUERY_RESULT_ITEM { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for TEST_COMMAND_QUERY_RESULT_ITEM { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("TEST_COMMAND_QUERY_RESULT_ITEM") - .field("OperationId", &self.OperationId) - .field("TestCommandState", &self.TestCommandState) - .field("TestCommandType", &self.TestCommandType) - .field("Reserved", &self.Reserved) - .finish() - } -} -impl windows_core::TypeKind for TEST_COMMAND_QUERY_RESULT_ITEM { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for TEST_COMMAND_QUERY_RESULT_ITEM { - fn eq(&self, other: &Self) -> bool { - self.OperationId == other.OperationId - && self.TestCommandState == other.TestCommandState - && self.TestCommandType == other.TestCommandType - && self.Reserved == other.Reserved - } -} -impl Eq for TEST_COMMAND_QUERY_RESULT_ITEM {} -impl Default for TEST_COMMAND_QUERY_RESULT_ITEM { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} -#[repr(C)] -pub struct TEST_COMMAND_QUERY_RESULT_LIST { - pub Count: u32, - pub Items: *mut core::ffi::c_void, -} -impl Copy for TEST_COMMAND_QUERY_RESULT_LIST {} -impl Clone for TEST_COMMAND_QUERY_RESULT_LIST { - fn clone(&self) -> Self { - *self - } -} -impl core::fmt::Debug for TEST_COMMAND_QUERY_RESULT_LIST { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - f.debug_struct("TEST_COMMAND_QUERY_RESULT_LIST") - .field("Count", &self.Count) - .field("Items", &self.Items) - .finish() - } -} -impl windows_core::TypeKind for TEST_COMMAND_QUERY_RESULT_LIST { - type TypeKind = windows_core::CopyType; -} -impl PartialEq for TEST_COMMAND_QUERY_RESULT_LIST { - fn eq(&self, other: &Self) -> bool { - self.Count == other.Count && self.Items == other.Items - } -} -impl Eq for TEST_COMMAND_QUERY_RESULT_LIST {} -impl Default for TEST_COMMAND_QUERY_RESULT_LIST { - fn default() -> Self { - unsafe { core::mem::zeroed() } - } -} diff --git a/crates/libs/com/src/Microsoft/mod.rs b/crates/libs/com/src/Microsoft/mod.rs deleted file mode 100644 index 76e46220..00000000 --- a/crates/libs/com/src/Microsoft/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.56.0 - -#[cfg(feature = "ServiceFabric")] -pub mod ServiceFabric; diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/impl.rs b/crates/libs/com/src/ServiceFabric/FabricClient.rs similarity index 59% rename from crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/impl.rs rename to crates/libs/com/src/ServiceFabric/FabricClient.rs index 2084ae43..ae38c79c 100644 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricClient/impl.rs +++ b/crates/libs/com/src/ServiceFabric/FabricClient.rs @@ -1,12 +1,12766 @@ -// Bindings generated by `windows-bindgen` 0.56.0 +// Bindings generated by `windows-bindgen` 0.57.0 -#[cfg(feature = "Win32_Foundation")] +#![allow( + non_snake_case, + non_upper_case_globals, + non_camel_case_types, + dead_code, + clippy::all +)] +#[inline] +pub unsafe fn FabricCreateClient( + connectionstrings: &[windows_core::PCWSTR], + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateClient( + connectionstringssize: u16, + connectionstrings: *const windows_core::PCWSTR, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateClient( + connectionstrings.len().try_into().unwrap(), + core::mem::transmute(connectionstrings.as_ptr()), + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateClient2( + connectionstrings: &[windows_core::PCWSTR], + __midl__fabricclientmodule0000: P0, + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateClient2( + connectionstringssize: u16, + connectionstrings: *const windows_core::PCWSTR, + __midl__fabricclientmodule0000: *mut core::ffi::c_void, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateClient2( + connectionstrings.len().try_into().unwrap(), + core::mem::transmute(connectionstrings.as_ptr()), + __midl__fabricclientmodule0000.param().abi(), + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateClient3( + connectionstrings: &[windows_core::PCWSTR], + __midl__fabricclientmodule0002: P0, + __midl__fabricclientmodule0003: P1, + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, +{ + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateClient3( + connectionstringssize: u16, + connectionstrings: *const windows_core::PCWSTR, + __midl__fabricclientmodule0002: *mut core::ffi::c_void, + __midl__fabricclientmodule0003: *mut core::ffi::c_void, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateClient3( + connectionstrings.len().try_into().unwrap(), + core::mem::transmute(connectionstrings.as_ptr()), + __midl__fabricclientmodule0002.param().abi(), + __midl__fabricclientmodule0003.param().abi(), + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateLocalClient( + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateLocalClient( + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateLocalClient(iid, &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateLocalClient2( + __midl__fabricclientmodule0001: P0, + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateLocalClient2( + __midl__fabricclientmodule0001: *mut core::ffi::c_void, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateLocalClient2( + __midl__fabricclientmodule0001.param().abi(), + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateLocalClient3( + __midl__fabricclientmodule0004: P0, + __midl__fabricclientmodule0005: P1, + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, +{ + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateLocalClient3( + __midl__fabricclientmodule0004: *mut core::ffi::c_void, + __midl__fabricclientmodule0005: *mut core::ffi::c_void, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateLocalClient3( + __midl__fabricclientmodule0004.param().abi(), + __midl__fabricclientmodule0005.param().abi(), + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateLocalClient4( + __midl__fabricclientmodule0006: P0, + __midl__fabricclientmodule0007: P1, + clientrole: super::super::FABRIC_CLIENT_ROLE, + iid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, +{ + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricCreateLocalClient4( + __midl__fabricclientmodule0006: *mut core::ffi::c_void, + __midl__fabricclientmodule0007: *mut core::ffi::c_void, + clientrole: super::super::FABRIC_CLIENT_ROLE, + iid: *const windows_core::GUID, + fabricclient: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateLocalClient4( + __midl__fabricclientmodule0006.param().abi(), + __midl__fabricclientmodule0007.param().abi(), + clientrole, + iid, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricGetDefaultRollingUpgradeMonitoringPolicy( +) -> windows_core::Result { + #[link(name = "FabricClient")] + extern "system" { + pub fn FabricGetDefaultRollingUpgradeMonitoringPolicy( + result: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricGetDefaultRollingUpgradeMonitoringPolicy(&mut result__) + .and_then(|| windows_core::Type::from_abi(result__)) +} +windows_core::imp::define_interface!( + IFabricApplicationHealthResult, + IFabricApplicationHealthResult_Vtbl, + 0x41612fab_e615_4a48_98e7_4abcc93b6049 +); +impl core::ops::Deref for IFabricApplicationHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricApplicationHealthResult, windows_core::IUnknown); +impl IFabricApplicationHealthResult { + pub unsafe fn get_ApplicationHealth(&self) -> *mut super::super::FABRIC_APPLICATION_HEALTH { + (windows_core::Interface::vtable(self).get_ApplicationHealth)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricApplicationHealthResult {} +unsafe impl Sync for IFabricApplicationHealthResult {} +#[repr(C)] +pub struct IFabricApplicationHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationHealth: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_APPLICATION_HEALTH, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient, + IFabricApplicationManagementClient_Vtbl, + 0x7c219ae9_e58d_431f_8b30_92a40281faac +); +impl core::ops::Deref for IFabricApplicationManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricApplicationManagementClient, windows_core::IUnknown); +impl IFabricApplicationManagementClient { + pub unsafe fn BeginProvisionApplicationType( + &self, + applicationbuildpath: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProvisionApplicationType)( + windows_core::Interface::as_raw(self), + applicationbuildpath.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProvisionApplicationType(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProvisionApplicationType)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginCreateApplication( + &self, + description: *const super::super::FABRIC_APPLICATION_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateApplication)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateApplication(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateApplication)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUpgradeApplication( + &self, + upgradedescription: *const super::super::FABRIC_APPLICATION_UPGRADE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpgradeApplication)( + windows_core::Interface::as_raw(self), + upgradedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpgradeApplication(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpgradeApplication)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetApplicationUpgradeProgress( + &self, + applicationname: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationUpgradeProgress)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationUpgradeProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationUpgradeProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginMoveNextApplicationUpgradeDomain( + &self, + progress: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMoveNextApplicationUpgradeDomain)( + windows_core::Interface::as_raw(self), + progress.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMoveNextApplicationUpgradeDomain( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndMoveNextApplicationUpgradeDomain)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteApplication( + &self, + applicationname: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteApplication)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteApplication(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteApplication)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUnprovisionApplicationType( + &self, + applicationtypename: P0, + applicationtypeversion: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUnprovisionApplicationType)( + windows_core::Interface::as_raw(self), + applicationtypename.param().abi(), + applicationtypeversion.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUnprovisionApplicationType(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUnprovisionApplicationType)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient {} +unsafe impl Sync for IFabricApplicationManagementClient {} +#[repr(C)] +pub struct IFabricApplicationManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginProvisionApplicationType: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProvisionApplicationType: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginCreateApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUpgradeApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_UPGRADE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpgradeApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationUpgradeProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationUpgradeProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMoveNextApplicationUpgradeDomain: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndMoveNextApplicationUpgradeDomain: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub BeginDeleteApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUnprovisionApplicationType: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUnprovisionApplicationType: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient10, + IFabricApplicationManagementClient10_Vtbl, + 0x67001225_d106_41ae_8bd4_5a0a119c5c01 +); +impl core::ops::Deref for IFabricApplicationManagementClient10 { + type Target = IFabricApplicationManagementClient9; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient10, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient5, + IFabricApplicationManagementClient6, + IFabricApplicationManagementClient7, + IFabricApplicationManagementClient8, + IFabricApplicationManagementClient9 +); +impl IFabricApplicationManagementClient10 { + pub unsafe fn BeginProvisionApplicationType3( + &self, + description: *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProvisionApplicationType3)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProvisionApplicationType3(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProvisionApplicationType3)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient10 {} +unsafe impl Sync for IFabricApplicationManagementClient10 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient10_Vtbl { + pub base__: IFabricApplicationManagementClient9_Vtbl, + pub BeginProvisionApplicationType3: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProvisionApplicationType3: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient2_Vtbl, + 0xf873516f_9bfe_47e5_93b9_3667aaf19324 +); +impl core::ops::Deref for IFabricApplicationManagementClient2 { + type Target = IFabricApplicationManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient2, + windows_core::IUnknown, + IFabricApplicationManagementClient +); +impl IFabricApplicationManagementClient2 { + pub unsafe fn BeginGetApplicationManifest( + &self, + applicationtypename: P0, + applicationtypeversion: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationManifest)( + windows_core::Interface::as_raw(self), + applicationtypename.param().abi(), + applicationtypeversion.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationManifest( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationManifest)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginMoveNextApplicationUpgradeDomain2( + &self, + applicationname: P0, + nextupgradedomain: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMoveNextApplicationUpgradeDomain2)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + nextupgradedomain.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMoveNextApplicationUpgradeDomain2( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndMoveNextApplicationUpgradeDomain2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient2 {} +unsafe impl Sync for IFabricApplicationManagementClient2 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient2_Vtbl { + pub base__: IFabricApplicationManagementClient_Vtbl, + pub BeginGetApplicationManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMoveNextApplicationUpgradeDomain2: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndMoveNextApplicationUpgradeDomain2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient3_Vtbl, + 0x108c7735_97e1_4af8_8c2d_9080b1b29d33 +); +impl core::ops::Deref for IFabricApplicationManagementClient3 { + type Target = IFabricApplicationManagementClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient3, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2 +); +impl IFabricApplicationManagementClient3 { + pub unsafe fn BeginUpdateApplicationUpgrade( + &self, + description: *const super::super::FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateApplicationUpgrade)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateApplicationUpgrade(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateApplicationUpgrade)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRestartDeployedCodePackage( + &self, + restartcodepackagedescription : *const super::super:: FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestartDeployedCodePackage)( + windows_core::Interface::as_raw(self), + restartcodepackagedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestartDeployedCodePackage(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRestartDeployedCodePackage)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn CopyApplicationPackage( + &self, + imagestoreconnectionstring: P0, + applicationpackagepath: P1, + applicationpackagepathinimagestore: P2, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + (windows_core::Interface::vtable(self).CopyApplicationPackage)( + windows_core::Interface::as_raw(self), + imagestoreconnectionstring.param().abi(), + applicationpackagepath.param().abi(), + applicationpackagepathinimagestore.param().abi(), + ) + .ok() + } + pub unsafe fn RemoveApplicationPackage( + &self, + imagestoreconnectionstring: P0, + applicationpackagepathinimagestore: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).RemoveApplicationPackage)( + windows_core::Interface::as_raw(self), + imagestoreconnectionstring.param().abi(), + applicationpackagepathinimagestore.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient3 {} +unsafe impl Sync for IFabricApplicationManagementClient3 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient3_Vtbl { + pub base__: IFabricApplicationManagementClient2_Vtbl, + pub BeginUpdateApplicationUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateApplicationUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRestartDeployedCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestartDeployedCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub CopyApplicationPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub RemoveApplicationPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient4_Vtbl, + 0x82c41b22_dbcb_4f7a_8d2f_f9bb94add446 +); +impl core::ops::Deref for IFabricApplicationManagementClient4 { + type Target = IFabricApplicationManagementClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient4, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3 +); +impl IFabricApplicationManagementClient4 { + pub unsafe fn BeginDeployServicePackageToNode( + &self, + applicationtypename: P0, + applicationtypeversion: P1, + servicemanifestname: P2, + sharingpolicy: *const super::super::FABRIC_PACKAGE_SHARING_POLICY_LIST, + nodename: P3, + timeoutmilliseconds: u32, + callback: P4, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + P4: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeployServicePackageToNode)( + windows_core::Interface::as_raw(self), + applicationtypename.param().abi(), + applicationtypeversion.param().abi(), + servicemanifestname.param().abi(), + sharingpolicy, + nodename.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeployServicePackageToNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeployServicePackageToNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient4 {} +unsafe impl Sync for IFabricApplicationManagementClient4 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient4_Vtbl { + pub base__: IFabricApplicationManagementClient3_Vtbl, + pub BeginDeployServicePackageToNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + *const super::super::FABRIC_PACKAGE_SHARING_POLICY_LIST, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeployServicePackageToNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient5, + IFabricApplicationManagementClient5_Vtbl, + 0xd7490e43_2217_4158_93e1_9ce4dd6f724a +); +impl core::ops::Deref for IFabricApplicationManagementClient5 { + type Target = IFabricApplicationManagementClient4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient5, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4 +); +impl IFabricApplicationManagementClient5 { + pub unsafe fn BeginRollbackApplicationUpgrade( + &self, + applicationname: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRollbackApplicationUpgrade)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRollbackApplicationUpgrade(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRollbackApplicationUpgrade)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient5 {} +unsafe impl Sync for IFabricApplicationManagementClient5 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient5_Vtbl { + pub base__: IFabricApplicationManagementClient4_Vtbl, + pub BeginRollbackApplicationUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRollbackApplicationUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient6, + IFabricApplicationManagementClient6_Vtbl, + 0xb01e63ee_1ea4_4181_95c7_983b32e16848 +); +impl core::ops::Deref for IFabricApplicationManagementClient6 { + type Target = IFabricApplicationManagementClient5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient6, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient5 +); +impl IFabricApplicationManagementClient6 { + pub unsafe fn BeginUpdateApplication( + &self, + applicationupdatedescription: *const super::super::FABRIC_APPLICATION_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateApplication)( + windows_core::Interface::as_raw(self), + applicationupdatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateApplication(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateApplication)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient6 {} +unsafe impl Sync for IFabricApplicationManagementClient6 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient6_Vtbl { + pub base__: IFabricApplicationManagementClient5_Vtbl, + pub BeginUpdateApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateApplication: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient7, + IFabricApplicationManagementClient7_Vtbl, + 0x26844276_25b1_4f8c_adbe_b1b3a3083c17 +); +impl core::ops::Deref for IFabricApplicationManagementClient7 { + type Target = IFabricApplicationManagementClient6; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient7, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient5, + IFabricApplicationManagementClient6 +); +impl IFabricApplicationManagementClient7 { + pub unsafe fn BeginDeleteApplication2( + &self, + deletedescription: *const super::super::FABRIC_DELETE_APPLICATION_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteApplication2)( + windows_core::Interface::as_raw(self), + deletedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteApplication2(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteApplication2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient7 {} +unsafe impl Sync for IFabricApplicationManagementClient7 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient7_Vtbl { + pub base__: IFabricApplicationManagementClient6_Vtbl, + pub BeginDeleteApplication2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DELETE_APPLICATION_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteApplication2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient8, + IFabricApplicationManagementClient8_Vtbl, + 0x97b38e85_7329_47ff_a8d2_b7cbf1603689 +); +impl core::ops::Deref for IFabricApplicationManagementClient8 { + type Target = IFabricApplicationManagementClient7; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient8, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient5, + IFabricApplicationManagementClient6, + IFabricApplicationManagementClient7 +); +impl IFabricApplicationManagementClient8 { + pub unsafe fn BeginProvisionApplicationType2( + &self, + description: *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProvisionApplicationType2)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProvisionApplicationType2(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProvisionApplicationType2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient8 {} +unsafe impl Sync for IFabricApplicationManagementClient8 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient8_Vtbl { + pub base__: IFabricApplicationManagementClient7_Vtbl, + pub BeginProvisionApplicationType2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProvisionApplicationType2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationManagementClient9, + IFabricApplicationManagementClient9_Vtbl, + 0x26617b63_1350_4d7f_830c_2200978d31bb +); +impl core::ops::Deref for IFabricApplicationManagementClient9 { + type Target = IFabricApplicationManagementClient8; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationManagementClient9, + windows_core::IUnknown, + IFabricApplicationManagementClient, + IFabricApplicationManagementClient2, + IFabricApplicationManagementClient3, + IFabricApplicationManagementClient4, + IFabricApplicationManagementClient5, + IFabricApplicationManagementClient6, + IFabricApplicationManagementClient7, + IFabricApplicationManagementClient8 +); +impl IFabricApplicationManagementClient9 { + pub unsafe fn BeginUnprovisionApplicationType2( + &self, + description: *const super::super::FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUnprovisionApplicationType2)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUnprovisionApplicationType2(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUnprovisionApplicationType2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricApplicationManagementClient9 {} +unsafe impl Sync for IFabricApplicationManagementClient9 {} +#[repr(C)] +pub struct IFabricApplicationManagementClient9_Vtbl { + pub base__: IFabricApplicationManagementClient8_Vtbl, + pub BeginUnprovisionApplicationType2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUnprovisionApplicationType2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationUpgradeProgressResult, + IFabricApplicationUpgradeProgressResult_Vtbl, + 0x1e4670f8_ede5_48ab_881f_c45a0f38413a +); +impl core::ops::Deref for IFabricApplicationUpgradeProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationUpgradeProgressResult, + windows_core::IUnknown +); +impl IFabricApplicationUpgradeProgressResult { + pub unsafe fn get_ApplicationName(&self) -> super::super::FABRIC_URI { + (windows_core::Interface::vtable(self).get_ApplicationName)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_ApplicationTypeName(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_ApplicationTypeName)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_TargetApplicationTypeVersion(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_TargetApplicationTypeVersion)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_UpgradeState(&self) -> super::super::FABRIC_APPLICATION_UPGRADE_STATE { + (windows_core::Interface::vtable(self).get_UpgradeState)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn GetUpgradeDomains( + &self, + itemcount: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetUpgradeDomains)( + windows_core::Interface::as_raw(self), + itemcount, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetChangedUpgradeDomains( + &self, + previousprogress: P0, + itemcount: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetChangedUpgradeDomains)( + windows_core::Interface::as_raw(self), + previousprogress.param().abi(), + itemcount, + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricApplicationUpgradeProgressResult {} +unsafe impl Sync for IFabricApplicationUpgradeProgressResult {} +#[repr(C)] +pub struct IFabricApplicationUpgradeProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationName: + unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_URI, + pub get_ApplicationTypeName: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_TargetApplicationTypeVersion: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_UpgradeState: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> super::super::FABRIC_APPLICATION_UPGRADE_STATE, + pub GetUpgradeDomains: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, + ) -> windows_core::HRESULT, + pub GetChangedUpgradeDomains: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricApplicationUpgradeProgressResult2, + IFabricApplicationUpgradeProgressResult2_Vtbl, + 0x62707ee5_b625_4489_aa4d_2e54b06ea248 +); +impl core::ops::Deref for IFabricApplicationUpgradeProgressResult2 { + type Target = IFabricApplicationUpgradeProgressResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationUpgradeProgressResult2, + windows_core::IUnknown, + IFabricApplicationUpgradeProgressResult +); +impl IFabricApplicationUpgradeProgressResult2 { + pub unsafe fn get_RollingUpgradeMode(&self) -> super::super::FABRIC_ROLLING_UPGRADE_MODE { + (windows_core::Interface::vtable(self).get_RollingUpgradeMode)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_NextUpgradeDomain(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_NextUpgradeDomain)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricApplicationUpgradeProgressResult2 {} +unsafe impl Sync for IFabricApplicationUpgradeProgressResult2 {} +#[repr(C)] +pub struct IFabricApplicationUpgradeProgressResult2_Vtbl { + pub base__: IFabricApplicationUpgradeProgressResult_Vtbl, + pub get_RollingUpgradeMode: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> super::super::FABRIC_ROLLING_UPGRADE_MODE, + pub get_NextUpgradeDomain: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, +} +windows_core::imp::define_interface!( + IFabricApplicationUpgradeProgressResult3, + IFabricApplicationUpgradeProgressResult3_Vtbl, + 0x1bc1d9c3_eef5_41fe_b8a2_abb97a8ba8e2 +); +impl core::ops::Deref for IFabricApplicationUpgradeProgressResult3 { + type Target = IFabricApplicationUpgradeProgressResult2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricApplicationUpgradeProgressResult3, + windows_core::IUnknown, + IFabricApplicationUpgradeProgressResult, + IFabricApplicationUpgradeProgressResult2 +); +impl IFabricApplicationUpgradeProgressResult3 { + pub unsafe fn get_UpgradeProgress( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_UPGRADE_PROGRESS { + (windows_core::Interface::vtable(self).get_UpgradeProgress)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricApplicationUpgradeProgressResult3 {} +unsafe impl Sync for IFabricApplicationUpgradeProgressResult3 {} +#[repr(C)] +pub struct IFabricApplicationUpgradeProgressResult3_Vtbl { + pub base__: IFabricApplicationUpgradeProgressResult2_Vtbl, + pub get_UpgradeProgress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_UPGRADE_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricChaosDescriptionResult, + IFabricChaosDescriptionResult_Vtbl, + 0xfa8aa86e_f0fa_4a14_bed7_1dcfa0980b5b +); +impl core::ops::Deref for IFabricChaosDescriptionResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricChaosDescriptionResult, windows_core::IUnknown); +impl IFabricChaosDescriptionResult { + pub unsafe fn get_ChaosDescriptionResult(&self) -> *mut super::super::FABRIC_CHAOS_DESCRIPTION { + (windows_core::Interface::vtable(self).get_ChaosDescriptionResult)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricChaosDescriptionResult {} +unsafe impl Sync for IFabricChaosDescriptionResult {} +#[repr(C)] +pub struct IFabricChaosDescriptionResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ChaosDescriptionResult: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CHAOS_DESCRIPTION, +} +windows_core::imp::define_interface!( + IFabricChaosEventsSegmentResult, + IFabricChaosEventsSegmentResult_Vtbl, + 0xde148299_c48a_4540_877b_5b1daa518d76 +); +impl core::ops::Deref for IFabricChaosEventsSegmentResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricChaosEventsSegmentResult, windows_core::IUnknown); +impl IFabricChaosEventsSegmentResult { + pub unsafe fn get_ChaosEventsSegmentResult( + &self, + ) -> *mut super::super::FABRIC_CHAOS_EVENTS_SEGMENT { + (windows_core::Interface::vtable(self).get_ChaosEventsSegmentResult)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricChaosEventsSegmentResult {} +unsafe impl Sync for IFabricChaosEventsSegmentResult {} +#[repr(C)] +pub struct IFabricChaosEventsSegmentResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ChaosEventsSegmentResult: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CHAOS_EVENTS_SEGMENT, +} +windows_core::imp::define_interface!( + IFabricChaosReportResult, + IFabricChaosReportResult_Vtbl, + 0x8952e931_b2b3_470a_b982_6b415f30dbc0 +); +impl core::ops::Deref for IFabricChaosReportResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricChaosReportResult, windows_core::IUnknown); +impl IFabricChaosReportResult { + pub unsafe fn get_ChaosReportResult(&self) -> *mut super::super::FABRIC_CHAOS_REPORT { + (windows_core::Interface::vtable(self).get_ChaosReportResult)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricChaosReportResult {} +unsafe impl Sync for IFabricChaosReportResult {} +#[repr(C)] +pub struct IFabricChaosReportResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ChaosReportResult: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_CHAOS_REPORT, +} +windows_core::imp::define_interface!( + IFabricChaosScheduleDescriptionResult, + IFabricChaosScheduleDescriptionResult_Vtbl, + 0x3b93f0d9_c0a9_4df5_9b09_b2365de89d84 +); +impl core::ops::Deref for IFabricChaosScheduleDescriptionResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricChaosScheduleDescriptionResult, + windows_core::IUnknown +); +impl IFabricChaosScheduleDescriptionResult { + pub unsafe fn get_ChaosScheduleDescriptionResult( + &self, + ) -> *mut super::super::FABRIC_CHAOS_SCHEDULE_DESCRIPTION { + (windows_core::Interface::vtable(self).get_ChaosScheduleDescriptionResult)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricChaosScheduleDescriptionResult {} +unsafe impl Sync for IFabricChaosScheduleDescriptionResult {} +#[repr(C)] +pub struct IFabricChaosScheduleDescriptionResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ChaosScheduleDescriptionResult: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CHAOS_SCHEDULE_DESCRIPTION, +} +windows_core::imp::define_interface!( + IFabricClientConnectionEventHandler, + IFabricClientConnectionEventHandler_Vtbl, + 0x2bd21f94_d962_4bb4_84b8_5a4b3e9d4d4d +); +impl core::ops::Deref for IFabricClientConnectionEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClientConnectionEventHandler, + windows_core::IUnknown +); +impl IFabricClientConnectionEventHandler { + pub unsafe fn OnConnected( + &self, + __midl__ifabricclientconnectioneventhandler0000: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnConnected)( + windows_core::Interface::as_raw(self), + __midl__ifabricclientconnectioneventhandler0000 + .param() + .abi(), + ) + .ok() + } + pub unsafe fn OnDisconnected( + &self, + __midl__ifabricclientconnectioneventhandler0001: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnDisconnected)( + windows_core::Interface::as_raw(self), + __midl__ifabricclientconnectioneventhandler0001 + .param() + .abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClientConnectionEventHandler {} +unsafe impl Sync for IFabricClientConnectionEventHandler {} +#[repr(C)] +pub struct IFabricClientConnectionEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnConnected: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub OnDisconnected: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClientConnectionEventHandler2, + IFabricClientConnectionEventHandler2_Vtbl, + 0x6b5dbd26_7d7a_4a3f_b8ea_1f049105e897 +); +impl core::ops::Deref for IFabricClientConnectionEventHandler2 { + type Target = IFabricClientConnectionEventHandler; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClientConnectionEventHandler2, + windows_core::IUnknown, + IFabricClientConnectionEventHandler +); +impl IFabricClientConnectionEventHandler2 { + pub unsafe fn OnClaimsRetrieval( + &self, + metadata: *const super::super::FABRIC_CLAIMS_RETRIEVAL_METADATA, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).OnClaimsRetrieval)( + windows_core::Interface::as_raw(self), + metadata, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricClientConnectionEventHandler2 {} +unsafe impl Sync for IFabricClientConnectionEventHandler2 {} +#[repr(C)] +pub struct IFabricClientConnectionEventHandler2_Vtbl { + pub base__: IFabricClientConnectionEventHandler_Vtbl, + pub OnClaimsRetrieval: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLAIMS_RETRIEVAL_METADATA, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClientSettings, + IFabricClientSettings_Vtbl, + 0xb0e7dee0_cf64_11e0_9572_0800200c9a66 +); +impl core::ops::Deref for IFabricClientSettings { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricClientSettings, windows_core::IUnknown); +impl IFabricClientSettings { + pub unsafe fn SetSecurityCredentials( + &self, + securitycredentials: *const super::super::FABRIC_SECURITY_CREDENTIALS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).SetSecurityCredentials)( + windows_core::Interface::as_raw(self), + securitycredentials, + ) + .ok() + } + pub unsafe fn SetKeepAlive(&self, keepaliveintervalinseconds: u32) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).SetKeepAlive)( + windows_core::Interface::as_raw(self), + keepaliveintervalinseconds, + ) + .ok() + } +} +unsafe impl Send for IFabricClientSettings {} +unsafe impl Sync for IFabricClientSettings {} +#[repr(C)] +pub struct IFabricClientSettings_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub SetSecurityCredentials: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SECURITY_CREDENTIALS, + ) -> windows_core::HRESULT, + pub SetKeepAlive: + unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClientSettings2, + IFabricClientSettings2_Vtbl, + 0xc6fb97f7_82f3_4e6c_a80a_021e8ffca425 +); +impl core::ops::Deref for IFabricClientSettings2 { + type Target = IFabricClientSettings; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClientSettings2, + windows_core::IUnknown, + IFabricClientSettings +); +impl IFabricClientSettings2 { + pub unsafe fn GetSettings(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetSettings)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn SetSettings( + &self, + fabricclientsettings: *const super::super::FABRIC_CLIENT_SETTINGS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).SetSettings)( + windows_core::Interface::as_raw(self), + fabricclientsettings, + ) + .ok() + } +} +unsafe impl Send for IFabricClientSettings2 {} +unsafe impl Sync for IFabricClientSettings2 {} +#[repr(C)] +pub struct IFabricClientSettings2_Vtbl { + pub base__: IFabricClientSettings_Vtbl, + pub GetSettings: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub SetSettings: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLIENT_SETTINGS, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClientSettingsResult, + IFabricClientSettingsResult_Vtbl, + 0x3b825afd_cb31_4589_961e_e3778aa23a60 +); +impl core::ops::Deref for IFabricClientSettingsResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricClientSettingsResult, windows_core::IUnknown); +impl IFabricClientSettingsResult { + pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_CLIENT_SETTINGS { + (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricClientSettingsResult {} +unsafe impl Sync for IFabricClientSettingsResult {} +#[repr(C)] +pub struct IFabricClientSettingsResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Settings: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CLIENT_SETTINGS, +} +windows_core::imp::define_interface!( + IFabricClusterHealthResult, + IFabricClusterHealthResult_Vtbl, + 0x6b9b0f2c_6782_4a31_a256_570fa8ba32d3 +); +impl core::ops::Deref for IFabricClusterHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricClusterHealthResult, windows_core::IUnknown); +impl IFabricClusterHealthResult { + pub unsafe fn get_ClusterHealth(&self) -> *mut super::super::FABRIC_CLUSTER_HEALTH { + (windows_core::Interface::vtable(self).get_ClusterHealth)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricClusterHealthResult {} +unsafe impl Sync for IFabricClusterHealthResult {} +#[repr(C)] +pub struct IFabricClusterHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ClusterHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_CLUSTER_HEALTH, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient, + IFabricClusterManagementClient_Vtbl, + 0xa3cf17e0_cf84_4ae0_b720_1785c0fb4ace +); +impl core::ops::Deref for IFabricClusterManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricClusterManagementClient, windows_core::IUnknown); +impl IFabricClusterManagementClient { + pub unsafe fn BeginNodeStateRemoved( + &self, + nodename: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginNodeStateRemoved)( + windows_core::Interface::as_raw(self), + nodename.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndNodeStateRemoved(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndNodeStateRemoved)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRecoverPartitions( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRecoverPartitions)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRecoverPartitions(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRecoverPartitions)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient {} +unsafe impl Sync for IFabricClusterManagementClient {} +#[repr(C)] +pub struct IFabricClusterManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginNodeStateRemoved: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndNodeStateRemoved: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRecoverPartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRecoverPartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient10, + IFabricClusterManagementClient10_Vtbl, + 0xa4aceb4f_2e2b_4be1_9d12_44fe8cb5fb20 +); +impl core::ops::Deref for IFabricClusterManagementClient10 { + type Target = IFabricClusterManagementClient9; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient10, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4, + IFabricClusterManagementClient5, + IFabricClusterManagementClient6, + IFabricClusterManagementClient7, + IFabricClusterManagementClient8, + IFabricClusterManagementClient9 +); +impl IFabricClusterManagementClient10 { + pub unsafe fn BeginGetClusterConfiguration2( + &self, + apiversion: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterConfiguration2)( + windows_core::Interface::as_raw(self), + apiversion.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterConfiguration2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterConfiguration2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricClusterManagementClient10 {} +unsafe impl Sync for IFabricClusterManagementClient10 {} +#[repr(C)] +pub struct IFabricClusterManagementClient10_Vtbl { + pub base__: IFabricClusterManagementClient9_Vtbl, + pub BeginGetClusterConfiguration2: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterConfiguration2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient2, + IFabricClusterManagementClient2_Vtbl, + 0xf9493e16_6a49_4d79_8695_5a6826b504c5 +); +impl core::ops::Deref for IFabricClusterManagementClient2 { + type Target = IFabricClusterManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient2, + windows_core::IUnknown, + IFabricClusterManagementClient +); +impl IFabricClusterManagementClient2 { + pub unsafe fn BeginDeactivateNode( + &self, + nodename: P0, + intent: super::super::FABRIC_NODE_DEACTIVATION_INTENT, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeactivateNode)( + windows_core::Interface::as_raw(self), + nodename.param().abi(), + intent, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeactivateNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeactivateNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginActivateNode( + &self, + nodename: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginActivateNode)( + windows_core::Interface::as_raw(self), + nodename.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndActivateNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndActivateNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginProvisionFabric( + &self, + codefilepath: P0, + clustermanifestfilepath: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProvisionFabric)( + windows_core::Interface::as_raw(self), + codefilepath.param().abi(), + clustermanifestfilepath.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProvisionFabric(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProvisionFabric)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUpgradeFabric( + &self, + upgradedescription: *const super::super::FABRIC_UPGRADE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpgradeFabric)( + windows_core::Interface::as_raw(self), + upgradedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpgradeFabric(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpgradeFabric)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetFabricUpgradeProgress( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetFabricUpgradeProgress)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetFabricUpgradeProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetFabricUpgradeProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginMoveNextFabricUpgradeDomain( + &self, + progress: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMoveNextFabricUpgradeDomain)( + windows_core::Interface::as_raw(self), + progress.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMoveNextFabricUpgradeDomain(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndMoveNextFabricUpgradeDomain)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginMoveNextFabricUpgradeDomain2( + &self, + nextupgradedomain: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMoveNextFabricUpgradeDomain2)( + windows_core::Interface::as_raw(self), + nextupgradedomain.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMoveNextFabricUpgradeDomain2( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndMoveNextFabricUpgradeDomain2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUnprovisionFabric( + &self, + codeversion: P0, + configversion: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUnprovisionFabric)( + windows_core::Interface::as_raw(self), + codeversion.param().abi(), + configversion.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUnprovisionFabric(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUnprovisionFabric)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetClusterManifest( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterManifest)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterManifest( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterManifest)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginRecoverPartition( + &self, + partitionid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRecoverPartition)( + windows_core::Interface::as_raw(self), + core::mem::transmute(partitionid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRecoverPartition(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRecoverPartition)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRecoverServicePartitions( + &self, + servicename: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRecoverServicePartitions)( + windows_core::Interface::as_raw(self), + servicename.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRecoverServicePartitions(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRecoverServicePartitions)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRecoverSystemPartitions( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRecoverSystemPartitions)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRecoverSystemPartitions(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRecoverSystemPartitions)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient2 {} +unsafe impl Sync for IFabricClusterManagementClient2 {} +#[repr(C)] +pub struct IFabricClusterManagementClient2_Vtbl { + pub base__: IFabricClusterManagementClient_Vtbl, + pub BeginDeactivateNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + super::super::FABRIC_NODE_DEACTIVATION_INTENT, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeactivateNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginActivateNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndActivateNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginProvisionFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProvisionFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUpgradeFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_UPGRADE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpgradeFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetFabricUpgradeProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetFabricUpgradeProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMoveNextFabricUpgradeDomain: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndMoveNextFabricUpgradeDomain: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMoveNextFabricUpgradeDomain2: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndMoveNextFabricUpgradeDomain2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUnprovisionFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUnprovisionFabric: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetClusterManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRecoverPartition: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRecoverPartition: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRecoverServicePartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRecoverServicePartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRecoverSystemPartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRecoverSystemPartitions: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient3, + IFabricClusterManagementClient3_Vtbl, + 0xc3001d74_92b6_44cb_ac2f_2ffc4a56287c +); +impl core::ops::Deref for IFabricClusterManagementClient3 { + type Target = IFabricClusterManagementClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient3, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2 +); +impl IFabricClusterManagementClient3 { + pub unsafe fn BeginUpdateFabricUpgrade( + &self, + description: *const super::super::FABRIC_UPGRADE_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateFabricUpgrade)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateFabricUpgrade(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateFabricUpgrade)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginStopNode( + &self, + stopnodedescription: *const super::super::FABRIC_STOP_NODE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStopNode)( + windows_core::Interface::as_raw(self), + stopnodedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStopNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStopNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRestartNode( + &self, + restartnodedescription: *const super::super::FABRIC_RESTART_NODE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestartNode)( + windows_core::Interface::as_raw(self), + restartnodedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestartNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRestartNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginStartNode( + &self, + startnodedescription: *const super::super::FABRIC_START_NODE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartNode)( + windows_core::Interface::as_raw(self), + startnodedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartNode(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn CopyClusterPackage( + &self, + imagestoreconnectionstring: P0, + clustermanifestpath: P1, + clustermanifestpathinimagestore: P2, + codepackagepath: P3, + codepackagepathinimagestore: P4, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + P4: windows_core::Param, + { + (windows_core::Interface::vtable(self).CopyClusterPackage)( + windows_core::Interface::as_raw(self), + imagestoreconnectionstring.param().abi(), + clustermanifestpath.param().abi(), + clustermanifestpathinimagestore.param().abi(), + codepackagepath.param().abi(), + codepackagepathinimagestore.param().abi(), + ) + .ok() + } + pub unsafe fn RemoveClusterPackage( + &self, + imagestoreconnectionstring: P0, + clustermanifestpathinimagestore: P1, + codepackagepathinimagestore: P2, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + (windows_core::Interface::vtable(self).RemoveClusterPackage)( + windows_core::Interface::as_raw(self), + imagestoreconnectionstring.param().abi(), + clustermanifestpathinimagestore.param().abi(), + codepackagepathinimagestore.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient3 {} +unsafe impl Sync for IFabricClusterManagementClient3 {} +#[repr(C)] +pub struct IFabricClusterManagementClient3_Vtbl { + pub base__: IFabricClusterManagementClient2_Vtbl, + pub BeginUpdateFabricUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_UPGRADE_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateFabricUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStopNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STOP_NODE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStopNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRestartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_RESTART_NODE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_NODE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub CopyClusterPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub RemoveClusterPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient4, + IFabricClusterManagementClient4_Vtbl, + 0xb6b12671_f283_4d71_a818_0260549bc83e +); +impl core::ops::Deref for IFabricClusterManagementClient4 { + type Target = IFabricClusterManagementClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient4, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3 +); +impl IFabricClusterManagementClient4 { + pub unsafe fn BeginRollbackFabricUpgrade( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRollbackFabricUpgrade)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRollbackFabricUpgrade(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRollbackFabricUpgrade)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient4 {} +unsafe impl Sync for IFabricClusterManagementClient4 {} +#[repr(C)] +pub struct IFabricClusterManagementClient4_Vtbl { + pub base__: IFabricClusterManagementClient3_Vtbl, + pub BeginRollbackFabricUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRollbackFabricUpgrade: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient5, + IFabricClusterManagementClient5_Vtbl, + 0xa6ddd816_a100_11e4_89d3_123b93f75cba +); +impl core::ops::Deref for IFabricClusterManagementClient5 { + type Target = IFabricClusterManagementClient4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient5, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4 +); +impl IFabricClusterManagementClient5 { + pub unsafe fn BeginResetPartitionLoad( + &self, + partitionid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginResetPartitionLoad)( + windows_core::Interface::as_raw(self), + core::mem::transmute(partitionid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndResetPartitionLoad(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndResetPartitionLoad)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient5 {} +unsafe impl Sync for IFabricClusterManagementClient5 {} +#[repr(C)] +pub struct IFabricClusterManagementClient5_Vtbl { + pub base__: IFabricClusterManagementClient4_Vtbl, + pub BeginResetPartitionLoad: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndResetPartitionLoad: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient6, + IFabricClusterManagementClient6_Vtbl, + 0x9e454ae8_4b8c_4136_884a_37b0b92cc855 +); +impl core::ops::Deref for IFabricClusterManagementClient6 { + type Target = IFabricClusterManagementClient5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient6, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4, + IFabricClusterManagementClient5 +); +impl IFabricClusterManagementClient6 { + pub unsafe fn BeginToggleVerboseServicePlacementHealthReporting( + &self, + enabled: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginToggleVerboseServicePlacementHealthReporting)( + windows_core::Interface::as_raw(self), + enabled.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndToggleVerboseServicePlacementHealthReporting( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndToggleVerboseServicePlacementHealthReporting)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient6 {} +unsafe impl Sync for IFabricClusterManagementClient6 {} +#[repr(C)] +pub struct IFabricClusterManagementClient6_Vtbl { + pub base__: IFabricClusterManagementClient5_Vtbl, + pub BeginToggleVerboseServicePlacementHealthReporting: + unsafe extern "system" fn( + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOLEAN, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndToggleVerboseServicePlacementHealthReporting: + unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient7, + IFabricClusterManagementClient7_Vtbl, + 0x9b9105ac_d595_4f59_9c94_1ffdbf92a876 +); +impl core::ops::Deref for IFabricClusterManagementClient7 { + type Target = IFabricClusterManagementClient6; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient7, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4, + IFabricClusterManagementClient5, + IFabricClusterManagementClient6 +); +impl IFabricClusterManagementClient7 { + pub unsafe fn BeginUpgradeConfiguration( + &self, + startupgradedescription: *const super::super::FABRIC_START_UPGRADE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpgradeConfiguration)( + windows_core::Interface::as_raw(self), + startupgradedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpgradeConfiguration(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpgradeConfiguration)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetClusterConfigurationUpgradeStatus( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterConfigurationUpgradeStatus)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterConfigurationUpgradeStatus( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterConfigurationUpgradeStatus)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetClusterConfiguration( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterConfiguration)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterConfiguration( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterConfiguration)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetUpgradesPendingApproval( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetUpgradesPendingApproval)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetUpgradesPendingApproval(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndGetUpgradesPendingApproval)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginStartApprovedUpgrades( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartApprovedUpgrades)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartApprovedUpgrades(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartApprovedUpgrades)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricClusterManagementClient7 {} +unsafe impl Sync for IFabricClusterManagementClient7 {} +#[repr(C)] +pub struct IFabricClusterManagementClient7_Vtbl { + pub base__: IFabricClusterManagementClient6_Vtbl, + pub BeginUpgradeConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_UPGRADE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpgradeConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetClusterConfigurationUpgradeStatus: + unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterConfigurationUpgradeStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub BeginGetClusterConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetUpgradesPendingApproval: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetUpgradesPendingApproval: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStartApprovedUpgrades: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartApprovedUpgrades: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient8, + IFabricClusterManagementClient8_Vtbl, + 0x0b79641c_79a6_4162_904a_840babd08381 +); +impl core::ops::Deref for IFabricClusterManagementClient8 { + type Target = IFabricClusterManagementClient7; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient8, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4, + IFabricClusterManagementClient5, + IFabricClusterManagementClient6, + IFabricClusterManagementClient7 +); +impl IFabricClusterManagementClient8 { + pub unsafe fn BeginGetClusterManifest2( + &self, + querydescription: *const super::super::FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterManifest2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterManifest2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterManifest2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricClusterManagementClient8 {} +unsafe impl Sync for IFabricClusterManagementClient8 {} +#[repr(C)] +pub struct IFabricClusterManagementClient8_Vtbl { + pub base__: IFabricClusterManagementClient7_Vtbl, + pub BeginGetClusterManifest2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterManifest2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricClusterManagementClient9, + IFabricClusterManagementClient9_Vtbl, + 0xc0f57578_538c_4cbe_bb55_8098b6a7cd4e +); +impl core::ops::Deref for IFabricClusterManagementClient9 { + type Target = IFabricClusterManagementClient8; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricClusterManagementClient9, + windows_core::IUnknown, + IFabricClusterManagementClient, + IFabricClusterManagementClient2, + IFabricClusterManagementClient3, + IFabricClusterManagementClient4, + IFabricClusterManagementClient5, + IFabricClusterManagementClient6, + IFabricClusterManagementClient7, + IFabricClusterManagementClient8 +); +impl IFabricClusterManagementClient9 { + pub unsafe fn BeginGetUpgradeOrchestrationServiceState( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetUpgradeOrchestrationServiceState)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetUpgradeOrchestrationServiceState( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetUpgradeOrchestrationServiceState)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginSetUpgradeOrchestrationServiceState( + &self, + state: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginSetUpgradeOrchestrationServiceState)( + windows_core::Interface::as_raw(self), + state.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndSetUpgradeOrchestrationServiceState( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndSetUpgradeOrchestrationServiceState)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricClusterManagementClient9 {} +unsafe impl Sync for IFabricClusterManagementClient9 {} +#[repr(C)] +pub struct IFabricClusterManagementClient9_Vtbl { + pub base__: IFabricClusterManagementClient8_Vtbl, + pub BeginGetUpgradeOrchestrationServiceState: + unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetUpgradeOrchestrationServiceState: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub BeginSetUpgradeOrchestrationServiceState: + unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndSetUpgradeOrchestrationServiceState: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricDeployedApplicationHealthResult, + IFabricDeployedApplicationHealthResult_Vtbl, + 0x4df50bf4_7c28_4210_94f7_50625df6c942 +); +impl core::ops::Deref for IFabricDeployedApplicationHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricDeployedApplicationHealthResult, + windows_core::IUnknown +); +impl IFabricDeployedApplicationHealthResult { + pub unsafe fn get_DeployedApplicationHealth( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH { + (windows_core::Interface::vtable(self).get_DeployedApplicationHealth)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricDeployedApplicationHealthResult {} +unsafe impl Sync for IFabricDeployedApplicationHealthResult {} +#[repr(C)] +pub struct IFabricDeployedApplicationHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_DeployedApplicationHealth: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH, +} +windows_core::imp::define_interface!( + IFabricDeployedServicePackageHealthResult, + IFabricDeployedServicePackageHealthResult_Vtbl, + 0x40991ce0_cdbb_44e9_9cdc_b14a5d5ea4c1 +); +impl core::ops::Deref for IFabricDeployedServicePackageHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricDeployedServicePackageHealthResult, + windows_core::IUnknown +); +impl IFabricDeployedServicePackageHealthResult { + pub unsafe fn get_DeployedServicePackageHealth( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { + (windows_core::Interface::vtable(self).get_DeployedServicePackageHealth)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricDeployedServicePackageHealthResult {} +unsafe impl Sync for IFabricDeployedServicePackageHealthResult {} +#[repr(C)] +pub struct IFabricDeployedServicePackageHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_DeployedServicePackageHealth: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH, +} +windows_core::imp::define_interface!( + IFabricFaultManagementClient, + IFabricFaultManagementClient_Vtbl, + 0x769e1838_8726_4dcd_a3c0_211673a6967a +); +impl core::ops::Deref for IFabricFaultManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricFaultManagementClient, windows_core::IUnknown); +impl IFabricFaultManagementClient { + pub unsafe fn BeginRestartNode( + &self, + description: *const super::super::FABRIC_RESTART_NODE_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestartNode)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestartNode( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndRestartNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginStartNode( + &self, + description: *const super::super::FABRIC_START_NODE_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartNode)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartNode( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndStartNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginStopNode( + &self, + description: *const super::super::FABRIC_STOP_NODE_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStopNode)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStopNode(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndStopNode)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginRestartDeployedCodePackage( + &self, + description: *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestartDeployedCodePackage)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestartDeployedCodePackage( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndRestartDeployedCodePackage)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginMovePrimary( + &self, + description: *const super::super::FABRIC_MOVE_PRIMARY_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMovePrimary)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMovePrimary( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndMovePrimary)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginMoveSecondary( + &self, + description: *const super::super::FABRIC_MOVE_SECONDARY_DESCRIPTION2, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginMoveSecondary)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndMoveSecondary( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndMoveSecondary)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricFaultManagementClient {} +unsafe impl Sync for IFabricFaultManagementClient {} +#[repr(C)] +pub struct IFabricFaultManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginRestartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_RESTART_NODE_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_NODE_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStopNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STOP_NODE_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStopNode: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRestartDeployedCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestartDeployedCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMovePrimary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_MOVE_PRIMARY_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndMovePrimary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginMoveSecondary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_MOVE_SECONDARY_DESCRIPTION2, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndMoveSecondary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricGatewayInformationResult, + IFabricGatewayInformationResult_Vtbl, + 0xa57e7740_fa33_448e_9f35_8bf802a713aa +); +impl core::ops::Deref for IFabricGatewayInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGatewayInformationResult, windows_core::IUnknown); +impl IFabricGatewayInformationResult { + pub unsafe fn get_GatewayInformation(&self) -> *mut super::super::FABRIC_GATEWAY_INFORMATION { + (windows_core::Interface::vtable(self).get_GatewayInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGatewayInformationResult {} +unsafe impl Sync for IFabricGatewayInformationResult {} +#[repr(C)] +pub struct IFabricGatewayInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_GatewayInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_GATEWAY_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetApplicationListResult, + IFabricGetApplicationListResult_Vtbl, + 0xf038c61e_7059_41b6_8dea_d304a2080f46 +); +impl core::ops::Deref for IFabricGetApplicationListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetApplicationListResult, windows_core::IUnknown); +impl IFabricGetApplicationListResult { + pub unsafe fn get_ApplicationList( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ApplicationList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetApplicationListResult {} +unsafe impl Sync for IFabricGetApplicationListResult {} +#[repr(C)] +pub struct IFabricGetApplicationListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetApplicationListResult2, + IFabricGetApplicationListResult2_Vtbl, + 0x6637a860_26bc_4f1a_902f_f418fcfe1e51 +); +impl core::ops::Deref for IFabricGetApplicationListResult2 { + type Target = IFabricGetApplicationListResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetApplicationListResult2, + windows_core::IUnknown, + IFabricGetApplicationListResult +); +impl IFabricGetApplicationListResult2 { + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetApplicationListResult2 {} +unsafe impl Sync for IFabricGetApplicationListResult2 {} +#[repr(C)] +pub struct IFabricGetApplicationListResult2_Vtbl { + pub base__: IFabricGetApplicationListResult_Vtbl, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetApplicationLoadInformationResult, + IFabricGetApplicationLoadInformationResult_Vtbl, + 0x38fd0512_7586_4bd5_9616_b7070cf025c0 +); +impl core::ops::Deref for IFabricGetApplicationLoadInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetApplicationLoadInformationResult, + windows_core::IUnknown +); +impl IFabricGetApplicationLoadInformationResult { + pub unsafe fn get_ApplicationLoadInformation( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_LOAD_INFORMATION { + (windows_core::Interface::vtable(self).get_ApplicationLoadInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetApplicationLoadInformationResult {} +unsafe impl Sync for IFabricGetApplicationLoadInformationResult {} +#[repr(C)] +pub struct IFabricGetApplicationLoadInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationLoadInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_LOAD_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetApplicationNameResult, + IFabricGetApplicationNameResult_Vtbl, + 0x258dbcc8_ac9a_47ff_838b_57ff506c73b1 +); +impl core::ops::Deref for IFabricGetApplicationNameResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetApplicationNameResult, windows_core::IUnknown); +impl IFabricGetApplicationNameResult { + pub unsafe fn get_ApplicationName( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_NAME_QUERY_RESULT { + (windows_core::Interface::vtable(self).get_ApplicationName)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetApplicationNameResult {} +unsafe impl Sync for IFabricGetApplicationNameResult {} +#[repr(C)] +pub struct IFabricGetApplicationNameResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationName: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_NAME_QUERY_RESULT, +} +windows_core::imp::define_interface!( + IFabricGetApplicationNetworkListResult, + IFabricGetApplicationNetworkListResult_Vtbl, + 0x4f9d0390_aa08_4dee_ba49_62891eb47c37 +); +impl core::ops::Deref for IFabricGetApplicationNetworkListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetApplicationNetworkListResult, + windows_core::IUnknown +); +impl IFabricGetApplicationNetworkListResult { + pub unsafe fn get_ApplicationNetworkList( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ApplicationNetworkList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetApplicationNetworkListResult {} +unsafe impl Sync for IFabricGetApplicationNetworkListResult {} +#[repr(C)] +pub struct IFabricGetApplicationNetworkListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ApplicationNetworkList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } +windows_core::imp::define_interface!( + IFabricGetApplicationTypeListResult, + IFabricGetApplicationTypeListResult_Vtbl, + 0x944f7a70_224e_4191_8dd1_bba46dc88dd2 +); +impl core::ops::Deref for IFabricGetApplicationTypeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetApplicationTypeListResult, + windows_core::IUnknown +); +impl IFabricGetApplicationTypeListResult { + pub unsafe fn get_ApplicationTypeList( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ApplicationTypeList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetApplicationTypeListResult {} +unsafe impl Sync for IFabricGetApplicationTypeListResult {} +#[repr(C)] +pub struct IFabricGetApplicationTypeListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationTypeList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetApplicationTypePagedListResult, + IFabricGetApplicationTypePagedListResult_Vtbl, + 0x5d8dde9c_05e8_428d_b494_43873d7c2db8 +); +impl core::ops::Deref for IFabricGetApplicationTypePagedListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetApplicationTypePagedListResult, + windows_core::IUnknown +); +impl IFabricGetApplicationTypePagedListResult { + pub unsafe fn get_ApplicationTypePagedList( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ApplicationTypePagedList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetApplicationTypePagedListResult {} +unsafe impl Sync for IFabricGetApplicationTypePagedListResult {} +#[repr(C)] +pub struct IFabricGetApplicationTypePagedListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ApplicationTypePagedList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetClusterHealthChunkResult, + IFabricGetClusterHealthChunkResult_Vtbl, + 0x7fefcf06_c840_4d8a_9cc7_36f080e0e121 +); +impl core::ops::Deref for IFabricGetClusterHealthChunkResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetClusterHealthChunkResult, windows_core::IUnknown); +impl IFabricGetClusterHealthChunkResult { + pub unsafe fn get_ClusterHealthChunk(&self) -> *mut super::super::FABRIC_CLUSTER_HEALTH_CHUNK { + (windows_core::Interface::vtable(self).get_ClusterHealthChunk)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetClusterHealthChunkResult {} +unsafe impl Sync for IFabricGetClusterHealthChunkResult {} +#[repr(C)] +pub struct IFabricGetClusterHealthChunkResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ClusterHealthChunk: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CLUSTER_HEALTH_CHUNK, +} +windows_core::imp::define_interface!( + IFabricGetClusterLoadInformationResult, + IFabricGetClusterLoadInformationResult_Vtbl, + 0x7cc3eb08_0e69_4e52_81fc_0190ab997dbf +); +impl core::ops::Deref for IFabricGetClusterLoadInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetClusterLoadInformationResult, + windows_core::IUnknown +); +impl IFabricGetClusterLoadInformationResult { + pub unsafe fn get_ClusterLoadInformation( + &self, + ) -> *mut super::super::FABRIC_CLUSTER_LOAD_INFORMATION { + (windows_core::Interface::vtable(self).get_ClusterLoadInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetClusterLoadInformationResult {} +unsafe impl Sync for IFabricGetClusterLoadInformationResult {} +#[repr(C)] +pub struct IFabricGetClusterLoadInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ClusterLoadInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CLUSTER_LOAD_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetDeployedApplicationListResult, + IFabricGetDeployedApplicationListResult_Vtbl, + 0x5722b789_3936_4c33_9f7a_342967457612 +); +impl core::ops::Deref for IFabricGetDeployedApplicationListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedApplicationListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedApplicationListResult { + pub unsafe fn get_DeployedApplicationList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedApplicationList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetDeployedApplicationListResult {} +unsafe impl Sync for IFabricGetDeployedApplicationListResult {} +#[repr(C)] +pub struct IFabricGetDeployedApplicationListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedApplicationList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetDeployedApplicationPagedListResult, + IFabricGetDeployedApplicationPagedListResult_Vtbl, + 0xebd76f6f_508e_43ea_9ca2_a98ea2c0e846 +); +impl core::ops::Deref for IFabricGetDeployedApplicationPagedListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedApplicationPagedListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedApplicationPagedListResult { + pub unsafe fn get_DeployedApplicationPagedList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedApplicationPagedList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetDeployedApplicationPagedListResult {} +unsafe impl Sync for IFabricGetDeployedApplicationPagedListResult {} +#[repr(C)] +pub struct IFabricGetDeployedApplicationPagedListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedApplicationPagedList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } +windows_core::imp::define_interface!( + IFabricGetDeployedCodePackageListResult, + IFabricGetDeployedCodePackageListResult_Vtbl, + 0x3f390652_c0dc_4919_8a7f_8ae1e827de0c +); +impl core::ops::Deref for IFabricGetDeployedCodePackageListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedCodePackageListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedCodePackageListResult { + pub unsafe fn get_DeployedCodePackageList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedCodePackageList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetDeployedCodePackageListResult {} +unsafe impl Sync for IFabricGetDeployedCodePackageListResult {} +#[repr(C)] +pub struct IFabricGetDeployedCodePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedCodePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetDeployedNetworkCodePackageListResult, + IFabricGetDeployedNetworkCodePackageListResult_Vtbl, + 0x6586d264_a96e_4f46_9388_189de5d61d6d +); +impl core::ops::Deref for IFabricGetDeployedNetworkCodePackageListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedNetworkCodePackageListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedNetworkCodePackageListResult { + pub unsafe fn get_DeployedNetworkCodePackageList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedNetworkCodePackageList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetDeployedNetworkCodePackageListResult {} +unsafe impl Sync for IFabricGetDeployedNetworkCodePackageListResult {} +#[repr(C)] +pub struct IFabricGetDeployedNetworkCodePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedNetworkCodePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } +windows_core::imp::define_interface!( + IFabricGetDeployedNetworkListResult, + IFabricGetDeployedNetworkListResult_Vtbl, + 0x347f5d8c_1abd_48e1_a7d1_9083556dafd3 +); +impl core::ops::Deref for IFabricGetDeployedNetworkListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedNetworkListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedNetworkListResult { + pub unsafe fn get_DeployedNetworkList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedNetworkList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetDeployedNetworkListResult {} +unsafe impl Sync for IFabricGetDeployedNetworkListResult {} +#[repr(C)] +pub struct IFabricGetDeployedNetworkListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_DeployedNetworkList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetDeployedReplicaListResult, + IFabricGetDeployedReplicaListResult_Vtbl, + 0x29e064bf_5d78_49e5_baa6_acfc24a4a8b5 +); +impl core::ops::Deref for IFabricGetDeployedReplicaListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedReplicaListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedReplicaListResult { + pub unsafe fn get_DeployedReplicaList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedReplicaList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetDeployedReplicaListResult {} +unsafe impl Sync for IFabricGetDeployedReplicaListResult {} +#[repr(C)] +pub struct IFabricGetDeployedReplicaListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedReplicaList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetDeployedServicePackageListResult, + IFabricGetDeployedServicePackageListResult_Vtbl, + 0x65851388_0421_4107_977b_39f4e15440d4 +); +impl core::ops::Deref for IFabricGetDeployedServicePackageListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedServicePackageListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedServicePackageListResult { + pub unsafe fn get_DeployedServicePackageList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedServicePackageList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetDeployedServicePackageListResult {} +unsafe impl Sync for IFabricGetDeployedServicePackageListResult {} +#[repr(C)] +pub struct IFabricGetDeployedServicePackageListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedServicePackageList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetDeployedServiceReplicaDetailResult, + IFabricGetDeployedServiceReplicaDetailResult_Vtbl, + 0x6d9d355e_89cf_4928_b758_b11ca4664fbe +); +impl core::ops::Deref for IFabricGetDeployedServiceReplicaDetailResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedServiceReplicaDetailResult, + windows_core::IUnknown +); +impl IFabricGetDeployedServiceReplicaDetailResult { + pub unsafe fn get_ReplicaDetail( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + (windows_core::Interface::vtable(self).get_ReplicaDetail)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetDeployedServiceReplicaDetailResult {} +unsafe impl Sync for IFabricGetDeployedServiceReplicaDetailResult {} +#[repr(C)] +pub struct IFabricGetDeployedServiceReplicaDetailResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ReplicaDetail :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM , } +windows_core::imp::define_interface!( + IFabricGetDeployedServiceTypeListResult, + IFabricGetDeployedServiceTypeListResult_Vtbl, + 0xdba68c7a_3f77_49bb_b611_ff94df062b8d +); +impl core::ops::Deref for IFabricGetDeployedServiceTypeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetDeployedServiceTypeListResult, + windows_core::IUnknown +); +impl IFabricGetDeployedServiceTypeListResult { + pub unsafe fn get_DeployedServiceTypeList( + &self, + ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_DeployedServiceTypeList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetDeployedServiceTypeListResult {} +unsafe impl Sync for IFabricGetDeployedServiceTypeListResult {} +#[repr(C)] +pub struct IFabricGetDeployedServiceTypeListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_DeployedServiceTypeList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetNetworkApplicationListResult, + IFabricGetNetworkApplicationListResult_Vtbl, + 0xad1f51ff_e244_498e_9f72_609b01124b84 +); +impl core::ops::Deref for IFabricGetNetworkApplicationListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetNetworkApplicationListResult, + windows_core::IUnknown +); +impl IFabricGetNetworkApplicationListResult { + pub unsafe fn get_NetworkApplicationList( + &self, + ) -> *mut super::super::FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_NetworkApplicationList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetNetworkApplicationListResult {} +unsafe impl Sync for IFabricGetNetworkApplicationListResult {} +#[repr(C)] +pub struct IFabricGetNetworkApplicationListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_NetworkApplicationList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST , pub get_PagingStatus :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PAGING_STATUS , } +windows_core::imp::define_interface!( + IFabricGetNetworkListResult, + IFabricGetNetworkListResult_Vtbl, + 0xbd777a0f_2020_40bb_8f23_8756649cce47 +); +impl core::ops::Deref for IFabricGetNetworkListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetNetworkListResult, windows_core::IUnknown); +impl IFabricGetNetworkListResult { + pub unsafe fn get_NetworkList(&self) -> *mut super::super::FABRIC_NETWORK_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_NetworkList)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetNetworkListResult {} +unsafe impl Sync for IFabricGetNetworkListResult {} +#[repr(C)] +pub struct IFabricGetNetworkListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NetworkList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_NETWORK_QUERY_RESULT_LIST, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetNetworkNodeListResult, + IFabricGetNetworkNodeListResult_Vtbl, + 0x3ba780e9_58eb_478d_bc89_42c89e19d083 +); +impl core::ops::Deref for IFabricGetNetworkNodeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetNetworkNodeListResult, windows_core::IUnknown); +impl IFabricGetNetworkNodeListResult { + pub unsafe fn get_NetworkNodeList( + &self, + ) -> *mut super::super::FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_NetworkNodeList)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetNetworkNodeListResult {} +unsafe impl Sync for IFabricGetNetworkNodeListResult {} +#[repr(C)] +pub struct IFabricGetNetworkNodeListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NetworkNodeList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_NETWORK_NODE_QUERY_RESULT_LIST, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetNodeListResult, + IFabricGetNodeListResult_Vtbl, + 0x7cc3eb08_0e69_4e52_81fc_0190ab997dbe +); +impl core::ops::Deref for IFabricGetNodeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetNodeListResult, windows_core::IUnknown); +impl IFabricGetNodeListResult { + pub unsafe fn get_NodeList(&self) -> *mut super::super::FABRIC_NODE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_NodeList)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricGetNodeListResult {} +unsafe impl Sync for IFabricGetNodeListResult {} +#[repr(C)] +pub struct IFabricGetNodeListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NodeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_NODE_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetNodeListResult2, + IFabricGetNodeListResult2_Vtbl, + 0x4a0f2da7_f851_44e5_8e12_aa521076097a +); +impl core::ops::Deref for IFabricGetNodeListResult2 { + type Target = IFabricGetNodeListResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetNodeListResult2, + windows_core::IUnknown, + IFabricGetNodeListResult +); +impl IFabricGetNodeListResult2 { + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetNodeListResult2 {} +unsafe impl Sync for IFabricGetNodeListResult2 {} +#[repr(C)] +pub struct IFabricGetNodeListResult2_Vtbl { + pub base__: IFabricGetNodeListResult_Vtbl, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetNodeLoadInformationResult, + IFabricGetNodeLoadInformationResult_Vtbl, + 0x4332eb3a_aed6_86fe_c2fa_653123dea09b +); +impl core::ops::Deref for IFabricGetNodeLoadInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetNodeLoadInformationResult, + windows_core::IUnknown +); +impl IFabricGetNodeLoadInformationResult { + pub unsafe fn get_NodeLoadInformation( + &self, + ) -> *mut super::super::FABRIC_NODE_LOAD_INFORMATION { + (windows_core::Interface::vtable(self).get_NodeLoadInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetNodeLoadInformationResult {} +unsafe impl Sync for IFabricGetNodeLoadInformationResult {} +#[repr(C)] +pub struct IFabricGetNodeLoadInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NodeLoadInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_NODE_LOAD_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetPartitionListResult, + IFabricGetPartitionListResult_Vtbl, + 0xafc1266c_967b_4769_9f8a_b249c5887ee6 +); +impl core::ops::Deref for IFabricGetPartitionListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetPartitionListResult, windows_core::IUnknown); +impl IFabricGetPartitionListResult { + pub unsafe fn get_PartitionList( + &self, + ) -> *mut super::super::FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_PartitionList)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetPartitionListResult {} +unsafe impl Sync for IFabricGetPartitionListResult {} +#[repr(C)] +pub struct IFabricGetPartitionListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_PartitionList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetPartitionListResult2, + IFabricGetPartitionListResult2_Vtbl, + 0xb131b99a_d251_47b2_9d08_24ddd6793206 +); +impl core::ops::Deref for IFabricGetPartitionListResult2 { + type Target = IFabricGetPartitionListResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetPartitionListResult2, + windows_core::IUnknown, + IFabricGetPartitionListResult +); +impl IFabricGetPartitionListResult2 { + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetPartitionListResult2 {} +unsafe impl Sync for IFabricGetPartitionListResult2 {} +#[repr(C)] +pub struct IFabricGetPartitionListResult2_Vtbl { + pub base__: IFabricGetPartitionListResult_Vtbl, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetPartitionLoadInformationResult, + IFabricGetPartitionLoadInformationResult_Vtbl, + 0x46f1a40c_a4f3_409e_a7ec_6fd115f7acc7 +); +impl core::ops::Deref for IFabricGetPartitionLoadInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetPartitionLoadInformationResult, + windows_core::IUnknown +); +impl IFabricGetPartitionLoadInformationResult { + pub unsafe fn get_PartitionLoadInformation( + &self, + ) -> *mut super::super::FABRIC_PARTITION_LOAD_INFORMATION { + (windows_core::Interface::vtable(self).get_PartitionLoadInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetPartitionLoadInformationResult {} +unsafe impl Sync for IFabricGetPartitionLoadInformationResult {} +#[repr(C)] +pub struct IFabricGetPartitionLoadInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_PartitionLoadInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PARTITION_LOAD_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetProvisionedCodeVersionListResult, + IFabricGetProvisionedCodeVersionListResult_Vtbl, + 0xd042bdb6_4364_4818_b395_0e6b1a22cb11 +); +impl core::ops::Deref for IFabricGetProvisionedCodeVersionListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetProvisionedCodeVersionListResult, + windows_core::IUnknown +); +impl IFabricGetProvisionedCodeVersionListResult { + pub unsafe fn get_ProvisionedCodeVersionList( + &self, + ) -> *mut super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ProvisionedCodeVersionList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetProvisionedCodeVersionListResult {} +unsafe impl Sync for IFabricGetProvisionedCodeVersionListResult {} +#[repr(C)] +pub struct IFabricGetProvisionedCodeVersionListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ProvisionedCodeVersionList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetProvisionedConfigVersionListResult, + IFabricGetProvisionedConfigVersionListResult_Vtbl, + 0x1bbb9f78_e883_49d1_a998_7eb864fd4a0e +); +impl core::ops::Deref for IFabricGetProvisionedConfigVersionListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetProvisionedConfigVersionListResult, + windows_core::IUnknown +); +impl IFabricGetProvisionedConfigVersionListResult { + pub unsafe fn get_ProvisionedConfigVersionList( + &self, + ) -> *mut super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ProvisionedConfigVersionList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetProvisionedConfigVersionListResult {} +unsafe impl Sync for IFabricGetProvisionedConfigVersionListResult {} +#[repr(C)] +pub struct IFabricGetProvisionedConfigVersionListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ProvisionedConfigVersionList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetRepairTaskListResult, + IFabricGetRepairTaskListResult_Vtbl, + 0x576b2462_5f69_4351_87c7_3ec2d1654a22 +); +impl core::ops::Deref for IFabricGetRepairTaskListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetRepairTaskListResult, windows_core::IUnknown); +impl IFabricGetRepairTaskListResult { + pub unsafe fn get_Tasks(&self) -> *mut super::super::FABRIC_REPAIR_TASK_LIST { + (windows_core::Interface::vtable(self).get_Tasks)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricGetRepairTaskListResult {} +unsafe impl Sync for IFabricGetRepairTaskListResult {} +#[repr(C)] +pub struct IFabricGetRepairTaskListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Tasks: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_REPAIR_TASK_LIST, +} +windows_core::imp::define_interface!( + IFabricGetReplicaListResult, + IFabricGetReplicaListResult_Vtbl, + 0xe00d3761_3ac5_407d_a04f_1b59486217cf +); +impl core::ops::Deref for IFabricGetReplicaListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetReplicaListResult, windows_core::IUnknown); +impl IFabricGetReplicaListResult { + pub unsafe fn get_ReplicaList( + &self, + ) -> *mut super::super::FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ReplicaList)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetReplicaListResult {} +unsafe impl Sync for IFabricGetReplicaListResult {} +#[repr(C)] +pub struct IFabricGetReplicaListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ReplicaList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetReplicaListResult2, + IFabricGetReplicaListResult2_Vtbl, + 0x0bc12f86_c157_4c0d_b274_01fb09145934 +); +impl core::ops::Deref for IFabricGetReplicaListResult2 { + type Target = IFabricGetReplicaListResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetReplicaListResult2, + windows_core::IUnknown, + IFabricGetReplicaListResult +); +impl IFabricGetReplicaListResult2 { + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetReplicaListResult2 {} +unsafe impl Sync for IFabricGetReplicaListResult2 {} +#[repr(C)] +pub struct IFabricGetReplicaListResult2_Vtbl { + pub base__: IFabricGetReplicaListResult_Vtbl, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetReplicaLoadInformationResult, + IFabricGetReplicaLoadInformationResult_Vtbl, + 0xe4190ca0_225c_11e4_8c21_0800200c9a66 +); +impl core::ops::Deref for IFabricGetReplicaLoadInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetReplicaLoadInformationResult, + windows_core::IUnknown +); +impl IFabricGetReplicaLoadInformationResult { + pub unsafe fn get_ReplicaLoadInformation( + &self, + ) -> *mut super::super::FABRIC_REPLICA_LOAD_INFORMATION { + (windows_core::Interface::vtable(self).get_ReplicaLoadInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetReplicaLoadInformationResult {} +unsafe impl Sync for IFabricGetReplicaLoadInformationResult {} +#[repr(C)] +pub struct IFabricGetReplicaLoadInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ReplicaLoadInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_REPLICA_LOAD_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricGetRollingUpgradeMonitoringPolicyResult, + IFabricGetRollingUpgradeMonitoringPolicyResult_Vtbl, + 0x02bd6674_9c5a_4262_89a8_ac1a6a2fb5e9 +); +impl core::ops::Deref for IFabricGetRollingUpgradeMonitoringPolicyResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetRollingUpgradeMonitoringPolicyResult, + windows_core::IUnknown +); +impl IFabricGetRollingUpgradeMonitoringPolicyResult { + pub unsafe fn get_Policy(&self) -> *mut super::super::FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { + (windows_core::Interface::vtable(self).get_Policy)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricGetRollingUpgradeMonitoringPolicyResult {} +unsafe impl Sync for IFabricGetRollingUpgradeMonitoringPolicyResult {} +#[repr(C)] +pub struct IFabricGetRollingUpgradeMonitoringPolicyResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Policy: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_ROLLING_UPGRADE_MONITORING_POLICY, +} +windows_core::imp::define_interface!( + IFabricGetServiceGroupMemberListResult, + IFabricGetServiceGroupMemberListResult_Vtbl, + 0xe9f7f574_fd07_4a71_9f22_9cf9ccf3c166 +); +impl core::ops::Deref for IFabricGetServiceGroupMemberListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetServiceGroupMemberListResult, + windows_core::IUnknown +); +impl IFabricGetServiceGroupMemberListResult { + pub unsafe fn get_ServiceGroupMemberList( + &self, + ) -> *mut super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ServiceGroupMemberList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetServiceGroupMemberListResult {} +unsafe impl Sync for IFabricGetServiceGroupMemberListResult {} +#[repr(C)] +pub struct IFabricGetServiceGroupMemberListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ServiceGroupMemberList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetServiceGroupMemberTypeListResult, + IFabricGetServiceGroupMemberTypeListResult_Vtbl, + 0x5e572763_29a9_463a_b602_1332c0f60e6b +); +impl core::ops::Deref for IFabricGetServiceGroupMemberTypeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetServiceGroupMemberTypeListResult, + windows_core::IUnknown +); +impl IFabricGetServiceGroupMemberTypeListResult { + pub unsafe fn get_ServiceGroupMemberTypeList( + &self, + ) -> *mut super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ServiceGroupMemberTypeList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetServiceGroupMemberTypeListResult {} +unsafe impl Sync for IFabricGetServiceGroupMemberTypeListResult {} +#[repr(C)] +pub struct IFabricGetServiceGroupMemberTypeListResult_Vtbl where { pub base__ : windows_core::IUnknown_Vtbl , pub get_ServiceGroupMemberTypeList :unsafe extern "system" fn ( * mut core::ffi::c_void , ) -> *mut super::super:: FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST , } +windows_core::imp::define_interface!( + IFabricGetServiceListResult, + IFabricGetServiceListResult_Vtbl, + 0x9953e19a_ea1e_4a1f_bda4_ab42fdb77185 +); +impl core::ops::Deref for IFabricGetServiceListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetServiceListResult, windows_core::IUnknown); +impl IFabricGetServiceListResult { + pub unsafe fn get_ServiceList(&self) -> *mut super::super::FABRIC_SERVICE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ServiceList)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetServiceListResult {} +unsafe impl Sync for IFabricGetServiceListResult {} +#[repr(C)] +pub struct IFabricGetServiceListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ServiceList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SERVICE_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetServiceListResult2, + IFabricGetServiceListResult2_Vtbl, + 0x30263683_4b25_4ec3_86d7_94ed86e7a8bf +); +impl core::ops::Deref for IFabricGetServiceListResult2 { + type Target = IFabricGetServiceListResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetServiceListResult2, + windows_core::IUnknown, + IFabricGetServiceListResult +); +impl IFabricGetServiceListResult2 { + pub unsafe fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS { + (windows_core::Interface::vtable(self).get_PagingStatus)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetServiceListResult2 {} +unsafe impl Sync for IFabricGetServiceListResult2 {} +#[repr(C)] +pub struct IFabricGetServiceListResult2_Vtbl { + pub base__: IFabricGetServiceListResult_Vtbl, + pub get_PagingStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PAGING_STATUS, +} +windows_core::imp::define_interface!( + IFabricGetServiceNameResult, + IFabricGetServiceNameResult_Vtbl, + 0xb64fb70c_fe53_4ca1_b6d9_23d1150fe76c +); +impl core::ops::Deref for IFabricGetServiceNameResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetServiceNameResult, windows_core::IUnknown); +impl IFabricGetServiceNameResult { + pub unsafe fn get_ServiceName(&self) -> *mut super::super::FABRIC_SERVICE_NAME_QUERY_RESULT { + (windows_core::Interface::vtable(self).get_ServiceName)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricGetServiceNameResult {} +unsafe impl Sync for IFabricGetServiceNameResult {} +#[repr(C)] +pub struct IFabricGetServiceNameResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ServiceName: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SERVICE_NAME_QUERY_RESULT, +} +windows_core::imp::define_interface!( + IFabricGetServiceTypeListResult, + IFabricGetServiceTypeListResult_Vtbl, + 0x886e4ad2_edb8_4734_9dd4_0e9a2be5238b +); +impl core::ops::Deref for IFabricGetServiceTypeListResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricGetServiceTypeListResult, windows_core::IUnknown); +impl IFabricGetServiceTypeListResult { + pub unsafe fn get_ServiceTypeList( + &self, + ) -> *mut super::super::FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_ServiceTypeList)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetServiceTypeListResult {} +unsafe impl Sync for IFabricGetServiceTypeListResult {} +#[repr(C)] +pub struct IFabricGetServiceTypeListResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ServiceTypeList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricGetUnplacedReplicaInformationResult, + IFabricGetUnplacedReplicaInformationResult_Vtbl, + 0x9d86a611_3fd3_451b_9495_6a831f417473 +); +impl core::ops::Deref for IFabricGetUnplacedReplicaInformationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricGetUnplacedReplicaInformationResult, + windows_core::IUnknown +); +impl IFabricGetUnplacedReplicaInformationResult { + pub unsafe fn get_UnplacedReplicaInformation( + &self, + ) -> *mut super::super::FABRIC_UNPLACED_REPLICA_INFORMATION { + (windows_core::Interface::vtable(self).get_UnplacedReplicaInformation)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricGetUnplacedReplicaInformationResult {} +unsafe impl Sync for IFabricGetUnplacedReplicaInformationResult {} +#[repr(C)] +pub struct IFabricGetUnplacedReplicaInformationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_UnplacedReplicaInformation: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_UNPLACED_REPLICA_INFORMATION, +} +windows_core::imp::define_interface!( + IFabricHealthClient, + IFabricHealthClient_Vtbl, + 0x3d00d0be_7014_41da_9c5b_0a9ef46e2a43 +); +impl core::ops::Deref for IFabricHealthClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricHealthClient, windows_core::IUnknown); +impl IFabricHealthClient { + pub unsafe fn ReportHealth( + &self, + healthreport: *const super::super::FABRIC_HEALTH_REPORT, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportHealth)( + windows_core::Interface::as_raw(self), + healthreport, + ) + .ok() + } + pub unsafe fn BeginGetClusterHealth( + &self, + healthpolicy: *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterHealth)( + windows_core::Interface::as_raw(self), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetNodeHealth( + &self, + nodename: P0, + healthpolicy: *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNodeHealth)( + windows_core::Interface::as_raw(self), + nodename.param().abi(), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNodeHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationHealth( + &self, + applicationname: P0, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationHealth)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetServiceHealth( + &self, + servicename: P0, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceHealth)( + windows_core::Interface::as_raw(self), + servicename.param().abi(), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetPartitionHealth( + &self, + partitionid: windows_core::GUID, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionHealth)( + windows_core::Interface::as_raw(self), + core::mem::transmute(partitionid), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetReplicaHealth( + &self, + partitionid: windows_core::GUID, + replicaid: i64, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetReplicaHealth)( + windows_core::Interface::as_raw(self), + core::mem::transmute(partitionid), + replicaid, + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetReplicaHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetReplicaHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedApplicationHealth( + &self, + applicationname: P0, + nodename: P1, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedApplicationHealth)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + nodename.param().abi(), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedApplicationHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedApplicationHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedServicePackageHealth( + &self, + applicationname: P0, + servicemanifestname: P1, + nodename: P2, + healthpolicy: *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageHealth)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + servicemanifestname.param().abi(), + nodename.param().abi(), + healthpolicy, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedServicePackageHealth( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedServicePackageHealth)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricHealthClient {} +unsafe impl Sync for IFabricHealthClient {} +#[repr(C)] +pub struct IFabricHealthClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub ReportHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_REPORT, + ) -> windows_core::HRESULT, + pub BeginGetClusterHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNodeHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const super::super::FABRIC_CLUSTER_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNodeHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetReplicaHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + i64, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetReplicaHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedServicePackageHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + windows_core::PCWSTR, + *const super::super::FABRIC_APPLICATION_HEALTH_POLICY, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndGetDeployedServicePackageHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricHealthClient2, + IFabricHealthClient2_Vtbl, + 0x66cbc014_d7b3_4f81_a498_e580feb9a1f5 +); +impl core::ops::Deref for IFabricHealthClient2 { + type Target = IFabricHealthClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricHealthClient2, + windows_core::IUnknown, + IFabricHealthClient +); +impl IFabricHealthClient2 { + pub unsafe fn BeginGetClusterHealth2( + &self, + querydescription: *const super::super::FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetNodeHealth2( + &self, + querydescription: *const super::super::FABRIC_NODE_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNodeHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNodeHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationHealth2( + &self, + querydescription: *const super::super::FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetServiceHealth2( + &self, + querydescription: *const super::super::FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetPartitionHealth2( + &self, + querydescription: *const super::super::FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetReplicaHealth2( + &self, + querydescription: *const super::super::FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetReplicaHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetReplicaHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetReplicaHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedApplicationHealth2( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedApplicationHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedApplicationHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedApplicationHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedServicePackageHealth2( + &self, + querydescription : *const super::super:: FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageHealth2)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedServicePackageHealth2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedServicePackageHealth2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricHealthClient2 {} +unsafe impl Sync for IFabricHealthClient2 {} +#[repr(C)] +pub struct IFabricHealthClient2_Vtbl { + pub base__: IFabricHealthClient_Vtbl, + pub BeginGetClusterHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNodeHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NODE_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNodeHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetReplicaHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetReplicaHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedServicePackageHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndGetDeployedServicePackageHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricHealthClient3, + IFabricHealthClient3_Vtbl, + 0xdd3e4497_3373_458d_ad22_c88ebd27493e +); +impl core::ops::Deref for IFabricHealthClient3 { + type Target = IFabricHealthClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricHealthClient3, + windows_core::IUnknown, + IFabricHealthClient, + IFabricHealthClient2 +); +impl IFabricHealthClient3 { + pub unsafe fn BeginGetClusterHealthChunk( + &self, + querydescription: *const super::super::FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterHealthChunk)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterHealthChunk( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterHealthChunk)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricHealthClient3 {} +unsafe impl Sync for IFabricHealthClient3 {} +#[repr(C)] +pub struct IFabricHealthClient3_Vtbl { + pub base__: IFabricHealthClient2_Vtbl, + pub BeginGetClusterHealthChunk: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterHealthChunk: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricHealthClient4, + IFabricHealthClient4_Vtbl, + 0x9f0401af_4909_404f_8696_0a71bd753e98 +); +impl core::ops::Deref for IFabricHealthClient4 { + type Target = IFabricHealthClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricHealthClient4, + windows_core::IUnknown, + IFabricHealthClient, + IFabricHealthClient2, + IFabricHealthClient3 +); +impl IFabricHealthClient4 { + pub unsafe fn ReportHealth2( + &self, + healthreport: *const super::super::FABRIC_HEALTH_REPORT, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportHealth2)( + windows_core::Interface::as_raw(self), + healthreport, + sendoptions, + ) + .ok() + } +} +unsafe impl Send for IFabricHealthClient4 {} +unsafe impl Sync for IFabricHealthClient4 {} +#[repr(C)] +pub struct IFabricHealthClient4_Vtbl { + pub base__: IFabricHealthClient3_Vtbl, + pub ReportHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_REPORT, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricInfrastructureServiceClient, + IFabricInfrastructureServiceClient_Vtbl, + 0xa0cfbc71_184b_443b_b102_4b6d0a7cbc49 +); +impl core::ops::Deref for IFabricInfrastructureServiceClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricInfrastructureServiceClient, windows_core::IUnknown); +impl IFabricInfrastructureServiceClient { + pub unsafe fn BeginInvokeInfrastructureCommand( + &self, + servicename: P0, + command: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginInvokeInfrastructureCommand)( + windows_core::Interface::as_raw(self), + servicename.param().abi(), + command.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndInvokeInfrastructureCommand( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndInvokeInfrastructureCommand)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginInvokeInfrastructureQuery( + &self, + servicename: P0, + command: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginInvokeInfrastructureQuery)( + windows_core::Interface::as_raw(self), + servicename.param().abi(), + command.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndInvokeInfrastructureQuery( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndInvokeInfrastructureQuery)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricInfrastructureServiceClient {} +unsafe impl Sync for IFabricInfrastructureServiceClient {} +#[repr(C)] +pub struct IFabricInfrastructureServiceClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginInvokeInfrastructureCommand: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndInvokeInfrastructureCommand: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginInvokeInfrastructureQuery: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndInvokeInfrastructureQuery: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricMovePrimaryResult, + IFabricMovePrimaryResult_Vtbl, + 0x66ac03f5_e61c_47a2_80fe_49309a02c92c +); +impl core::ops::Deref for IFabricMovePrimaryResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricMovePrimaryResult, windows_core::IUnknown); +impl IFabricMovePrimaryResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_MOVE_PRIMARY_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricMovePrimaryResult {} +unsafe impl Sync for IFabricMovePrimaryResult {} +#[repr(C)] +pub struct IFabricMovePrimaryResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_MOVE_PRIMARY_RESULT, +} +windows_core::imp::define_interface!( + IFabricMoveSecondaryResult, + IFabricMoveSecondaryResult_Vtbl, + 0x60fe896a_b690_4abb_94fd_86c615d29bee +); +impl core::ops::Deref for IFabricMoveSecondaryResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricMoveSecondaryResult, windows_core::IUnknown); +impl IFabricMoveSecondaryResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_MOVE_SECONDARY_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricMoveSecondaryResult {} +unsafe impl Sync for IFabricMoveSecondaryResult {} +#[repr(C)] +pub struct IFabricMoveSecondaryResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_MOVE_SECONDARY_RESULT, +} +windows_core::imp::define_interface!( + IFabricNameEnumerationResult, + IFabricNameEnumerationResult_Vtbl, + 0x557e8105_f4f4_4fd3_9d21_075f34e2f98c +); +impl core::ops::Deref for IFabricNameEnumerationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricNameEnumerationResult, windows_core::IUnknown); +impl IFabricNameEnumerationResult { + pub unsafe fn get_EnumerationStatus(&self) -> super::super::FABRIC_ENUMERATION_STATUS { + (windows_core::Interface::vtable(self).get_EnumerationStatus)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn GetNames( + &self, + itemcount: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_URI> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetNames)( + windows_core::Interface::as_raw(self), + itemcount, + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricNameEnumerationResult {} +unsafe impl Sync for IFabricNameEnumerationResult {} +#[repr(C)] +pub struct IFabricNameEnumerationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_EnumerationStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> super::super::FABRIC_ENUMERATION_STATUS, + pub GetNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_URI, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricNetworkManagementClient, + IFabricNetworkManagementClient_Vtbl, + 0xfdb754c6_69c5_4bcf_bba5_cb70c84a4398 +); +impl core::ops::Deref for IFabricNetworkManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricNetworkManagementClient, windows_core::IUnknown); +impl IFabricNetworkManagementClient { + pub unsafe fn BeginCreateNetwork( + &self, + networkname: P0, + description: *const super::super::FABRIC_NETWORK_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateNetwork)( + windows_core::Interface::as_raw(self), + networkname.param().abi(), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateNetwork(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateNetwork)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteNetwork( + &self, + deletedescription: *const super::super::FABRIC_DELETE_NETWORK_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteNetwork)( + windows_core::Interface::as_raw(self), + deletedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteNetwork(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteNetwork)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetNetworkList( + &self, + querydescription: *const super::super::FABRIC_NETWORK_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNetworkList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNetworkList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNetworkList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetNetworkApplicationList( + &self, + querydescription: *const super::super::FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNetworkApplicationList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNetworkApplicationList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNetworkApplicationList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetNetworkNodeList( + &self, + querydescription: *const super::super::FABRIC_NETWORK_NODE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNetworkNodeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNetworkNodeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNetworkNodeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationNetworkList( + &self, + querydescription: *const super::super::FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationNetworkList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationNetworkList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationNetworkList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedNetworkList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedNetworkList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedNetworkList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedNetworkList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedNetworkCodePackageList( + &self, + querydescription : *const super::super:: FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedNetworkCodePackageList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedNetworkCodePackageList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedNetworkCodePackageList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricNetworkManagementClient {} +unsafe impl Sync for IFabricNetworkManagementClient {} +#[repr(C)] +pub struct IFabricNetworkManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginCreateNetwork: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const super::super::FABRIC_NETWORK_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateNetwork: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeleteNetwork: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DELETE_NETWORK_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteNetwork: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NETWORK_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNetworkApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNetworkApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNetworkNodeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NETWORK_NODE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNetworkNodeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedNetworkList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedNetworkCodePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndGetDeployedNetworkCodePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricNodeHealthResult, + IFabricNodeHealthResult_Vtbl, + 0xe461f70b_51b8_4b73_9f35_e38e5ac68719 +); +impl core::ops::Deref for IFabricNodeHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricNodeHealthResult, windows_core::IUnknown); +impl IFabricNodeHealthResult { + pub unsafe fn get_NodeHealth(&self) -> *mut super::super::FABRIC_NODE_HEALTH { + (windows_core::Interface::vtable(self).get_NodeHealth)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricNodeHealthResult {} +unsafe impl Sync for IFabricNodeHealthResult {} +#[repr(C)] +pub struct IFabricNodeHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NodeHealth: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_HEALTH, +} +windows_core::imp::define_interface!( + IFabricNodeTransitionProgressResult, + IFabricNodeTransitionProgressResult_Vtbl, + 0x68a98626_6a1b_4dd8_ad93_74c0936e86aa +); +impl core::ops::Deref for IFabricNodeTransitionProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricNodeTransitionProgressResult, + windows_core::IUnknown +); +impl IFabricNodeTransitionProgressResult { + pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_NODE_TRANSITION_PROGRESS { + (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricNodeTransitionProgressResult {} +unsafe impl Sync for IFabricNodeTransitionProgressResult {} +#[repr(C)] +pub struct IFabricNodeTransitionProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Progress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_NODE_TRANSITION_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricOrchestrationUpgradeStatusResult, + IFabricOrchestrationUpgradeStatusResult_Vtbl, + 0x95a56e4a_490d_445e_865c_ef0a62f15504 +); +impl core::ops::Deref for IFabricOrchestrationUpgradeStatusResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricOrchestrationUpgradeStatusResult, + windows_core::IUnknown +); +impl IFabricOrchestrationUpgradeStatusResult { + pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { + (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricOrchestrationUpgradeStatusResult {} +unsafe impl Sync for IFabricOrchestrationUpgradeStatusResult {} +#[repr(C)] +pub struct IFabricOrchestrationUpgradeStatusResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Progress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_ORCHESTRATION_UPGRADE_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricPartitionDataLossProgressResult, + IFabricPartitionDataLossProgressResult_Vtbl, + 0x614921e6_75f1_44e7_9107_ab88819136b8 +); +impl core::ops::Deref for IFabricPartitionDataLossProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricPartitionDataLossProgressResult, + windows_core::IUnknown +); +impl IFabricPartitionDataLossProgressResult { + pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_DATA_LOSS_PROGRESS { + (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricPartitionDataLossProgressResult {} +unsafe impl Sync for IFabricPartitionDataLossProgressResult {} +#[repr(C)] +pub struct IFabricPartitionDataLossProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Progress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_PARTITION_DATA_LOSS_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricPartitionHealthResult, + IFabricPartitionHealthResult_Vtbl, + 0x10c9e99d_bb3f_4263_a7f7_abbaf3c03576 +); +impl core::ops::Deref for IFabricPartitionHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPartitionHealthResult, windows_core::IUnknown); +impl IFabricPartitionHealthResult { + pub unsafe fn get_PartitionHealth(&self) -> *mut super::super::FABRIC_PARTITION_HEALTH { + (windows_core::Interface::vtable(self).get_PartitionHealth)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricPartitionHealthResult {} +unsafe impl Sync for IFabricPartitionHealthResult {} +#[repr(C)] +pub struct IFabricPartitionHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_PartitionHealth: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PARTITION_HEALTH, +} +windows_core::imp::define_interface!( + IFabricPartitionQuorumLossProgressResult, + IFabricPartitionQuorumLossProgressResult_Vtbl, + 0x36d8e378_3706_403d_8d99_2afd1a120687 +); +impl core::ops::Deref for IFabricPartitionQuorumLossProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricPartitionQuorumLossProgressResult, + windows_core::IUnknown +); +impl IFabricPartitionQuorumLossProgressResult { + pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { + (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricPartitionQuorumLossProgressResult {} +unsafe impl Sync for IFabricPartitionQuorumLossProgressResult {} +#[repr(C)] +pub struct IFabricPartitionQuorumLossProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Progress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_PARTITION_QUORUM_LOSS_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricPartitionRestartProgressResult, + IFabricPartitionRestartProgressResult_Vtbl, + 0xd2cb2ee1_a1ba_4cbd_80f7_14fd3d55bb61 +); +impl core::ops::Deref for IFabricPartitionRestartProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricPartitionRestartProgressResult, + windows_core::IUnknown +); +impl IFabricPartitionRestartProgressResult { + pub unsafe fn get_Progress(&self) -> *mut super::super::FABRIC_PARTITION_RESTART_PROGRESS { + (windows_core::Interface::vtable(self).get_Progress)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricPartitionRestartProgressResult {} +unsafe impl Sync for IFabricPartitionRestartProgressResult {} +#[repr(C)] +pub struct IFabricPartitionRestartProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Progress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_PARTITION_RESTART_PROGRESS, +} +windows_core::imp::define_interface!( + IFabricPropertyBatchResult, + IFabricPropertyBatchResult_Vtbl, + 0xee747ff5_3fbb_46a8_adbc_47ce09c48bbe +); +impl core::ops::Deref for IFabricPropertyBatchResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPropertyBatchResult, windows_core::IUnknown); +impl IFabricPropertyBatchResult { + pub unsafe fn GetProperty( + &self, + operationindexinrequest: u32, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetProperty)( + windows_core::Interface::as_raw(self), + operationindexinrequest, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricPropertyBatchResult {} +unsafe impl Sync for IFabricPropertyBatchResult {} +#[repr(C)] +pub struct IFabricPropertyBatchResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub GetProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricPropertyEnumerationResult, + IFabricPropertyEnumerationResult_Vtbl, + 0xa42da40d_a637_478d_83f3_2813871234cf +); +impl core::ops::Deref for IFabricPropertyEnumerationResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPropertyEnumerationResult, windows_core::IUnknown); +impl IFabricPropertyEnumerationResult { + pub unsafe fn get_EnumerationStatus(&self) -> super::super::FABRIC_ENUMERATION_STATUS { + (windows_core::Interface::vtable(self).get_EnumerationStatus)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_PropertyCount(&self) -> u32 { + (windows_core::Interface::vtable(self).get_PropertyCount)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn GetProperty( + &self, + index: u32, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetProperty)( + windows_core::Interface::as_raw(self), + index, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricPropertyEnumerationResult {} +unsafe impl Sync for IFabricPropertyEnumerationResult {} +#[repr(C)] +pub struct IFabricPropertyEnumerationResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_EnumerationStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> super::super::FABRIC_ENUMERATION_STATUS, + pub get_PropertyCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, + pub GetProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricPropertyManagementClient, + IFabricPropertyManagementClient_Vtbl, + 0x26e58816_b5d5_4f08_9770_dbf0410c99d6 +); +impl core::ops::Deref for IFabricPropertyManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPropertyManagementClient, windows_core::IUnknown); +impl IFabricPropertyManagementClient { + pub unsafe fn BeginCreateName( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateName)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateName(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateName)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteName( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteName)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteName(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteName)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginNameExists( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginNameExists)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndNameExists(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndNameExists)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginEnumerateSubNames( + &self, + name: P0, + previousresult: P1, + recursive: P2, + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginEnumerateSubNames)( + windows_core::Interface::as_raw(self), + name.param().abi(), + previousresult.param().abi(), + recursive.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndEnumerateSubNames( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndEnumerateSubNames)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginPutPropertyBinary( + &self, + name: P0, + propertyname: P1, + data: &[u8], + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutPropertyBinary)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + data.len().try_into().unwrap(), + core::mem::transmute(data.as_ptr()), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutPropertyBinary(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutPropertyBinary)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginPutPropertyInt64( + &self, + name: P0, + propertyname: P1, + data: i64, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutPropertyInt64)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + data, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutPropertyInt64(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutPropertyInt64)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginPutPropertyDouble( + &self, + name: P0, + propertyname: P1, + data: f64, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutPropertyDouble)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + data, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutPropertyDouble(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutPropertyDouble)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginPutPropertyWString( + &self, + name: P0, + propertyname: P1, + data: P2, + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutPropertyWString)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + data.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutPropertyWString(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutPropertyWString)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginPutPropertyGuid( + &self, + name: P0, + propertyname: P1, + data: *const windows_core::GUID, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutPropertyGuid)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + data, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutPropertyGuid(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutPropertyGuid)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteProperty( + &self, + name: P0, + propertyname: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteProperty)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteProperty(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteProperty)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetPropertyMetadata( + &self, + name: P0, + propertyname: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPropertyMetadata)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPropertyMetadata( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPropertyMetadata)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetProperty( + &self, + name: P0, + propertyname: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetProperty)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetProperty( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetProperty)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginSubmitPropertyBatch( + &self, + name: P0, + operations: &[super::super::FABRIC_PROPERTY_BATCH_OPERATION], + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginSubmitPropertyBatch)( + windows_core::Interface::as_raw(self), + name.param().abi(), + operations.len().try_into().unwrap(), + core::mem::transmute(operations.as_ptr()), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndSubmitPropertyBatch( + &self, + context: P0, + failedoperationindexinrequest: *mut u32, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndSubmitPropertyBatch)( + windows_core::Interface::as_raw(self), + context.param().abi(), + failedoperationindexinrequest, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginEnumerateProperties( + &self, + name: P0, + includevalues: P1, + previousresult: P2, + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginEnumerateProperties)( + windows_core::Interface::as_raw(self), + name.param().abi(), + includevalues.param().abi(), + previousresult.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndEnumerateProperties( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndEnumerateProperties)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricPropertyManagementClient {} +unsafe impl Sync for IFabricPropertyManagementClient {} +#[repr(C)] +pub struct IFabricPropertyManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginCreateName: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeleteName: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginNameExists: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndNameExists: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u8, + ) -> windows_core::HRESULT, + pub BeginEnumerateSubNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOLEAN, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndEnumerateSubNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginPutPropertyBinary: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *const u8, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutPropertyBinary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginPutPropertyInt64: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + i64, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutPropertyInt64: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginPutPropertyDouble: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + f64, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutPropertyDouble: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginPutPropertyWString: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutPropertyWString: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginPutPropertyGuid: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + *const windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutPropertyGuid: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeleteProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPropertyMetadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPropertyMetadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetProperty: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginSubmitPropertyBatch: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *const super::super::FABRIC_PROPERTY_BATCH_OPERATION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndSubmitPropertyBatch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u32, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginEnumerateProperties: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + windows::Win32::Foundation::BOOLEAN, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndEnumerateProperties: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricPropertyManagementClient2, + IFabricPropertyManagementClient2_Vtbl, + 0x04991c28_3f9d_4a49_9322_a56d308965fd +); +impl core::ops::Deref for IFabricPropertyManagementClient2 { + type Target = IFabricPropertyManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricPropertyManagementClient2, + windows_core::IUnknown, + IFabricPropertyManagementClient +); +impl IFabricPropertyManagementClient2 { + pub unsafe fn BeginPutCustomPropertyOperation( + &self, + name: P0, + propertyoperation: *const super::super::FABRIC_PUT_CUSTOM_PROPERTY_OPERATION, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPutCustomPropertyOperation)( + windows_core::Interface::as_raw(self), + name.param().abi(), + propertyoperation, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPutCustomPropertyOperation(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndPutCustomPropertyOperation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricPropertyManagementClient2 {} +unsafe impl Sync for IFabricPropertyManagementClient2 {} +#[repr(C)] +pub struct IFabricPropertyManagementClient2_Vtbl { + pub base__: IFabricPropertyManagementClient_Vtbl, + pub BeginPutCustomPropertyOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const super::super::FABRIC_PUT_CUSTOM_PROPERTY_OPERATION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPutCustomPropertyOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricPropertyMetadataResult, + IFabricPropertyMetadataResult_Vtbl, + 0x33302306_fb8d_4831_b493_57efcc772462 +); +impl core::ops::Deref for IFabricPropertyMetadataResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPropertyMetadataResult, windows_core::IUnknown); +impl IFabricPropertyMetadataResult { + pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY_METADATA { + (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricPropertyMetadataResult {} +unsafe impl Sync for IFabricPropertyMetadataResult {} +#[repr(C)] +pub struct IFabricPropertyMetadataResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Metadata: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_NAMED_PROPERTY_METADATA, +} +windows_core::imp::define_interface!( + IFabricPropertyValueResult, + IFabricPropertyValueResult_Vtbl, + 0x9a518b49_9903_4b8f_834e_1979e9c6745e +); +impl core::ops::Deref for IFabricPropertyValueResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricPropertyValueResult, windows_core::IUnknown); +impl IFabricPropertyValueResult { + pub unsafe fn get_Property(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY { + (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn GetValueAsBinary(&self, bytecount: *mut u32) -> windows_core::Result<*mut u8> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValueAsBinary)( + windows_core::Interface::as_raw(self), + bytecount, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetValueAsInt64(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValueAsInt64)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetValueAsDouble(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValueAsDouble)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetValueAsWString(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValueAsWString)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetValueAsGuid(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValueAsGuid)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricPropertyValueResult {} +unsafe impl Sync for IFabricPropertyValueResult {} +#[repr(C)] +pub struct IFabricPropertyValueResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Property: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_NAMED_PROPERTY, + pub GetValueAsBinary: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut u8, + ) -> windows_core::HRESULT, + pub GetValueAsInt64: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub GetValueAsDouble: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, + pub GetValueAsWString: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub GetValueAsGuid: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows_core::GUID, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient, + IFabricQueryClient_Vtbl, + 0xc629e422_90ba_4efd_8f64_cecf51bc3df0 +); +impl core::ops::Deref for IFabricQueryClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricQueryClient, windows_core::IUnknown); +impl IFabricQueryClient { + pub unsafe fn BeginGetNodeList( + &self, + querydescription: *const super::super::FABRIC_NODE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNodeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNodeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationTypeList( + &self, + querydescription: *const super::super::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationTypeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationTypeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationTypeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetServiceTypeList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceTypeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceTypeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceTypeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationList( + &self, + querydescription: *const super::super::FABRIC_APPLICATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetServiceList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetPartitionList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetReplicaList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetReplicaList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetReplicaList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetReplicaList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedApplicationList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedApplicationList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedApplicationList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedApplicationList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedServicePackageList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedServicePackageList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedServicePackageList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedServicePackageList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedServiceTypeList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedServiceTypeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedServiceTypeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedServiceTypeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedCodePackageList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedCodePackageList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedCodePackageList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedCodePackageList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetDeployedReplicaList( + &self, + querydescription: *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedReplicaList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedReplicaList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedReplicaList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient {} +unsafe impl Sync for IFabricQueryClient {} +#[repr(C)] +pub struct IFabricQueryClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginGetNodeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NODE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNodeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetReplicaList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetReplicaList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedApplicationList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedServicePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedServicePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedServiceTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedServiceTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedCodePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedCodePackageList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetDeployedReplicaList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedReplicaList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient10, + IFabricQueryClient10_Vtbl, + 0x02139da8_7140_42ae_8403_79a551600e63 +); +impl core::ops::Deref for IFabricQueryClient10 { + type Target = IFabricQueryClient9; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient10, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4, + IFabricQueryClient5, + IFabricQueryClient6, + IFabricQueryClient7, + IFabricQueryClient8, + IFabricQueryClient9 +); +impl IFabricQueryClient10 { + pub unsafe fn BeginGetDeployedApplicationPagedList( + &self, + querydescription: *const super::super::FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedApplicationPagedList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedApplicationPagedList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedApplicationPagedList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient10 {} +unsafe impl Sync for IFabricQueryClient10 {} +#[repr(C)] +pub struct IFabricQueryClient10_Vtbl { + pub base__: IFabricQueryClient9_Vtbl, + pub BeginGetDeployedApplicationPagedList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndGetDeployedApplicationPagedList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient2, + IFabricQueryClient2_Vtbl, + 0x4e6d5d61_24c8_4240_a2e8_bcb1fc15d9af +); +impl core::ops::Deref for IFabricQueryClient2 { + type Target = IFabricQueryClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient2, + windows_core::IUnknown, + IFabricQueryClient +); +impl IFabricQueryClient2 { + pub unsafe fn BeginGetDeployedReplicaDetail( + &self, + querydescription : *const super::super:: FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetDeployedReplicaDetail)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetDeployedReplicaDetail( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetDeployedReplicaDetail)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetClusterLoadInformation( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetClusterLoadInformation)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetClusterLoadInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetClusterLoadInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetPartitionLoadInformation( + &self, + querydescription: *const super::super::FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionLoadInformation)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionLoadInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionLoadInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetProvisionedFabricCodeVersionList( + &self, + querydescription: *const super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetProvisionedFabricCodeVersionList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetProvisionedFabricCodeVersionList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetProvisionedFabricCodeVersionList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetProvisionedFabricConfigVersionList( + &self, + querydescription: *const super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetProvisionedFabricConfigVersionList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetProvisionedFabricConfigVersionList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetProvisionedFabricConfigVersionList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient2 {} +unsafe impl Sync for IFabricQueryClient2 {} +#[repr(C)] +pub struct IFabricQueryClient2_Vtbl { + pub base__: IFabricQueryClient_Vtbl, + pub BeginGetDeployedReplicaDetail: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetDeployedReplicaDetail: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetClusterLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetClusterLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetProvisionedFabricCodeVersionList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetProvisionedFabricCodeVersionList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub BeginGetProvisionedFabricConfigVersionList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetProvisionedFabricConfigVersionList: + unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient3, + IFabricQueryClient3_Vtbl, + 0x16f563f3_4017_496e_b0e7_2650de5774b3 +); +impl core::ops::Deref for IFabricQueryClient3 { + type Target = IFabricQueryClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient3, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2 +); +impl IFabricQueryClient3 { + pub unsafe fn BeginGetNodeLoadInformation( + &self, + querydescription: *const super::super::FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNodeLoadInformation)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNodeLoadInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeLoadInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetReplicaLoadInformation( + &self, + querydescription: *const super::super::FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetReplicaLoadInformation)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetReplicaLoadInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetReplicaLoadInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient3 {} +unsafe impl Sync for IFabricQueryClient3 {} +#[repr(C)] +pub struct IFabricQueryClient3_Vtbl { + pub base__: IFabricQueryClient2_Vtbl, + pub BeginGetNodeLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNodeLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetReplicaLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetReplicaLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient4, + IFabricQueryClient4_Vtbl, + 0xab92081d_0d78_410b_9777_0846dba24c10 +); +impl core::ops::Deref for IFabricQueryClient4 { + type Target = IFabricQueryClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient4, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3 +); +impl IFabricQueryClient4 { + pub unsafe fn BeginGetServiceGroupMemberList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceGroupMemberList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceGroupMemberList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceGroupMemberList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetServiceGroupMemberTypeList( + &self, + querydescription: *const super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceGroupMemberTypeList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceGroupMemberTypeList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceGroupMemberTypeList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient4 {} +unsafe impl Sync for IFabricQueryClient4 {} +#[repr(C)] +pub struct IFabricQueryClient4_Vtbl { + pub base__: IFabricQueryClient3_Vtbl, + pub BeginGetServiceGroupMemberList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceGroupMemberList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceGroupMemberTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceGroupMemberTypeList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient5, + IFabricQueryClient5_Vtbl, + 0x75c35e8c_87a2_4810_a401_b50da858fe34 +); +impl core::ops::Deref for IFabricQueryClient5 { + type Target = IFabricQueryClient4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient5, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4 +); +impl IFabricQueryClient5 { + pub unsafe fn BeginGetUnplacedReplicaInformation( + &self, + querydescription : *const super::super:: FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetUnplacedReplicaInformation)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetUnplacedReplicaInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetUnplacedReplicaInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient5 {} +unsafe impl Sync for IFabricQueryClient5 {} +#[repr(C)] +pub struct IFabricQueryClient5_Vtbl { + pub base__: IFabricQueryClient4_Vtbl, + pub BeginGetUnplacedReplicaInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetUnplacedReplicaInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient6, + IFabricQueryClient6_Vtbl, + 0x173b2bb4_09c6_42fb_8754_caa8d43cf1b2 +); +impl core::ops::Deref for IFabricQueryClient6 { + type Target = IFabricQueryClient5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient6, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4, + IFabricQueryClient5 +); +impl IFabricQueryClient6 { + pub unsafe fn EndGetNodeList2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeList2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationList2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationList2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceList2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceList2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionList2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionList2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetReplicaList2( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetReplicaList2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient6 {} +unsafe impl Sync for IFabricQueryClient6 {} +#[repr(C)] +pub struct IFabricQueryClient6_Vtbl { + pub base__: IFabricQueryClient5_Vtbl, + pub EndGetNodeList2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationList2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceList2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionList2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetReplicaList2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient7, + IFabricQueryClient7_Vtbl, + 0x538baa81_ba97_46da_95ac_e1cdd184cc74 +); +impl core::ops::Deref for IFabricQueryClient7 { + type Target = IFabricQueryClient6; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient7, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4, + IFabricQueryClient5, + IFabricQueryClient6 +); +impl IFabricQueryClient7 { + pub unsafe fn BeginGetApplicationLoadInformation( + &self, + querydescription : *const super::super:: FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationLoadInformation)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationLoadInformation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationLoadInformation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient7 {} +unsafe impl Sync for IFabricQueryClient7 {} +#[repr(C)] +pub struct IFabricQueryClient7_Vtbl { + pub base__: IFabricQueryClient6_Vtbl, + pub BeginGetApplicationLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationLoadInformation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient8, + IFabricQueryClient8_Vtbl, + 0x2c850629_6a83_4fc3_8468_c868b87e9a17 +); +impl core::ops::Deref for IFabricQueryClient8 { + type Target = IFabricQueryClient7; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient8, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4, + IFabricQueryClient5, + IFabricQueryClient6, + IFabricQueryClient7 +); +impl IFabricQueryClient8 { + pub unsafe fn BeginGetServiceName( + &self, + querydescription: *const super::super::FABRIC_SERVICE_NAME_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceName)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceName( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceName)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetApplicationName( + &self, + querydescription: *const super::super::FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationName)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationName( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationName)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient8 {} +unsafe impl Sync for IFabricQueryClient8 {} +#[repr(C)] +pub struct IFabricQueryClient8_Vtbl { + pub base__: IFabricQueryClient7_Vtbl, + pub BeginGetServiceName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_NAME_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetApplicationName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricQueryClient9, + IFabricQueryClient9_Vtbl, + 0x76f0b4a5_4941_49d7_993c_ad7afc37c6af +); +impl core::ops::Deref for IFabricQueryClient9 { + type Target = IFabricQueryClient8; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricQueryClient9, + windows_core::IUnknown, + IFabricQueryClient, + IFabricQueryClient2, + IFabricQueryClient3, + IFabricQueryClient4, + IFabricQueryClient5, + IFabricQueryClient6, + IFabricQueryClient7, + IFabricQueryClient8 +); +impl IFabricQueryClient9 { + pub unsafe fn BeginGetApplicationTypePagedList( + &self, + querydescription: *const super::super::PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetApplicationTypePagedList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetApplicationTypePagedList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetApplicationTypePagedList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricQueryClient9 {} +unsafe impl Sync for IFabricQueryClient9 {} +#[repr(C)] +pub struct IFabricQueryClient9_Vtbl { + pub base__: IFabricQueryClient8_Vtbl, + pub BeginGetApplicationTypePagedList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetApplicationTypePagedList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricRepairManagementClient, + IFabricRepairManagementClient_Vtbl, + 0xee483ba5_9018_4c99_9804_be6185db88e6 +); +impl core::ops::Deref for IFabricRepairManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricRepairManagementClient, windows_core::IUnknown); +impl IFabricRepairManagementClient { + pub unsafe fn BeginCreateRepairTask( + &self, + repairtask: *const super::super::FABRIC_REPAIR_TASK, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateRepairTask)( + windows_core::Interface::as_raw(self), + repairtask, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateRepairTask(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndCreateRepairTask)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginCancelRepairTask( + &self, + requestdescription: *const super::super::FABRIC_REPAIR_CANCEL_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCancelRepairTask)( + windows_core::Interface::as_raw(self), + requestdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCancelRepairTask(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndCancelRepairTask)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginForceApproveRepairTask( + &self, + requestdescription: *const super::super::FABRIC_REPAIR_APPROVE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginForceApproveRepairTask)( + windows_core::Interface::as_raw(self), + requestdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndForceApproveRepairTask(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndForceApproveRepairTask)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginDeleteRepairTask( + &self, + requestdescription: *const super::super::FABRIC_REPAIR_DELETE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteRepairTask)( + windows_core::Interface::as_raw(self), + requestdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteRepairTask(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteRepairTask)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUpdateRepairExecutionState( + &self, + repairtask: *const super::super::FABRIC_REPAIR_TASK, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateRepairExecutionState)( + windows_core::Interface::as_raw(self), + repairtask, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateRepairExecutionState(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndUpdateRepairExecutionState)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginGetRepairTaskList( + &self, + querydescription: *const super::super::FABRIC_REPAIR_TASK_QUERY_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetRepairTaskList)( + windows_core::Interface::as_raw(self), + querydescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetRepairTaskList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetRepairTaskList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricRepairManagementClient {} +unsafe impl Sync for IFabricRepairManagementClient {} +#[repr(C)] +pub struct IFabricRepairManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginCreateRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_TASK, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginCancelRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_CANCEL_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCancelRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginForceApproveRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_APPROVE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndForceApproveRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginDeleteRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_DELETE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteRepairTask: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUpdateRepairExecutionState: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_TASK, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateRepairExecutionState: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginGetRepairTaskList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_TASK_QUERY_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetRepairTaskList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricRepairManagementClient2, + IFabricRepairManagementClient2_Vtbl, + 0x5067d775_3baa_48e4_8c72_bb5573cc3fb8 +); +impl core::ops::Deref for IFabricRepairManagementClient2 { + type Target = IFabricRepairManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricRepairManagementClient2, + windows_core::IUnknown, + IFabricRepairManagementClient +); +impl IFabricRepairManagementClient2 { + pub unsafe fn BeginUpdateRepairTaskHealthPolicy( + &self, + updatedescription: *const super::super::FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateRepairTaskHealthPolicy)( + windows_core::Interface::as_raw(self), + updatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateRepairTaskHealthPolicy( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndUpdateRepairTaskHealthPolicy)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricRepairManagementClient2 {} +unsafe impl Sync for IFabricRepairManagementClient2 {} +#[repr(C)] +pub struct IFabricRepairManagementClient2_Vtbl { + pub base__: IFabricRepairManagementClient_Vtbl, + pub BeginUpdateRepairTaskHealthPolicy: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateRepairTaskHealthPolicy: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricReplicaHealthResult, + IFabricReplicaHealthResult_Vtbl, + 0xb4d5f2d9_e5cc_49ae_a6c8_89e8df7b6c15 +); +impl core::ops::Deref for IFabricReplicaHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricReplicaHealthResult, windows_core::IUnknown); +impl IFabricReplicaHealthResult { + pub unsafe fn get_ReplicaHealth(&self) -> *mut super::super::FABRIC_REPLICA_HEALTH { + (windows_core::Interface::vtable(self).get_ReplicaHealth)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricReplicaHealthResult {} +unsafe impl Sync for IFabricReplicaHealthResult {} +#[repr(C)] +pub struct IFabricReplicaHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ReplicaHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_REPLICA_HEALTH, +} +windows_core::imp::define_interface!( + IFabricResolvedServicePartitionResult, + IFabricResolvedServicePartitionResult_Vtbl, + 0xfd0fe113_cdf8_4803_b4a0_32b1b3ef3716 +); +impl core::ops::Deref for IFabricResolvedServicePartitionResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricResolvedServicePartitionResult, + windows_core::IUnknown +); +impl IFabricResolvedServicePartitionResult { + pub unsafe fn get_Partition(&self) -> *mut super::super::FABRIC_RESOLVED_SERVICE_PARTITION { + (windows_core::Interface::vtable(self).get_Partition)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn GetEndpoint( + &self, + ) -> windows_core::Result<*mut super::super::FABRIC_RESOLVED_SERVICE_ENDPOINT> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetEndpoint)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn CompareVersion(&self, other: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CompareVersion)( + windows_core::Interface::as_raw(self), + other.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricResolvedServicePartitionResult {} +unsafe impl Sync for IFabricResolvedServicePartitionResult {} +#[repr(C)] +pub struct IFabricResolvedServicePartitionResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Partition: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_RESOLVED_SERVICE_PARTITION, + pub GetEndpoint: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut super::super::FABRIC_RESOLVED_SERVICE_ENDPOINT, + ) -> windows_core::HRESULT, + pub CompareVersion: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i32, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricRestartDeployedCodePackageResult, + IFabricRestartDeployedCodePackageResult_Vtbl, + 0xfe087dc4_7a6a_41e3_90e9_b734a4cef41f +); +impl core::ops::Deref for IFabricRestartDeployedCodePackageResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricRestartDeployedCodePackageResult, + windows_core::IUnknown +); +impl IFabricRestartDeployedCodePackageResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricRestartDeployedCodePackageResult {} +unsafe impl Sync for IFabricRestartDeployedCodePackageResult {} +#[repr(C)] +pub struct IFabricRestartDeployedCodePackageResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_RESULT, +} +windows_core::imp::define_interface!( + IFabricRestartNodeResult, + IFabricRestartNodeResult_Vtbl, + 0x2f7e9d57_fe07_4e34_93e1_01d5a6298ca9 +); +impl core::ops::Deref for IFabricRestartNodeResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricRestartNodeResult, windows_core::IUnknown); +impl IFabricRestartNodeResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricRestartNodeResult {} +unsafe impl Sync for IFabricRestartNodeResult {} +#[repr(C)] +pub struct IFabricRestartNodeResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, +} +windows_core::imp::define_interface!( + IFabricSecretReferencesResult, + IFabricSecretReferencesResult_Vtbl, + 0xbb8f69de_f667_4fab_820d_274cf4303ab4 +); +impl core::ops::Deref for IFabricSecretReferencesResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricSecretReferencesResult, windows_core::IUnknown); +impl IFabricSecretReferencesResult { + pub unsafe fn get_SecretReferences(&self) -> *mut super::super::FABRIC_SECRET_REFERENCE_LIST { + (windows_core::Interface::vtable(self).get_SecretReferences)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricSecretReferencesResult {} +unsafe impl Sync for IFabricSecretReferencesResult {} +#[repr(C)] +pub struct IFabricSecretReferencesResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_SecretReferences: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SECRET_REFERENCE_LIST, +} +windows_core::imp::define_interface!( + IFabricSecretStoreClient, + IFabricSecretStoreClient_Vtbl, + 0x38c4c723_3815_49d8_bdf2_68bfb536b8c9 +); +impl core::ops::Deref for IFabricSecretStoreClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricSecretStoreClient, windows_core::IUnknown); +impl IFabricSecretStoreClient { + pub unsafe fn BeginGetSecrets( + &self, + secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, + includevalue: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetSecrets)( + windows_core::Interface::as_raw(self), + secretreferences, + includevalue.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetSecrets( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetSecrets)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginSetSecrets( + &self, + secrets: *const super::super::FABRIC_SECRET_LIST, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginSetSecrets)( + windows_core::Interface::as_raw(self), + secrets, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndSetSecrets( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndSetSecrets)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginRemoveSecrets( + &self, + secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRemoveSecrets)( + windows_core::Interface::as_raw(self), + secretreferences, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRemoveSecrets( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndRemoveSecrets)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetSecretVersions( + &self, + secretreferences: *const super::super::FABRIC_SECRET_REFERENCE_LIST, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetSecretVersions)( + windows_core::Interface::as_raw(self), + secretreferences, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetSecretVersions( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetSecretVersions)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricSecretStoreClient {} +unsafe impl Sync for IFabricSecretStoreClient {} +#[repr(C)] +pub struct IFabricSecretStoreClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginGetSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SECRET_REFERENCE_LIST, + windows::Win32::Foundation::BOOLEAN, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginSetSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SECRET_LIST, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndSetSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRemoveSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SECRET_REFERENCE_LIST, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRemoveSecrets: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetSecretVersions: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SECRET_REFERENCE_LIST, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetSecretVersions: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricSecretsResult, + IFabricSecretsResult_Vtbl, + 0xfe15a879_0dbe_4841_9cc6_6e92077cd669 +); +impl core::ops::Deref for IFabricSecretsResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricSecretsResult, windows_core::IUnknown); +impl IFabricSecretsResult { + pub unsafe fn get_Secrets(&self) -> *mut super::super::FABRIC_SECRET_LIST { + (windows_core::Interface::vtable(self).get_Secrets)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricSecretsResult {} +unsafe impl Sync for IFabricSecretsResult {} +#[repr(C)] +pub struct IFabricSecretsResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Secrets: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_SECRET_LIST, +} +windows_core::imp::define_interface!( + IFabricServiceDescriptionResult, + IFabricServiceDescriptionResult_Vtbl, + 0x86b4f744_38c7_4dab_b6b4_11c23734c269 +); +impl core::ops::Deref for IFabricServiceDescriptionResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceDescriptionResult, windows_core::IUnknown); +impl IFabricServiceDescriptionResult { + pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_SERVICE_DESCRIPTION { + (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricServiceDescriptionResult {} +unsafe impl Sync for IFabricServiceDescriptionResult {} +#[repr(C)] +pub struct IFabricServiceDescriptionResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Description: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_DESCRIPTION, +} +windows_core::imp::define_interface!( + IFabricServiceEndpointsVersion, + IFabricServiceEndpointsVersion_Vtbl, + 0x0a673dc5_2297_4fc5_a38f_482d29144fa5 +); +impl core::ops::Deref for IFabricServiceEndpointsVersion { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceEndpointsVersion, windows_core::IUnknown); +impl IFabricServiceEndpointsVersion { + pub unsafe fn Compare(&self, other: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Compare)( + windows_core::Interface::as_raw(self), + other.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricServiceEndpointsVersion {} +unsafe impl Sync for IFabricServiceEndpointsVersion {} +#[repr(C)] +pub struct IFabricServiceEndpointsVersion_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub Compare: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i32, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceGroupDescriptionResult, + IFabricServiceGroupDescriptionResult_Vtbl, + 0x3ca814d4_e067_48b7_9bdc_9be33810416d +); +impl core::ops::Deref for IFabricServiceGroupDescriptionResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceGroupDescriptionResult, + windows_core::IUnknown +); +impl IFabricServiceGroupDescriptionResult { + pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_SERVICE_GROUP_DESCRIPTION { + (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricServiceGroupDescriptionResult {} +unsafe impl Sync for IFabricServiceGroupDescriptionResult {} +#[repr(C)] +pub struct IFabricServiceGroupDescriptionResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Description: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, +} +windows_core::imp::define_interface!( + IFabricServiceGroupManagementClient, + IFabricServiceGroupManagementClient_Vtbl, + 0x2061227e_0281_4baf_9b19_b2dfb2e63bbe +); +impl core::ops::Deref for IFabricServiceGroupManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceGroupManagementClient, + windows_core::IUnknown +); +impl IFabricServiceGroupManagementClient { + pub unsafe fn BeginCreateServiceGroup( + &self, + description: *const super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateServiceGroup)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateServiceGroup(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateServiceGroup)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteServiceGroup( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteServiceGroup)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteServiceGroup(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteServiceGroup)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetServiceGroupDescription( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceGroupDescription)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceGroupDescription( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceGroupDescription)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricServiceGroupManagementClient {} +unsafe impl Sync for IFabricServiceGroupManagementClient {} +#[repr(C)] +pub struct IFabricServiceGroupManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginCreateServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_GROUP_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeleteServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceGroupDescription: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceGroupDescription: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceGroupManagementClient2, + IFabricServiceGroupManagementClient2_Vtbl, + 0x4f0dc42d_8fec_4ea9_a96b_5be1fa1e1d64 +); +impl core::ops::Deref for IFabricServiceGroupManagementClient2 { + type Target = IFabricServiceGroupManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceGroupManagementClient2, + windows_core::IUnknown, + IFabricServiceGroupManagementClient +); +impl IFabricServiceGroupManagementClient2 { + pub unsafe fn BeginUpdateServiceGroup( + &self, + name: P0, + servicegroupupdatedescription: *const super::super::FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateServiceGroup)( + windows_core::Interface::as_raw(self), + name.param().abi(), + servicegroupupdatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateServiceGroup(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateServiceGroup)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceGroupManagementClient2 {} +unsafe impl Sync for IFabricServiceGroupManagementClient2 {} +#[repr(C)] +pub struct IFabricServiceGroupManagementClient2_Vtbl { + pub base__: IFabricServiceGroupManagementClient_Vtbl, + pub BeginUpdateServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const super::super::FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateServiceGroup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceGroupManagementClient3, + IFabricServiceGroupManagementClient3_Vtbl, + 0xcbee0e12_b5a0_44dc_8c3c_c067958f82f6 +); +impl core::ops::Deref for IFabricServiceGroupManagementClient3 { + type Target = IFabricServiceGroupManagementClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceGroupManagementClient3, + windows_core::IUnknown, + IFabricServiceGroupManagementClient, + IFabricServiceGroupManagementClient2 +); +impl IFabricServiceGroupManagementClient3 { + pub unsafe fn BeginCreateServiceGroupFromTemplate( + &self, + applicationname: P0, + servicename: P1, + servicetypename: P2, + initializationdata: &[u8], + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateServiceGroupFromTemplate)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + servicename.param().abi(), + servicetypename.param().abi(), + initializationdata.len().try_into().unwrap(), + core::mem::transmute(initializationdata.as_ptr()), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateServiceGroupFromTemplate( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateServiceGroupFromTemplate)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceGroupManagementClient3 {} +unsafe impl Sync for IFabricServiceGroupManagementClient3 {} +#[repr(C)] +pub struct IFabricServiceGroupManagementClient3_Vtbl { + pub base__: IFabricServiceGroupManagementClient2_Vtbl, + pub BeginCreateServiceGroupFromTemplate: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *const u8, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndCreateServiceGroupFromTemplate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceGroupManagementClient4, + IFabricServiceGroupManagementClient4_Vtbl, + 0x3c73b32e_9a08_48ca_b3a3_993a2029e37a +); +impl core::ops::Deref for IFabricServiceGroupManagementClient4 { + type Target = IFabricServiceGroupManagementClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceGroupManagementClient4, + windows_core::IUnknown, + IFabricServiceGroupManagementClient, + IFabricServiceGroupManagementClient2, + IFabricServiceGroupManagementClient3 +); +impl IFabricServiceGroupManagementClient4 { + pub unsafe fn BeginCreateServiceGroupFromTemplate2( + &self, + servicegroupfromtemplatedescription : *const super::super:: FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateServiceGroupFromTemplate2)( + windows_core::Interface::as_raw(self), + servicegroupfromtemplatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateServiceGroupFromTemplate2( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateServiceGroupFromTemplate2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceGroupManagementClient4 {} +unsafe impl Sync for IFabricServiceGroupManagementClient4 {} +#[repr(C)] +pub struct IFabricServiceGroupManagementClient4_Vtbl { + pub base__: IFabricServiceGroupManagementClient3_Vtbl, + pub BeginCreateServiceGroupFromTemplate2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndCreateServiceGroupFromTemplate2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceHealthResult, + IFabricServiceHealthResult_Vtbl, + 0x52040bd9_a78e_4308_a30e_7114e3684e76 +); +impl core::ops::Deref for IFabricServiceHealthResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceHealthResult, windows_core::IUnknown); +impl IFabricServiceHealthResult { + pub unsafe fn get_ServiceHealth(&self) -> *mut super::super::FABRIC_SERVICE_HEALTH { + (windows_core::Interface::vtable(self).get_ServiceHealth)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricServiceHealthResult {} +unsafe impl Sync for IFabricServiceHealthResult {} +#[repr(C)] +pub struct IFabricServiceHealthResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ServiceHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_HEALTH, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient, + IFabricServiceManagementClient_Vtbl, + 0xf7368189_fd1f_437c_888d_8c89cecc57a0 +); +impl core::ops::Deref for IFabricServiceManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceManagementClient, windows_core::IUnknown); +impl IFabricServiceManagementClient { + pub unsafe fn BeginCreateService( + &self, + description: *const super::super::FABRIC_SERVICE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateService)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateService(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateService)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginCreateServiceFromTemplate( + &self, + applicationname: P0, + servicename: P1, + servicetypename: P2, + initializationdata: &[u8], + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateServiceFromTemplate)( + windows_core::Interface::as_raw(self), + applicationname.param().abi(), + servicename.param().abi(), + servicetypename.param().abi(), + initializationdata.len().try_into().unwrap(), + core::mem::transmute(initializationdata.as_ptr()), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateServiceFromTemplate(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateServiceFromTemplate)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeleteService( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteService)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteService(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteService)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetServiceDescription( + &self, + name: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceDescription)( + windows_core::Interface::as_raw(self), + name.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceDescription( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceDescription)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn RegisterServicePartitionResolutionChangeHandler( + &self, + name: P0, + keytype: super::super::FABRIC_PARTITION_KEY_TYPE, + partitionkey: *const core::ffi::c_void, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RegisterServicePartitionResolutionChangeHandler)( + windows_core::Interface::as_raw(self), + name.param().abi(), + keytype, + partitionkey, + callback.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UnregisterServicePartitionResolutionChangeHandler( + &self, + callbackhandle: i64, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UnregisterServicePartitionResolutionChangeHandler)( + windows_core::Interface::as_raw(self), + callbackhandle, + ) + .ok() + } + pub unsafe fn BeginResolveServicePartition( + &self, + name: P0, + partitionkeytype: super::super::FABRIC_PARTITION_KEY_TYPE, + partitionkey: *const core::ffi::c_void, + previousresult: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginResolveServicePartition)( + windows_core::Interface::as_raw(self), + name.param().abi(), + partitionkeytype, + partitionkey, + previousresult.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndResolveServicePartition( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndResolveServicePartition)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricServiceManagementClient {} +unsafe impl Sync for IFabricServiceManagementClient {} +#[repr(C)] +pub struct IFabricServiceManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginCreateService: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateService: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginCreateServiceFromTemplate: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + super::super::FABRIC_URI, + windows_core::PCWSTR, + u32, + *const u8, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateServiceFromTemplate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeleteService: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteService: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetServiceDescription: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceDescription: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RegisterServicePartitionResolutionChangeHandler: + unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + super::super::FABRIC_PARTITION_KEY_TYPE, + *const core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub UnregisterServicePartitionResolutionChangeHandler: + unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + pub BeginResolveServicePartition: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + super::super::FABRIC_PARTITION_KEY_TYPE, + *const core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndResolveServicePartition: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient2, + IFabricServiceManagementClient2_Vtbl, + 0x9933ed08_5d0c_4aed_bab6_f676bf5be8aa +); +impl core::ops::Deref for IFabricServiceManagementClient2 { + type Target = IFabricServiceManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceManagementClient2, + windows_core::IUnknown, + IFabricServiceManagementClient +); +impl IFabricServiceManagementClient2 { + pub unsafe fn BeginGetServiceManifest( + &self, + applicationtypename: P0, + applicationtypeversion: P1, + servicemanifestname: P2, + timeoutmilliseconds: u32, + callback: P3, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetServiceManifest)( + windows_core::Interface::as_raw(self), + applicationtypename.param().abi(), + applicationtypeversion.param().abi(), + servicemanifestname.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetServiceManifest( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetServiceManifest)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginUpdateService( + &self, + name: P0, + serviceupdatedescription: *const super::super::FABRIC_SERVICE_UPDATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateService)( + windows_core::Interface::as_raw(self), + name.param().abi(), + serviceupdatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateService(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateService)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceManagementClient2 {} +unsafe impl Sync for IFabricServiceManagementClient2 {} +#[repr(C)] +pub struct IFabricServiceManagementClient2_Vtbl { + pub base__: IFabricServiceManagementClient_Vtbl, + pub BeginGetServiceManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + windows_core::PCWSTR, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetServiceManifest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUpdateService: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const super::super::FABRIC_SERVICE_UPDATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateService: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient3, + IFabricServiceManagementClient3_Vtbl, + 0x98ec1156_c249_4f66_8d7c_9a5fa88e8e6d +); +impl core::ops::Deref for IFabricServiceManagementClient3 { + type Target = IFabricServiceManagementClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceManagementClient3, + windows_core::IUnknown, + IFabricServiceManagementClient, + IFabricServiceManagementClient2 +); +impl IFabricServiceManagementClient3 { + pub unsafe fn BeginRemoveReplica( + &self, + description: *const super::super::FABRIC_REMOVE_REPLICA_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRemoveReplica)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRemoveReplica(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRemoveReplica)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRestartReplica( + &self, + description: *const super::super::FABRIC_RESTART_REPLICA_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestartReplica)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestartReplica(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRestartReplica)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceManagementClient3 {} +unsafe impl Sync for IFabricServiceManagementClient3 {} +#[repr(C)] +pub struct IFabricServiceManagementClient3_Vtbl { + pub base__: IFabricServiceManagementClient2_Vtbl, + pub BeginRemoveReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REMOVE_REPLICA_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRemoveReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRestartReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_RESTART_REPLICA_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestartReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient4, + IFabricServiceManagementClient4_Vtbl, + 0x8180db27_7d0b_43b0_82e0_4a8e022fc238 +); +impl core::ops::Deref for IFabricServiceManagementClient4 { + type Target = IFabricServiceManagementClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceManagementClient4, + windows_core::IUnknown, + IFabricServiceManagementClient, + IFabricServiceManagementClient2, + IFabricServiceManagementClient3 +); +impl IFabricServiceManagementClient4 { + pub unsafe fn BeginRegisterServiceNotificationFilter( + &self, + description: *const super::super::FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRegisterServiceNotificationFilter)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRegisterServiceNotificationFilter( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndRegisterServiceNotificationFilter)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginUnregisterServiceNotificationFilter( + &self, + filterid: i64, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUnregisterServiceNotificationFilter)( + windows_core::Interface::as_raw(self), + filterid, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUnregisterServiceNotificationFilter( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUnregisterServiceNotificationFilter)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceManagementClient4 {} +unsafe impl Sync for IFabricServiceManagementClient4 {} +#[repr(C)] +pub struct IFabricServiceManagementClient4_Vtbl { + pub base__: IFabricServiceManagementClient3_Vtbl, + pub BeginRegisterServiceNotificationFilter: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndRegisterServiceNotificationFilter: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) + -> windows_core::HRESULT, + pub BeginUnregisterServiceNotificationFilter: + unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUnregisterServiceNotificationFilter: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient5, + IFabricServiceManagementClient5_Vtbl, + 0xf9a70679_8ca3_4e27_9411_483e0c89b1fa +); +impl core::ops::Deref for IFabricServiceManagementClient5 { + type Target = IFabricServiceManagementClient4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceManagementClient5, + windows_core::IUnknown, + IFabricServiceManagementClient, + IFabricServiceManagementClient2, + IFabricServiceManagementClient3, + IFabricServiceManagementClient4 +); +impl IFabricServiceManagementClient5 { + pub unsafe fn BeginDeleteService2( + &self, + deletedescription: *const super::super::FABRIC_DELETE_SERVICE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeleteService2)( + windows_core::Interface::as_raw(self), + deletedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeleteService2(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeleteService2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceManagementClient5 {} +unsafe impl Sync for IFabricServiceManagementClient5 {} +#[repr(C)] +pub struct IFabricServiceManagementClient5_Vtbl { + pub base__: IFabricServiceManagementClient4_Vtbl, + pub BeginDeleteService2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_DELETE_SERVICE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeleteService2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceManagementClient6, + IFabricServiceManagementClient6_Vtbl, + 0x23e4ee1b_049a_48f5_8dd7_b601eace47de +); +impl core::ops::Deref for IFabricServiceManagementClient6 { + type Target = IFabricServiceManagementClient5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceManagementClient6, + windows_core::IUnknown, + IFabricServiceManagementClient, + IFabricServiceManagementClient2, + IFabricServiceManagementClient3, + IFabricServiceManagementClient4, + IFabricServiceManagementClient5 +); +impl IFabricServiceManagementClient6 { + pub unsafe fn BeginCreateServiceFromTemplate2( + &self, + servicefromtemplatedescription : *const super::super:: FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCreateServiceFromTemplate2)( + windows_core::Interface::as_raw(self), + servicefromtemplatedescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCreateServiceFromTemplate2(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCreateServiceFromTemplate2)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceManagementClient6 {} +unsafe impl Sync for IFabricServiceManagementClient6 {} +#[repr(C)] +pub struct IFabricServiceManagementClient6_Vtbl { + pub base__: IFabricServiceManagementClient5_Vtbl, + pub BeginCreateServiceFromTemplate2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCreateServiceFromTemplate2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceNotification, + IFabricServiceNotification_Vtbl, + 0x8222c825_08ad_4639_afce_a8988cbd6db3 +); +impl core::ops::Deref for IFabricServiceNotification { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceNotification, windows_core::IUnknown); +impl IFabricServiceNotification { + pub unsafe fn get_Notification(&self) -> *mut super::super::FABRIC_SERVICE_NOTIFICATION { + (windows_core::Interface::vtable(self).get_Notification)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn GetVersion(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetVersion)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricServiceNotification {} +unsafe impl Sync for IFabricServiceNotification {} +#[repr(C)] +pub struct IFabricServiceNotification_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Notification: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SERVICE_NOTIFICATION, + pub GetVersion: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceNotificationEventHandler, + IFabricServiceNotificationEventHandler_Vtbl, + 0xa04b7e9a_daab_45d4_8da3_95ef3ab5dbac +); +impl core::ops::Deref for IFabricServiceNotificationEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServiceNotificationEventHandler, + windows_core::IUnknown +); +impl IFabricServiceNotificationEventHandler { + pub unsafe fn OnNotification( + &self, + __midl__ifabricservicenotificationeventhandler0000: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnNotification)( + windows_core::Interface::as_raw(self), + __midl__ifabricservicenotificationeventhandler0000 + .param() + .abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricServiceNotificationEventHandler {} +unsafe impl Sync for IFabricServiceNotificationEventHandler {} +#[repr(C)] +pub struct IFabricServiceNotificationEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnNotification: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServicePartitionResolutionChangeHandler, + IFabricServicePartitionResolutionChangeHandler_Vtbl, + 0xf495715d_8e03_4232_b8d6_1227b39984fc +); +impl core::ops::Deref for IFabricServicePartitionResolutionChangeHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricServicePartitionResolutionChangeHandler, + windows_core::IUnknown +); +impl IFabricServicePartitionResolutionChangeHandler { + pub unsafe fn OnChange( + &self, + source: P0, + handlerid: i64, + partition: P1, + error: windows_core::HRESULT, + ) where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnChange)( + windows_core::Interface::as_raw(self), + source.param().abi(), + handlerid, + partition.param().abi(), + error, + ) + } +} +unsafe impl Send for IFabricServicePartitionResolutionChangeHandler {} +unsafe impl Sync for IFabricServicePartitionResolutionChangeHandler {} +#[repr(C)] +pub struct IFabricServicePartitionResolutionChangeHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnChange: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + windows_core::HRESULT, + ), +} +windows_core::imp::define_interface!( + IFabricStartNodeResult, + IFabricStartNodeResult_Vtbl, + 0x7e9f51a5_88ac_49b8_958d_329e3334802e +); +impl core::ops::Deref for IFabricStartNodeResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStartNodeResult, windows_core::IUnknown); +impl IFabricStartNodeResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricStartNodeResult {} +unsafe impl Sync for IFabricStartNodeResult {} +#[repr(C)] +pub struct IFabricStartNodeResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, +} +windows_core::imp::define_interface!( + IFabricStopNodeResult, + IFabricStopNodeResult_Vtbl, + 0x711d60a6_9623_476c_970c_83059a0b4d55 +); +impl core::ops::Deref for IFabricStopNodeResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStopNodeResult, windows_core::IUnknown); +impl IFabricStopNodeResult { + pub unsafe fn get_Result(&self) -> *mut super::super::FABRIC_NODE_RESULT { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricStopNodeResult {} +unsafe impl Sync for IFabricStopNodeResult {} +#[repr(C)] +pub struct IFabricStopNodeResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_RESULT, +} +windows_core::imp::define_interface!( + IFabricTestCommandStatusResult, + IFabricTestCommandStatusResult_Vtbl, + 0x87798f5c_e600_493a_a926_16b6807378e6 +); +impl core::ops::Deref for IFabricTestCommandStatusResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTestCommandStatusResult, windows_core::IUnknown); +impl IFabricTestCommandStatusResult { + pub unsafe fn get_Result(&self) -> *mut super::super::TEST_COMMAND_QUERY_RESULT_LIST { + (windows_core::Interface::vtable(self).get_Result)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTestCommandStatusResult {} +unsafe impl Sync for IFabricTestCommandStatusResult {} +#[repr(C)] +pub struct IFabricTestCommandStatusResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Result: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::TEST_COMMAND_QUERY_RESULT_LIST, +} +windows_core::imp::define_interface!( + IFabricTestManagementClient, + IFabricTestManagementClient_Vtbl, + 0x0df0f63a_4da0_44fe_81e8_f80cd28e9b28 +); +impl core::ops::Deref for IFabricTestManagementClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTestManagementClient, windows_core::IUnknown); +impl IFabricTestManagementClient { + pub unsafe fn BeginStartPartitionDataLoss( + &self, + invokedatalossdescription : *const super::super:: FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartPartitionDataLoss)( + windows_core::Interface::as_raw(self), + invokedatalossdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartPartitionDataLoss(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartPartitionDataLoss)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetPartitionDataLossProgress( + &self, + operationid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionDataLossProgress)( + windows_core::Interface::as_raw(self), + core::mem::transmute(operationid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionDataLossProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionDataLossProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginStartPartitionQuorumLoss( + &self, + invokequorumlossdescription : *const super::super:: FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartPartitionQuorumLoss)( + windows_core::Interface::as_raw(self), + invokequorumlossdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartPartitionQuorumLoss(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartPartitionQuorumLoss)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetPartitionQuorumLossProgress( + &self, + operationid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionQuorumLossProgress)( + windows_core::Interface::as_raw(self), + core::mem::transmute(operationid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionQuorumLossProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionQuorumLossProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginStartPartitionRestart( + &self, + restartpartitiondescription : *const super::super:: FABRIC_START_PARTITION_RESTART_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartPartitionRestart)( + windows_core::Interface::as_raw(self), + restartpartitiondescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartPartitionRestart(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartPartitionRestart)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetPartitionRestartProgress( + &self, + operationid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetPartitionRestartProgress)( + windows_core::Interface::as_raw(self), + core::mem::transmute(operationid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetPartitionRestartProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetPartitionRestartProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetTestCommandStatusList( + &self, + operationid: *const super::super::FABRIC_TEST_COMMAND_LIST_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetTestCommandStatusList)( + windows_core::Interface::as_raw(self), + operationid, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetTestCommandStatusList( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetTestCommandStatusList)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginCancelTestCommand( + &self, + invokedatalossdescription: *const super::super::FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCancelTestCommand)( + windows_core::Interface::as_raw(self), + invokedatalossdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCancelTestCommand(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndCancelTestCommand)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricTestManagementClient {} +unsafe impl Sync for IFabricTestManagementClient {} +#[repr(C)] +pub struct IFabricTestManagementClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginStartPartitionDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartPartitionDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionDataLossProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionDataLossProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStartPartitionQuorumLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartPartitionQuorumLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionQuorumLossProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndGetPartitionQuorumLossProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStartPartitionRestart: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_PARTITION_RESTART_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartPartitionRestart: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetPartitionRestartProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetPartitionRestartProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetTestCommandStatusList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_TEST_COMMAND_LIST_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetTestCommandStatusList: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginCancelTestCommand: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCancelTestCommand: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTestManagementClient2, + IFabricTestManagementClient2_Vtbl, + 0x1222b1ff_ae51_43b3_bbdf_439e7f61ca1a +); +impl core::ops::Deref for IFabricTestManagementClient2 { + type Target = IFabricTestManagementClient; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricTestManagementClient2, + windows_core::IUnknown, + IFabricTestManagementClient +); +impl IFabricTestManagementClient2 { + pub unsafe fn BeginStartChaos( + &self, + restartpartitiondescription: *const super::super::FABRIC_START_CHAOS_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartChaos)( + windows_core::Interface::as_raw(self), + restartpartitiondescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartChaos(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartChaos)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginStopChaos( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStopChaos)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStopChaos(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStopChaos)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetChaosReport( + &self, + getchaosreportdescription: *const super::super::FABRIC_GET_CHAOS_REPORT_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetChaosReport)( + windows_core::Interface::as_raw(self), + getchaosreportdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetChaosReport( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetChaosReport)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricTestManagementClient2 {} +unsafe impl Sync for IFabricTestManagementClient2 {} +#[repr(C)] +pub struct IFabricTestManagementClient2_Vtbl { + pub base__: IFabricTestManagementClient_Vtbl, + pub BeginStartChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_START_CHAOS_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginStopChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStopChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetChaosReport: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_GET_CHAOS_REPORT_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetChaosReport: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTestManagementClient3, + IFabricTestManagementClient3_Vtbl, + 0xa4b94afd_0cb5_4010_8995_e58e9b6ca373 +); +impl core::ops::Deref for IFabricTestManagementClient3 { + type Target = IFabricTestManagementClient2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricTestManagementClient3, + windows_core::IUnknown, + IFabricTestManagementClient, + IFabricTestManagementClient2 +); +impl IFabricTestManagementClient3 { + pub unsafe fn BeginStartNodeTransition( + &self, + description: *const super::super::FABRIC_NODE_TRANSITION_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginStartNodeTransition)( + windows_core::Interface::as_raw(self), + description, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndStartNodeTransition(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndStartNodeTransition)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetNodeTransitionProgress( + &self, + operationid: windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNodeTransitionProgress)( + windows_core::Interface::as_raw(self), + core::mem::transmute(operationid), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNodeTransitionProgress( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNodeTransitionProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricTestManagementClient3 {} +unsafe impl Sync for IFabricTestManagementClient3 {} +#[repr(C)] +pub struct IFabricTestManagementClient3_Vtbl { + pub base__: IFabricTestManagementClient2_Vtbl, + pub BeginStartNodeTransition: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_NODE_TRANSITION_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndStartNodeTransition: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetNodeTransitionProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::GUID, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNodeTransitionProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTestManagementClient4, + IFabricTestManagementClient4_Vtbl, + 0xb96aa7d4_acc0_4814_89dc_561b0cbb6028 +); +impl core::ops::Deref for IFabricTestManagementClient4 { + type Target = IFabricTestManagementClient3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricTestManagementClient4, + windows_core::IUnknown, + IFabricTestManagementClient, + IFabricTestManagementClient2, + IFabricTestManagementClient3 +); +impl IFabricTestManagementClient4 { + pub unsafe fn BeginGetChaos( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetChaos)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetChaos( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetChaos)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginGetChaosSchedule( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetChaosSchedule)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetChaosSchedule( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetChaosSchedule)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginSetChaosSchedule( + &self, + setchaosscheduledescription: *const super::super::FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginSetChaosSchedule)( + windows_core::Interface::as_raw(self), + setchaosscheduledescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndSetChaosSchedule(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndSetChaosSchedule)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginGetChaosEvents( + &self, + chaoseventsdescription: *const super::super::FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetChaosEvents)( + windows_core::Interface::as_raw(self), + chaoseventsdescription, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetChaosEvents( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetChaosEvents)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricTestManagementClient4 {} +unsafe impl Sync for IFabricTestManagementClient4 {} +#[repr(C)] +pub struct IFabricTestManagementClient4_Vtbl { + pub base__: IFabricTestManagementClient3_Vtbl, + pub BeginGetChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetChaos: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetChaosSchedule: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetChaosSchedule: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginSetChaosSchedule: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndSetChaosSchedule: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginGetChaosEvents: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetChaosEvents: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricUpgradeOrchestrationServiceStateResult, + IFabricUpgradeOrchestrationServiceStateResult_Vtbl, + 0x413968aa_2eb7_4023_b9dc_0f2160b76a6d +); +impl core::ops::Deref for IFabricUpgradeOrchestrationServiceStateResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricUpgradeOrchestrationServiceStateResult, + windows_core::IUnknown +); +impl IFabricUpgradeOrchestrationServiceStateResult { + pub unsafe fn get_State( + &self, + ) -> *mut super::super::FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { + (windows_core::Interface::vtable(self).get_State)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricUpgradeOrchestrationServiceStateResult {} +unsafe impl Sync for IFabricUpgradeOrchestrationServiceStateResult {} +#[repr(C)] +pub struct IFabricUpgradeOrchestrationServiceStateResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_State: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE, +} +windows_core::imp::define_interface!( + IFabricUpgradeProgressResult, + IFabricUpgradeProgressResult_Vtbl, + 0x2adb07db_f7db_4621_9afc_daabe1e53bf8 +); +impl core::ops::Deref for IFabricUpgradeProgressResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricUpgradeProgressResult, windows_core::IUnknown); +impl IFabricUpgradeProgressResult { + pub unsafe fn get_TargetCodeVersion(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_TargetCodeVersion)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_TargetConfigVersion(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_TargetConfigVersion)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_UpgradeState(&self) -> super::super::FABRIC_UPGRADE_STATE { + (windows_core::Interface::vtable(self).get_UpgradeState)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn GetUpgradeDomains( + &self, + itemcount: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetUpgradeDomains)( + windows_core::Interface::as_raw(self), + itemcount, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetChangedUpgradeDomains( + &self, + previousprogress: P0, + itemcount: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION> + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetChangedUpgradeDomains)( + windows_core::Interface::as_raw(self), + previousprogress.param().abi(), + itemcount, + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricUpgradeProgressResult {} +unsafe impl Sync for IFabricUpgradeProgressResult {} +#[repr(C)] +pub struct IFabricUpgradeProgressResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_TargetCodeVersion: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_TargetConfigVersion: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_UpgradeState: + unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_UPGRADE_STATE, + pub GetUpgradeDomains: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, + ) -> windows_core::HRESULT, + pub GetChangedUpgradeDomains: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricUpgradeProgressResult2, + IFabricUpgradeProgressResult2_Vtbl, + 0x9cc0aaf3_0f6c_40a3_85ac_38338dd36d75 +); +impl core::ops::Deref for IFabricUpgradeProgressResult2 { + type Target = IFabricUpgradeProgressResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricUpgradeProgressResult2, + windows_core::IUnknown, + IFabricUpgradeProgressResult +); +impl IFabricUpgradeProgressResult2 { + pub unsafe fn get_RollingUpgradeMode(&self) -> super::super::FABRIC_ROLLING_UPGRADE_MODE { + (windows_core::Interface::vtable(self).get_RollingUpgradeMode)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_NextUpgradeDomain(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_NextUpgradeDomain)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricUpgradeProgressResult2 {} +unsafe impl Sync for IFabricUpgradeProgressResult2 {} +#[repr(C)] +pub struct IFabricUpgradeProgressResult2_Vtbl { + pub base__: IFabricUpgradeProgressResult_Vtbl, + pub get_RollingUpgradeMode: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> super::super::FABRIC_ROLLING_UPGRADE_MODE, + pub get_NextUpgradeDomain: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, +} +windows_core::imp::define_interface!( + IFabricUpgradeProgressResult3, + IFabricUpgradeProgressResult3_Vtbl, + 0xdc3346ef_d2ef_40c1_807b_1ca8d2388b47 +); +impl core::ops::Deref for IFabricUpgradeProgressResult3 { + type Target = IFabricUpgradeProgressResult2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricUpgradeProgressResult3, + windows_core::IUnknown, + IFabricUpgradeProgressResult, + IFabricUpgradeProgressResult2 +); +impl IFabricUpgradeProgressResult3 { + pub unsafe fn get_UpgradeProgress(&self) -> *mut super::super::FABRIC_UPGRADE_PROGRESS { + (windows_core::Interface::vtable(self).get_UpgradeProgress)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricUpgradeProgressResult3 {} +unsafe impl Sync for IFabricUpgradeProgressResult3 {} +#[repr(C)] +pub struct IFabricUpgradeProgressResult3_Vtbl { + pub base__: IFabricUpgradeProgressResult2_Vtbl, + pub get_UpgradeProgress: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_UPGRADE_PROGRESS, +} +pub const FabricClient: windows_core::GUID = + windows_core::GUID::from_u128(0x75f087fa_37f1_4984_b513_724da5b02197); pub trait IFabricApplicationHealthResult_Impl: Sized { fn get_ApplicationHealth(&self) -> *mut super::super::FABRIC_APPLICATION_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -457,7 +13211,6 @@ impl IFabricApplicationManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricApplicationManagementClient10_Impl: Sized + IFabricApplicationManagementClient9_Impl { @@ -472,9 +13225,7 @@ pub trait IFabricApplicationManagementClient10_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationManagementClient10 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationManagementClient10_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1047,7 +13798,6 @@ impl IFabricApplicationManagementClient5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricApplicationManagementClient6_Impl: Sized + IFabricApplicationManagementClient5_Impl { @@ -1062,9 +13812,7 @@ pub trait IFabricApplicationManagementClient6_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationManagementClient6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationManagementClient6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1128,7 +13876,6 @@ impl IFabricApplicationManagementClient6_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricApplicationManagementClient7_Impl: Sized + IFabricApplicationManagementClient6_Impl { @@ -1143,9 +13890,7 @@ pub trait IFabricApplicationManagementClient7_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationManagementClient7 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationManagementClient7_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1210,7 +13955,6 @@ impl IFabricApplicationManagementClient7_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricApplicationManagementClient8_Impl: Sized + IFabricApplicationManagementClient7_Impl { @@ -1225,9 +13969,7 @@ pub trait IFabricApplicationManagementClient8_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationManagementClient8 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationManagementClient8_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1293,7 +14035,6 @@ impl IFabricApplicationManagementClient8_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricApplicationManagementClient9_Impl: Sized + IFabricApplicationManagementClient8_Impl { @@ -1308,9 +14049,7 @@ pub trait IFabricApplicationManagementClient9_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricApplicationManagementClient9 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricApplicationManagementClient9_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1591,13 +14330,10 @@ impl IFabricApplicationUpgradeProgressResult3_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricChaosDescriptionResult_Impl: Sized { fn get_ChaosDescriptionResult(&self) -> *mut super::super::FABRIC_CHAOS_DESCRIPTION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricChaosDescriptionResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricChaosDescriptionResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1654,13 +14390,10 @@ impl IFabricChaosEventsSegmentResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricChaosReportResult_Impl: Sized { fn get_ChaosReportResult(&self) -> *mut super::super::FABRIC_CHAOS_REPORT; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricChaosReportResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricChaosReportResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1687,15 +14420,12 @@ impl IFabricChaosReportResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricChaosScheduleDescriptionResult_Impl: Sized { fn get_ChaosScheduleDescriptionResult( &self, ) -> *mut super::super::FABRIC_CHAOS_SCHEDULE_DESCRIPTION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricChaosScheduleDescriptionResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricChaosScheduleDescriptionResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2129,7 +14859,6 @@ impl IFabricClusterManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricClusterManagementClient10_Impl: Sized + IFabricClusterManagementClient9_Impl { @@ -2144,9 +14873,7 @@ pub trait IFabricClusterManagementClient10_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricClusterManagementClient10 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricClusterManagementClient10_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3359,7 +16086,6 @@ impl IFabricClusterManagementClient5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricClusterManagementClient6_Impl: Sized + IFabricClusterManagementClient5_Impl { @@ -3374,9 +16100,7 @@ pub trait IFabricClusterManagementClient6_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricClusterManagementClient6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricClusterManagementClient6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3431,7 +16155,6 @@ impl IFabricClusterManagementClient6_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricClusterManagementClient7_Impl: Sized + IFabricClusterManagementClient6_Impl { @@ -3482,9 +16205,7 @@ pub trait IFabricClusterManagementClient7_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricClusterManagementClient7 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricClusterManagementClient7_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3741,7 +16462,6 @@ impl IFabricClusterManagementClient7_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricClusterManagementClient8_Impl: Sized + IFabricClusterManagementClient7_Impl { @@ -3756,9 +16476,7 @@ pub trait IFabricClusterManagementClient8_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricClusterManagementClient8 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricClusterManagementClient8_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3830,7 +16548,6 @@ impl IFabricClusterManagementClient8_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricClusterManagementClient9_Impl: Sized + IFabricClusterManagementClient8_Impl { @@ -3854,9 +16571,7 @@ pub trait IFabricClusterManagementClient9_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricClusterManagementClient9 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricClusterManagementClient9_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3993,15 +16708,12 @@ impl IFabricClusterManagementClient9_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricDeployedApplicationHealthResult_Impl: Sized { fn get_DeployedApplicationHealth( &self, ) -> *mut super::super::FABRIC_DEPLOYED_APPLICATION_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricDeployedApplicationHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricDeployedApplicationHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -4028,15 +16740,12 @@ impl IFabricDeployedApplicationHealthResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricDeployedServicePackageHealthResult_Impl: Sized { fn get_DeployedServicePackageHealth( &self, ) -> *mut super::super::FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricDeployedServicePackageHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricDeployedServicePackageHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -4755,13 +17464,10 @@ impl IFabricGetClusterHealthChunkResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetClusterLoadInformationResult_Impl: Sized { fn get_ClusterLoadInformation(&self) -> *mut super::super::FABRIC_CLUSTER_LOAD_INFORMATION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetClusterLoadInformationResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetClusterLoadInformationResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -4871,15 +17577,12 @@ impl IFabricGetDeployedApplicationPagedListResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetDeployedCodePackageListResult_Impl: Sized { fn get_DeployedCodePackageList( &self, ) -> *mut super::super::FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetDeployedCodePackageListResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetDeployedCodePackageListResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5261,13 +17964,10 @@ impl IFabricGetNetworkNodeListResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetNodeListResult_Impl: Sized { fn get_NodeList(&self) -> *mut super::super::FABRIC_NODE_QUERY_RESULT_LIST; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetNodeListResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetNodeListResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5294,13 +17994,10 @@ impl IFabricGetNodeListResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetNodeListResult2_Impl: Sized + IFabricGetNodeListResult_Impl { fn get_PagingStatus(&self) -> *mut super::super::FABRIC_PAGING_STATUS; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetNodeListResult2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetNodeListResult2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5328,13 +18025,10 @@ impl IFabricGetNodeListResult2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetNodeLoadInformationResult_Impl: Sized { fn get_NodeLoadInformation(&self) -> *mut super::super::FABRIC_NODE_LOAD_INFORMATION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetNodeLoadInformationResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetNodeLoadInformationResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5422,13 +18116,10 @@ impl IFabricGetPartitionListResult2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetPartitionLoadInformationResult_Impl: Sized { fn get_PartitionLoadInformation(&self) -> *mut super::super::FABRIC_PARTITION_LOAD_INFORMATION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetPartitionLoadInformationResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetPartitionLoadInformationResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5525,13 +18216,10 @@ impl IFabricGetProvisionedConfigVersionListResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetRepairTaskListResult_Impl: Sized { fn get_Tasks(&self) -> *mut super::super::FABRIC_REPAIR_TASK_LIST; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetRepairTaskListResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetRepairTaskListResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5619,13 +18307,10 @@ impl IFabricGetReplicaListResult2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricGetReplicaLoadInformationResult_Impl: Sized { fn get_ReplicaLoadInformation(&self) -> *mut super::super::FABRIC_REPLICA_LOAD_INFORMATION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricGetReplicaLoadInformationResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricGetReplicaLoadInformationResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5899,7 +18584,6 @@ impl IFabricGetUnplacedReplicaInformationResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricHealthClient_Impl: Sized { fn ReportHealth( &self, @@ -5997,9 +18681,7 @@ pub trait IFabricHealthClient_Impl: Sized { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricHealthClient {} -#[cfg(feature = "Win32_Foundation")] impl IFabricHealthClient_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -6466,7 +19148,6 @@ impl IFabricHealthClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricHealthClient2_Impl: Sized + IFabricHealthClient_Impl { fn BeginGetClusterHealth2( &self, @@ -6549,9 +19230,7 @@ pub trait IFabricHealthClient2_Impl: Sized + IFabricHealthClient_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricHealthClient2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricHealthClient2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -6983,7 +19662,6 @@ impl IFabricHealthClient2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricHealthClient3_Impl: Sized + IFabricHealthClient2_Impl { fn BeginGetClusterHealthChunk( &self, @@ -6996,9 +19674,7 @@ pub trait IFabricHealthClient3_Impl: Sized + IFabricHealthClient2_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricHealthClient3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricHealthClient3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -7065,7 +19741,6 @@ impl IFabricHealthClient3_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricHealthClient4_Impl: Sized + IFabricHealthClient3_Impl { fn ReportHealth2( &self, @@ -7073,9 +19748,7 @@ pub trait IFabricHealthClient4_Impl: Sized + IFabricHealthClient3_Impl { sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricHealthClient4 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricHealthClient4_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -7869,13 +20542,10 @@ impl IFabricNetworkManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricNodeHealthResult_Impl: Sized { fn get_NodeHealth(&self) -> *mut super::super::FABRIC_NODE_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricNodeHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricNodeHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -7992,13 +20662,10 @@ impl IFabricPartitionDataLossProgressResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricPartitionHealthResult_Impl: Sized { fn get_PartitionHealth(&self) -> *mut super::super::FABRIC_PARTITION_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricPartitionHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricPartitionHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -8196,7 +20863,6 @@ impl IFabricPropertyEnumerationResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricPropertyManagementClient_Impl: Sized { fn BeginCreateName( &self, @@ -8360,9 +21026,7 @@ pub trait IFabricPropertyManagementClient_Impl: Sized { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricPropertyManagementClient {} -#[cfg(feature = "Win32_Foundation")] impl IFabricPropertyManagementClient_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -9071,7 +21735,6 @@ impl IFabricPropertyManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricPropertyManagementClient2_Impl: Sized + IFabricPropertyManagementClient_Impl { @@ -9087,9 +21750,7 @@ pub trait IFabricPropertyManagementClient2_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricPropertyManagementClient2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricPropertyManagementClient2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -9155,13 +21816,10 @@ impl IFabricPropertyManagementClient2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricPropertyMetadataResult_Impl: Sized { fn get_Metadata(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY_METADATA; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricPropertyMetadataResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricPropertyMetadataResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -9188,7 +21846,6 @@ impl IFabricPropertyMetadataResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricPropertyValueResult_Impl: Sized { fn get_Property(&self) -> *mut super::super::FABRIC_NAMED_PROPERTY; fn GetValueAsBinary(&self, bytecount: *mut u32) -> windows_core::Result<*mut u8>; @@ -9197,9 +21854,7 @@ pub trait IFabricPropertyValueResult_Impl: Sized { fn GetValueAsWString(&self) -> windows_core::Result; fn GetValueAsGuid(&self) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricPropertyValueResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricPropertyValueResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -10082,7 +22737,6 @@ impl IFabricQueryClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient10_Impl: Sized + IFabricQueryClient9_Impl { fn BeginGetDeployedApplicationPagedList( &self, @@ -10095,9 +22749,7 @@ pub trait IFabricQueryClient10_Impl: Sized + IFabricQueryClient9_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient10 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient10_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -10801,7 +23453,6 @@ impl IFabricQueryClient4_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient5_Impl: Sized + IFabricQueryClient4_Impl { fn BeginGetUnplacedReplicaInformation( &self, @@ -10814,9 +23465,7 @@ pub trait IFabricQueryClient5_Impl: Sized + IFabricQueryClient4_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient5 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient5_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -10893,7 +23542,6 @@ impl IFabricQueryClient5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient6_Impl: Sized + IFabricQueryClient5_Impl { fn EndGetNodeList2( &self, @@ -10916,9 +23564,7 @@ pub trait IFabricQueryClient6_Impl: Sized + IFabricQueryClient5_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -11053,7 +23699,6 @@ impl IFabricQueryClient6_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient7_Impl: Sized + IFabricQueryClient6_Impl { fn BeginGetApplicationLoadInformation( &self, @@ -11066,9 +23711,7 @@ pub trait IFabricQueryClient7_Impl: Sized + IFabricQueryClient6_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient7 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient7_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -11147,7 +23790,6 @@ impl IFabricQueryClient7_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient8_Impl: Sized + IFabricQueryClient7_Impl { fn BeginGetServiceName( &self, @@ -11170,9 +23812,7 @@ pub trait IFabricQueryClient8_Impl: Sized + IFabricQueryClient7_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient8 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient8_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -11294,7 +23934,6 @@ impl IFabricQueryClient8_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricQueryClient9_Impl: Sized + IFabricQueryClient8_Impl { fn BeginGetApplicationTypePagedList( &self, @@ -11307,9 +23946,7 @@ pub trait IFabricQueryClient9_Impl: Sized + IFabricQueryClient8_Impl { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricQueryClient9 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricQueryClient9_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -11386,7 +24023,6 @@ impl IFabricQueryClient9_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricRepairManagementClient_Impl: Sized { fn BeginCreateRepairTask( &self, @@ -11449,9 +24085,7 @@ pub trait IFabricRepairManagementClient_Impl: Sized { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricRepairManagementClient {} -#[cfg(feature = "Win32_Foundation")] impl IFabricRepairManagementClient_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -11764,7 +24398,6 @@ impl IFabricRepairManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricRepairManagementClient2_Impl: Sized + IFabricRepairManagementClient_Impl { fn BeginUpdateRepairTaskHealthPolicy( &self, @@ -11777,9 +24410,7 @@ pub trait IFabricRepairManagementClient2_Impl: Sized + IFabricRepairManagementCl context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricRepairManagementClient2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricRepairManagementClient2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -12052,7 +24683,6 @@ impl IFabricSecretReferencesResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricSecretStoreClient_Impl: Sized { fn BeginGetSecrets( &self, @@ -12096,9 +24726,7 @@ pub trait IFabricSecretStoreClient_Impl: Sized { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricSecretStoreClient {} -#[cfg(feature = "Win32_Foundation")] impl IFabricSecretStoreClient_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -12891,13 +25519,10 @@ impl IFabricServiceGroupManagementClient4_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricServiceHealthResult_Impl: Sized { fn get_ServiceHealth(&self) -> *mut super::super::FABRIC_SERVICE_HEALTH; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricServiceHealthResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricServiceHealthResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -13715,7 +26340,6 @@ impl IFabricServiceManagementClient4_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricServiceManagementClient5_Impl: Sized + IFabricServiceManagementClient4_Impl { @@ -13730,9 +26354,7 @@ pub trait IFabricServiceManagementClient5_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricServiceManagementClient5 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricServiceManagementClient5_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -13795,7 +26417,6 @@ impl IFabricServiceManagementClient5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricServiceManagementClient6_Impl: Sized + IFabricServiceManagementClient5_Impl { @@ -13810,9 +26431,7 @@ pub trait IFabricServiceManagementClient6_Impl: context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricServiceManagementClient6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricServiceManagementClient6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -14106,7 +26725,6 @@ impl IFabricTestCommandStatusResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricTestManagementClient_Impl: Sized { fn BeginStartPartitionDataLoss( &self, @@ -14189,9 +26807,7 @@ pub trait IFabricTestManagementClient_Impl: Sized { context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricTestManagementClient {} -#[cfg(feature = "Win32_Foundation")] impl IFabricTestManagementClient_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -14602,7 +27218,6 @@ impl IFabricTestManagementClient_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricTestManagementClient2_Impl: Sized + IFabricTestManagementClient_Impl { fn BeginStartChaos( &self, @@ -14634,9 +27249,7 @@ pub trait IFabricTestManagementClient2_Impl: Sized + IFabricTestManagementClient context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricTestManagementClient2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricTestManagementClient2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -14788,7 +27401,6 @@ impl IFabricTestManagementClient2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricTestManagementClient3_Impl: Sized + IFabricTestManagementClient2_Impl { fn BeginStartNodeTransition( &self, @@ -14811,9 +27423,7 @@ pub trait IFabricTestManagementClient3_Impl: Sized + IFabricTestManagementClient context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricTestManagementClient3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricTestManagementClient3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -14924,7 +27534,6 @@ impl IFabricTestManagementClient3_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricTestManagementClient4_Impl: Sized + IFabricTestManagementClient3_Impl { fn BeginGetChaos( &self, @@ -14965,9 +27574,7 @@ pub trait IFabricTestManagementClient4_Impl: Sized + IFabricTestManagementClient context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricTestManagementClient4 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricTestManagementClient4_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/mod.rs b/crates/libs/com/src/ServiceFabric/FabricCommon.rs similarity index 51% rename from crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/mod.rs rename to crates/libs/com/src/ServiceFabric/FabricCommon.rs index 9b567624..04fe27ce 100644 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/mod.rs +++ b/crates/libs/com/src/ServiceFabric/FabricCommon.rs @@ -1,11 +1,12 @@ -// Bindings generated by `windows-bindgen` 0.56.0 +// Bindings generated by `windows-bindgen` 0.57.0 -#[cfg(feature = "ServiceFabric_FabricCommon_FabricClient")] -pub mod FabricClient; -#[cfg(feature = "ServiceFabric_FabricCommon_FabricRuntime")] -pub mod FabricRuntime; -#[cfg(feature = "ServiceFabric_FabricCommon_FabricTransport")] -pub mod FabricTransport; +#![allow( + non_snake_case, + non_upper_case_globals, + non_camel_case_types, + dead_code, + clippy::all +)] #[inline] pub unsafe fn FabricDecryptText( encryptedtext: P0, @@ -22,7 +23,7 @@ where decryptedtext: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricDecryptText( encryptedtext.param().abi(), certstorelocation, @@ -44,7 +45,7 @@ where decryptedvalue: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricDecryptValue(encryptedvalue.param().abi(), &mut result__) .and_then(|| windows_core::Type::from_abi(result__)) } @@ -73,7 +74,7 @@ where encryptedvalue: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricEncryptText( text.param().abi(), certthumbprint.param().abi(), @@ -104,7 +105,7 @@ where encryptedvalue: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricEncryptText2( text.param().abi(), certfilepath.param().abi(), @@ -133,7 +134,7 @@ where encryptedvalue: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricEncryptValue( certthumbprint.param().abi(), certstorename.param().abi(), @@ -150,7 +151,7 @@ pub unsafe fn FabricGetLastErrorMessage() -> windows_core::Result windows_core::HRESULT; } - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FabricGetLastErrorMessage(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!( @@ -158,10 +159,10 @@ windows_core::imp::define_interface!( IFabricAsyncOperationCallback_Vtbl, 0x86f08d7e_14dd_4575_8489_b1d5d679029c ); -impl std::ops::Deref for IFabricAsyncOperationCallback { +impl core::ops::Deref for IFabricAsyncOperationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFabricAsyncOperationCallback, windows_core::IUnknown); @@ -188,26 +189,24 @@ windows_core::imp::define_interface!( IFabricAsyncOperationContext_Vtbl, 0x841720bf_c9e8_4e6f_9c3f_6b7f4ac73bcd ); -impl std::ops::Deref for IFabricAsyncOperationContext { +impl core::ops::Deref for IFabricAsyncOperationContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFabricAsyncOperationContext, windows_core::IUnknown); impl IFabricAsyncOperationContext { - #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCompleted(&self) -> windows::Win32::Foundation::BOOLEAN { (windows_core::Interface::vtable(self).IsCompleted)(windows_core::Interface::as_raw(self)) } - #[cfg(feature = "Win32_Foundation")] pub unsafe fn CompletedSynchronously(&self) -> windows::Win32::Foundation::BOOLEAN { (windows_core::Interface::vtable(self).CompletedSynchronously)( windows_core::Interface::as_raw(self), ) } pub unsafe fn Callback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Callback)( windows_core::Interface::as_raw(self), &mut result__, @@ -223,16 +222,10 @@ unsafe impl Sync for IFabricAsyncOperationContext {} #[repr(C)] pub struct IFabricAsyncOperationContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - #[cfg(feature = "Win32_Foundation")] pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows::Win32::Foundation::BOOLEAN, - #[cfg(not(feature = "Win32_Foundation"))] - IsCompleted: usize, - #[cfg(feature = "Win32_Foundation")] pub CompletedSynchronously: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows::Win32::Foundation::BOOLEAN, - #[cfg(not(feature = "Win32_Foundation"))] - CompletedSynchronously: usize, pub Callback: unsafe extern "system" fn( *mut core::ffi::c_void, *mut *mut core::ffi::c_void, @@ -244,10 +237,10 @@ windows_core::imp::define_interface!( IFabricGetReplicatorStatusResult_Vtbl, 0x30e10c61_a710_4f99_a623_bb1403265186 ); -impl std::ops::Deref for IFabricGetReplicatorStatusResult { +impl core::ops::Deref for IFabricGetReplicatorStatusResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFabricGetReplicatorStatusResult, windows_core::IUnknown); @@ -273,10 +266,10 @@ windows_core::imp::define_interface!( IFabricStringListResult_Vtbl, 0xafab1c53_757b_4b0e_8b7e_237aeee6bfe9 ); -impl std::ops::Deref for IFabricStringListResult { +impl core::ops::Deref for IFabricStringListResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFabricStringListResult, windows_core::IUnknown); @@ -285,7 +278,7 @@ impl IFabricStringListResult { &self, itemcount: *mut u32, ) -> windows_core::Result<*mut windows_core::PCWSTR> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrings)( windows_core::Interface::as_raw(self), itemcount, @@ -310,10 +303,10 @@ windows_core::imp::define_interface!( IFabricStringResult_Vtbl, 0x4ae69614_7d0f_4cd4_b836_23017000d132 ); -impl std::ops::Deref for IFabricStringResult { +impl core::ops::Deref for IFabricStringResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFabricStringResult, windows_core::IUnknown); @@ -329,5 +322,214 @@ pub struct IFabricStringResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub get_String: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, } -#[cfg(feature = "implement")] -core::include!("impl.rs"); +pub trait IFabricAsyncOperationCallback_Impl: Sized { + fn Invoke(&self, context: Option<&IFabricAsyncOperationContext>); +} +impl windows_core::RuntimeName for IFabricAsyncOperationCallback {} +impl IFabricAsyncOperationCallback_Vtbl { + pub const fn new< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationCallback_Impl, + const OFFSET: isize, + >() -> IFabricAsyncOperationCallback_Vtbl { + unsafe extern "system" fn Invoke< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationCallback_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + context: *mut core::ffi::c_void, + ) { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricAsyncOperationCallback_Impl::Invoke( + this, + windows_core::from_raw_borrowed(&context), + ) + } + Self { + base__: windows_core::IUnknown_Vtbl::new::(), + Invoke: Invoke::, + } + } + pub fn matches(iid: &windows_core::GUID) -> bool { + iid == &::IID + } +} +pub trait IFabricAsyncOperationContext_Impl: Sized { + fn IsCompleted(&self) -> windows::Win32::Foundation::BOOLEAN; + fn CompletedSynchronously(&self) -> windows::Win32::Foundation::BOOLEAN; + fn Callback(&self) -> windows_core::Result; + fn Cancel(&self) -> windows_core::Result<()>; +} +impl windows_core::RuntimeName for IFabricAsyncOperationContext {} +impl IFabricAsyncOperationContext_Vtbl { + pub const fn new< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationContext_Impl, + const OFFSET: isize, + >() -> IFabricAsyncOperationContext_Vtbl { + unsafe extern "system" fn IsCompleted< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationContext_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + ) -> windows::Win32::Foundation::BOOLEAN { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricAsyncOperationContext_Impl::IsCompleted(this) + } + unsafe extern "system" fn CompletedSynchronously< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationContext_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + ) -> windows::Win32::Foundation::BOOLEAN { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricAsyncOperationContext_Impl::CompletedSynchronously(this) + } + unsafe extern "system" fn Callback< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationContext_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + callback: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match IFabricAsyncOperationContext_Impl::Callback(this) { + Ok(ok__) => { + core::ptr::write(callback, core::mem::transmute(ok__)); + windows_core::HRESULT(0) + } + Err(err) => err.into(), + } + } + unsafe extern "system" fn Cancel< + Identity: windows_core::IUnknownImpl, + Impl: IFabricAsyncOperationContext_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + ) -> windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricAsyncOperationContext_Impl::Cancel(this).into() + } + Self { + base__: windows_core::IUnknown_Vtbl::new::(), + IsCompleted: IsCompleted::, + CompletedSynchronously: CompletedSynchronously::, + Callback: Callback::, + Cancel: Cancel::, + } + } + pub fn matches(iid: &windows_core::GUID) -> bool { + iid == &::IID + } +} +pub trait IFabricGetReplicatorStatusResult_Impl: Sized { + fn get_ReplicatorStatus(&self) -> *mut super::FABRIC_REPLICATOR_STATUS_QUERY_RESULT; +} +impl windows_core::RuntimeName for IFabricGetReplicatorStatusResult {} +impl IFabricGetReplicatorStatusResult_Vtbl { + pub const fn new< + Identity: windows_core::IUnknownImpl, + Impl: IFabricGetReplicatorStatusResult_Impl, + const OFFSET: isize, + >() -> IFabricGetReplicatorStatusResult_Vtbl { + unsafe extern "system" fn get_ReplicatorStatus< + Identity: windows_core::IUnknownImpl, + Impl: IFabricGetReplicatorStatusResult_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + ) -> *mut super::FABRIC_REPLICATOR_STATUS_QUERY_RESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricGetReplicatorStatusResult_Impl::get_ReplicatorStatus(this) + } + Self { + base__: windows_core::IUnknown_Vtbl::new::(), + get_ReplicatorStatus: get_ReplicatorStatus::, + } + } + pub fn matches(iid: &windows_core::GUID) -> bool { + iid == &::IID + } +} +pub trait IFabricStringListResult_Impl: Sized { + fn GetStrings(&self, itemcount: *mut u32) -> windows_core::Result<*mut windows_core::PCWSTR>; +} +impl windows_core::RuntimeName for IFabricStringListResult {} +impl IFabricStringListResult_Vtbl { + pub const fn new< + Identity: windows_core::IUnknownImpl, + Impl: IFabricStringListResult_Impl, + const OFFSET: isize, + >() -> IFabricStringListResult_Vtbl { + unsafe extern "system" fn GetStrings< + Identity: windows_core::IUnknownImpl, + Impl: IFabricStringListResult_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + itemcount: *mut u32, + buffereditems: *mut *mut windows_core::PCWSTR, + ) -> windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match IFabricStringListResult_Impl::GetStrings( + this, + core::mem::transmute_copy(&itemcount), + ) { + Ok(ok__) => { + core::ptr::write(buffereditems, core::mem::transmute(ok__)); + windows_core::HRESULT(0) + } + Err(err) => err.into(), + } + } + Self { + base__: windows_core::IUnknown_Vtbl::new::(), + GetStrings: GetStrings::, + } + } + pub fn matches(iid: &windows_core::GUID) -> bool { + iid == &::IID + } +} +pub trait IFabricStringResult_Impl: Sized { + fn get_String(&self) -> windows_core::PCWSTR; +} +impl windows_core::RuntimeName for IFabricStringResult {} +impl IFabricStringResult_Vtbl { + pub const fn new< + Identity: windows_core::IUnknownImpl, + Impl: IFabricStringResult_Impl, + const OFFSET: isize, + >() -> IFabricStringResult_Vtbl { + unsafe extern "system" fn get_String< + Identity: windows_core::IUnknownImpl, + Impl: IFabricStringResult_Impl, + const OFFSET: isize, + >( + this: *mut core::ffi::c_void, + ) -> windows_core::PCWSTR { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + IFabricStringResult_Impl::get_String(this) + } + Self { + base__: windows_core::IUnknown_Vtbl::new::(), + get_String: get_String::, + } + } + pub fn matches(iid: &windows_core::GUID) -> bool { + iid == &::IID + } +} diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/impl.rs b/crates/libs/com/src/ServiceFabric/FabricRuntime.rs similarity index 57% rename from crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/impl.rs rename to crates/libs/com/src/ServiceFabric/FabricRuntime.rs index 84dbee04..eafcccc5 100644 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricRuntime/impl.rs +++ b/crates/libs/com/src/ServiceFabric/FabricRuntime.rs @@ -1,5 +1,6025 @@ -// Bindings generated by `windows-bindgen` 0.56.0 +// Bindings generated by `windows-bindgen` 0.57.0 +#![allow( + non_snake_case, + non_upper_case_globals, + non_camel_case_types, + dead_code, + clippy::all +)] +#[inline] +pub unsafe fn FabricBeginCreateRuntime( + riid: *const windows_core::GUID, + exithandler: P0, + timeoutmilliseconds: u32, + callback: P1, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricBeginCreateRuntime( + riid: *const windows_core::GUID, + exithandler: *mut core::ffi::c_void, + timeoutmilliseconds: u32, + callback: *mut core::ffi::c_void, + context: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricBeginCreateRuntime( + riid, + exithandler.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricBeginGetActivationContext( + riid: *const windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, +) -> windows_core::Result +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricBeginGetActivationContext( + riid: *const windows_core::GUID, + timeoutmilliseconds: u32, + callback: *mut core::ffi::c_void, + context: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricBeginGetActivationContext( + riid, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricBeginGetCodePackageActivator( + riid: *const windows_core::GUID, + timeoutmilliseconds: u32, + callback: P0, +) -> windows_core::Result +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricBeginGetCodePackageActivator( + riid: *const windows_core::GUID, + timeoutmilliseconds: u32, + callback: *mut core::ffi::c_void, + context: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricBeginGetCodePackageActivator( + riid, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricBeginGetNodeContext( + timeoutmilliseconds: u32, + callback: P0, +) -> windows_core::Result +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricBeginGetNodeContext( + timeoutmilliseconds: u32, + callback: *mut core::ffi::c_void, + context: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricBeginGetNodeContext(timeoutmilliseconds, callback.param().abi(), &mut result__) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricCreateKeyValueStoreReplica( + riid: *const windows_core::GUID, + storename: P0, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: P1, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateKeyValueStoreReplica( + riid: *const windows_core::GUID, + storename: windows_core::PCWSTR, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: *mut core::ffi::c_void, + keyvaluestore: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateKeyValueStoreReplica( + riid, + storename.param().abi(), + core::mem::transmute(partitionid), + replicaid, + replicatorsettings, + localstorekind, + localstoresettings, + storeeventhandler.param().abi(), + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateKeyValueStoreReplica2( + riid: *const windows_core::GUID, + storename: P0, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: P1, + secondaryeventhandler: P2, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateKeyValueStoreReplica2( + riid: *const windows_core::GUID, + storename: windows_core::PCWSTR, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: *mut core::ffi::c_void, + secondaryeventhandler: *mut core::ffi::c_void, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, + keyvaluestore: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateKeyValueStoreReplica2( + riid, + storename.param().abi(), + core::mem::transmute(partitionid), + replicaid, + replicatorsettings, + localstorekind, + localstoresettings, + storeeventhandler.param().abi(), + secondaryeventhandler.param().abi(), + notificationmode, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateKeyValueStoreReplica3( + riid: *const windows_core::GUID, + storename: P0, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: P1, + secondaryeventhandler: P2, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateKeyValueStoreReplica3( + riid: *const windows_core::GUID, + storename: windows_core::PCWSTR, + partitionid: windows_core::GUID, + replicaid: i64, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: *mut core::ffi::c_void, + secondaryeventhandler: *mut core::ffi::c_void, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, + keyvaluestore: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateKeyValueStoreReplica3( + riid, + storename.param().abi(), + core::mem::transmute(partitionid), + replicaid, + replicatorsettings, + localstorekind, + localstoresettings, + storeeventhandler.param().abi(), + secondaryeventhandler.param().abi(), + notificationmode, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateKeyValueStoreReplica4( + riid: *const windows_core::GUID, + storename: P0, + partitionid: windows_core::GUID, + replicaid: i64, + servicename: P1, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: P2, + secondaryeventhandler: P3, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateKeyValueStoreReplica4( + riid: *const windows_core::GUID, + storename: windows_core::PCWSTR, + partitionid: windows_core::GUID, + replicaid: i64, + servicename: super::super::FABRIC_URI, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: *mut core::ffi::c_void, + secondaryeventhandler: *mut core::ffi::c_void, + notificationmode: super::super::FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, + keyvaluestore: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateKeyValueStoreReplica4( + riid, + storename.param().abi(), + core::mem::transmute(partitionid), + replicaid, + servicename.param().abi(), + replicatorsettings, + localstorekind, + localstoresettings, + storeeventhandler.param().abi(), + secondaryeventhandler.param().abi(), + notificationmode, + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateKeyValueStoreReplica5( + riid: *const windows_core::GUID, + storename: P0, + partitionid: windows_core::GUID, + replicaid: i64, + servicename: P1, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + kvssettings: *const super::super::FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: P2, + secondaryeventhandler: P3, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateKeyValueStoreReplica5( + riid: *const windows_core::GUID, + storename: windows_core::PCWSTR, + partitionid: windows_core::GUID, + replicaid: i64, + servicename: super::super::FABRIC_URI, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + kvssettings: *const super::super::FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS, + localstorekind: super::super::FABRIC_LOCAL_STORE_KIND, + localstoresettings: *const core::ffi::c_void, + storeeventhandler: *mut core::ffi::c_void, + secondaryeventhandler: *mut core::ffi::c_void, + keyvaluestore: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateKeyValueStoreReplica5( + riid, + storename.param().abi(), + core::mem::transmute(partitionid), + replicaid, + servicename.param().abi(), + replicatorsettings, + kvssettings, + localstorekind, + localstoresettings, + storeeventhandler.param().abi(), + secondaryeventhandler.param().abi(), + &mut result__, + ) + .map(|| result__) +} +#[inline] +pub unsafe fn FabricCreateRuntime( + riid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricCreateRuntime( + riid: *const windows_core::GUID, + fabricruntime: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricCreateRuntime(riid, &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricEndCreateRuntime( + context: P0, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricEndCreateRuntime( + context: *mut core::ffi::c_void, + fabricruntime: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricEndCreateRuntime(context.param().abi(), &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricEndGetActivationContext( + context: P0, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricEndGetActivationContext( + context: *mut core::ffi::c_void, + activationcontext: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricEndGetActivationContext(context.param().abi(), &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricEndGetCodePackageActivator( + context: P0, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricEndGetCodePackageActivator( + context: *mut core::ffi::c_void, + activator: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricEndGetCodePackageActivator(context.param().abi(), &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricEndGetNodeContext( + context: P0, +) -> windows_core::Result<*mut core::ffi::c_void> +where + P0: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricEndGetNodeContext( + context: *mut core::ffi::c_void, + nodecontext: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricEndGetNodeContext(context.param().abi(), &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricGetActivationContext( + riid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricGetActivationContext( + riid: *const windows_core::GUID, + activationcontext: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricGetActivationContext(riid, &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricGetCodePackageActivator( + riid: *const windows_core::GUID, +) -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricGetCodePackageActivator( + riid: *const windows_core::GUID, + activator: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricGetCodePackageActivator(riid, &mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricGetNodeContext() -> windows_core::Result<*mut core::ffi::c_void> { + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricGetNodeContext( + nodecontext: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricGetNodeContext(&mut result__).map(|| result__) +} +#[inline] +pub unsafe fn FabricLoadEseLocalStoreSettings( + codepackageactivationcontext: P0, + configurationpackagename: P1, + sectionname: P2, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricLoadEseLocalStoreSettings( + codepackageactivationcontext: *mut core::ffi::c_void, + configurationpackagename: windows_core::PCWSTR, + sectionname: windows_core::PCWSTR, + settings: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricLoadEseLocalStoreSettings( + codepackageactivationcontext.param().abi(), + configurationpackagename.param().abi(), + sectionname.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricLoadReplicatorSettings( + codepackageactivationcontext: P0, + configurationpackagename: P1, + sectionname: P2, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricLoadReplicatorSettings( + codepackageactivationcontext: *mut core::ffi::c_void, + configurationpackagename: windows_core::PCWSTR, + sectionname: windows_core::PCWSTR, + replicatorsettings: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricLoadReplicatorSettings( + codepackageactivationcontext.param().abi(), + configurationpackagename.param().abi(), + sectionname.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn FabricLoadSecurityCredentials( + codepackageactivationcontext: P0, + configurationpackagename: P1, + sectionname: P2, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricRuntime")] + extern "system" { + pub fn FabricLoadSecurityCredentials( + codepackageactivationcontext: *mut core::ffi::c_void, + configurationpackagename: windows_core::PCWSTR, + sectionname: windows_core::PCWSTR, + securitycredentials: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + FabricLoadSecurityCredentials( + codepackageactivationcontext.param().abi(), + configurationpackagename.param().abi(), + sectionname.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +windows_core::imp::define_interface!( + IFabricAtomicGroupStateProvider, + IFabricAtomicGroupStateProvider_Vtbl, + 0x2b670953_6148_4f7d_a920_b390de43d913 +); +impl core::ops::Deref for IFabricAtomicGroupStateProvider { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricAtomicGroupStateProvider, windows_core::IUnknown); +impl IFabricAtomicGroupStateProvider { + pub unsafe fn BeginAtomicGroupCommit( + &self, + atomicgroupid: i64, + commitsequencenumber: i64, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginAtomicGroupCommit)( + windows_core::Interface::as_raw(self), + atomicgroupid, + commitsequencenumber, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndAtomicGroupCommit(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndAtomicGroupCommit)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginAtomicGroupRollback( + &self, + atomicgroupid: i64, + rollbackequencenumber: i64, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginAtomicGroupRollback)( + windows_core::Interface::as_raw(self), + atomicgroupid, + rollbackequencenumber, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndAtomicGroupRollback(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndAtomicGroupRollback)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUndoProgress( + &self, + fromcommitsequencenumber: i64, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUndoProgress)( + windows_core::Interface::as_raw(self), + fromcommitsequencenumber, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUndoProgress(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUndoProgress)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricAtomicGroupStateProvider {} +unsafe impl Sync for IFabricAtomicGroupStateProvider {} +#[repr(C)] +pub struct IFabricAtomicGroupStateProvider_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginAtomicGroupCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + i64, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndAtomicGroupCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginAtomicGroupRollback: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + i64, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndAtomicGroupRollback: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUndoProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUndoProgress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricAtomicGroupStateReplicator, + IFabricAtomicGroupStateReplicator_Vtbl, + 0x80d2155c_4fc2_4fde_9696_c2f39b471c3d +); +impl core::ops::Deref for IFabricAtomicGroupStateReplicator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricAtomicGroupStateReplicator, windows_core::IUnknown); +impl IFabricAtomicGroupStateReplicator { + pub unsafe fn CreateAtomicGroup(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateAtomicGroup)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginReplicateAtomicGroupOperation( + &self, + atomicgroupid: i64, + operationdata: P0, + callback: P1, + operationsequencenumber: *mut i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupOperation)( + windows_core::Interface::as_raw(self), + atomicgroupid, + operationdata.param().abi(), + callback.param().abi(), + operationsequencenumber, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndReplicateAtomicGroupOperation( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndReplicateAtomicGroupOperation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginReplicateAtomicGroupCommit( + &self, + atomicgroupid: i64, + callback: P0, + commitsequencenumber: *mut i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupCommit)( + windows_core::Interface::as_raw(self), + atomicgroupid, + callback.param().abi(), + commitsequencenumber, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndReplicateAtomicGroupCommit(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndReplicateAtomicGroupCommit)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginReplicateAtomicGroupRollback( + &self, + atomicgroupid: i64, + callback: P0, + rollbacksequencenumber: *mut i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginReplicateAtomicGroupRollback)( + windows_core::Interface::as_raw(self), + atomicgroupid, + callback.param().abi(), + rollbacksequencenumber, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndReplicateAtomicGroupRollback( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndReplicateAtomicGroupRollback)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricAtomicGroupStateReplicator {} +unsafe impl Sync for IFabricAtomicGroupStateReplicator {} +#[repr(C)] +pub struct IFabricAtomicGroupStateReplicator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub CreateAtomicGroup: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub BeginReplicateAtomicGroupOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndReplicateAtomicGroupOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginReplicateAtomicGroupCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + *mut i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndReplicateAtomicGroupCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub BeginReplicateAtomicGroupRollback: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + *mut i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndReplicateAtomicGroupRollback: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackage, + IFabricCodePackage_Vtbl, + 0x20792b45_4d13_41a4_af13_346e529f00c5 +); +impl core::ops::Deref for IFabricCodePackage { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricCodePackage, windows_core::IUnknown); +impl IFabricCodePackage { + pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_CODE_PACKAGE_DESCRIPTION { + (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricCodePackage {} +unsafe impl Sync for IFabricCodePackage {} +#[repr(C)] +pub struct IFabricCodePackage_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Description: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_CODE_PACKAGE_DESCRIPTION, + pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, +} +windows_core::imp::define_interface!( + IFabricCodePackage2, + IFabricCodePackage2_Vtbl, + 0xcdf0a4e6_ad80_4cd6_b67e_e4c002428600 +); +impl core::ops::Deref for IFabricCodePackage2 { + type Target = IFabricCodePackage; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackage2, + windows_core::IUnknown, + IFabricCodePackage +); +impl IFabricCodePackage2 { + pub unsafe fn get_SetupEntryPointRunAsPolicy( + &self, + ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION { + (windows_core::Interface::vtable(self).get_SetupEntryPointRunAsPolicy)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_EntryPointRunAsPolicy( + &self, + ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION { + (windows_core::Interface::vtable(self).get_EntryPointRunAsPolicy)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricCodePackage2 {} +unsafe impl Sync for IFabricCodePackage2 {} +#[repr(C)] +pub struct IFabricCodePackage2_Vtbl { + pub base__: IFabricCodePackage_Vtbl, + pub get_SetupEntryPointRunAsPolicy: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION, + pub get_EntryPointRunAsPolicy: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext, + IFabricCodePackageActivationContext_Vtbl, + 0x68a971e2_f15f_4d95_a79c_8a257909659e +); +impl core::ops::Deref for IFabricCodePackageActivationContext { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext, + windows_core::IUnknown +); +impl IFabricCodePackageActivationContext { + pub unsafe fn get_ContextId(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_ContextId)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn get_CodePackageName(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_CodePackageName)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_CodePackageVersion(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_CodePackageVersion)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_WorkDirectory(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_WorkDirectory)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_LogDirectory(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_LogDirectory)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_TempDirectory(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_TempDirectory)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_ServiceTypes( + &self, + ) -> *mut super::super::FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { + (windows_core::Interface::vtable(self).get_ServiceTypes)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_ServiceGroupTypes( + &self, + ) -> *mut super::super::FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { + (windows_core::Interface::vtable(self).get_ServiceGroupTypes)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_ApplicationPrincipals( + &self, + ) -> *mut super::super::FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { + (windows_core::Interface::vtable(self).get_ApplicationPrincipals)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_ServiceEndpointResources( + &self, + ) -> *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { + (windows_core::Interface::vtable(self).get_ServiceEndpointResources)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn GetServiceEndpointResource( + &self, + serviceendpointresourcename: P0, + ) -> windows_core::Result<*mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION> + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetServiceEndpointResource)( + windows_core::Interface::as_raw(self), + serviceendpointresourcename.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetCodePackageNames( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCodePackageNames)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetConfigurationPackageNames( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetConfigurationPackageNames)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetDataPackageNames( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetDataPackageNames)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetCodePackage( + &self, + codepackagename: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCodePackage)( + windows_core::Interface::as_raw(self), + codepackagename.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetConfigurationPackage( + &self, + configpackagename: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetConfigurationPackage)( + windows_core::Interface::as_raw(self), + configpackagename.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetDataPackage( + &self, + datapackagename: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetDataPackage)( + windows_core::Interface::as_raw(self), + datapackagename.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn RegisterCodePackageChangeHandler( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RegisterCodePackageChangeHandler)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UnregisterCodePackageChangeHandler( + &self, + callbackhandle: i64, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UnregisterCodePackageChangeHandler)( + windows_core::Interface::as_raw(self), + callbackhandle, + ) + .ok() + } + pub unsafe fn RegisterConfigurationPackageChangeHandler( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RegisterConfigurationPackageChangeHandler)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UnregisterConfigurationPackageChangeHandler( + &self, + callbackhandle: i64, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UnregisterConfigurationPackageChangeHandler)( + windows_core::Interface::as_raw(self), + callbackhandle, + ) + .ok() + } + pub unsafe fn RegisterDataPackageChangeHandler( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RegisterDataPackageChangeHandler)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UnregisterDataPackageChangeHandler( + &self, + callbackhandle: i64, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UnregisterDataPackageChangeHandler)( + windows_core::Interface::as_raw(self), + callbackhandle, + ) + .ok() + } +} +unsafe impl Send for IFabricCodePackageActivationContext {} +unsafe impl Sync for IFabricCodePackageActivationContext {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ContextId: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_CodePackageName: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_CodePackageVersion: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_WorkDirectory: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_LogDirectory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_TempDirectory: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_ServiceTypes: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_TYPE_DESCRIPTION_LIST, + pub get_ServiceGroupTypes: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST, + pub get_ApplicationPrincipals: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION, + pub get_ServiceEndpointResources: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST, + pub GetServiceEndpointResource: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut super::super::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, + ) -> windows_core::HRESULT, + pub GetCodePackageNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetConfigurationPackageNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetDataPackageNames: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetConfigurationPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetDataPackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RegisterCodePackageChangeHandler: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub UnregisterCodePackageChangeHandler: + unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + pub RegisterConfigurationPackageChangeHandler: + unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub UnregisterConfigurationPackageChangeHandler: + unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, + pub RegisterDataPackageChangeHandler: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub UnregisterDataPackageChangeHandler: + unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext2, + IFabricCodePackageActivationContext2_Vtbl, + 0x6c83d5c1_1954_4b80_9175_0d0e7c8715c9 +); +impl core::ops::Deref for IFabricCodePackageActivationContext2 { + type Target = IFabricCodePackageActivationContext; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext2, + windows_core::IUnknown, + IFabricCodePackageActivationContext +); +impl IFabricCodePackageActivationContext2 { + pub unsafe fn get_ApplicationName(&self) -> super::super::FABRIC_URI { + (windows_core::Interface::vtable(self).get_ApplicationName)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_ApplicationTypeName(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_ApplicationTypeName)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn GetServiceManifestName( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetServiceManifestName)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetServiceManifestVersion( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetServiceManifestVersion)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricCodePackageActivationContext2 {} +unsafe impl Sync for IFabricCodePackageActivationContext2 {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext2_Vtbl { + pub base__: IFabricCodePackageActivationContext_Vtbl, + pub get_ApplicationName: + unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::FABRIC_URI, + pub get_ApplicationTypeName: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub GetServiceManifestName: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetServiceManifestVersion: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext3, + IFabricCodePackageActivationContext3_Vtbl, + 0x6efee900_f491_4b03_bc5b_3a70de103593 +); +impl core::ops::Deref for IFabricCodePackageActivationContext3 { + type Target = IFabricCodePackageActivationContext2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext3, + windows_core::IUnknown, + IFabricCodePackageActivationContext, + IFabricCodePackageActivationContext2 +); +impl IFabricCodePackageActivationContext3 { + pub unsafe fn ReportApplicationHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportApplicationHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } + pub unsafe fn ReportDeployedApplicationHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportDeployedApplicationHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } + pub unsafe fn ReportDeployedServicePackageHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportDeployedServicePackageHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } +} +unsafe impl Send for IFabricCodePackageActivationContext3 {} +unsafe impl Sync for IFabricCodePackageActivationContext3 {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext3_Vtbl { + pub base__: IFabricCodePackageActivationContext2_Vtbl, + pub ReportApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, + pub ReportDeployedApplicationHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, + pub ReportDeployedServicePackageHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext4, + IFabricCodePackageActivationContext4_Vtbl, + 0x99efebb6_a7b4_4d45_b45e_f191a66eef03 +); +impl core::ops::Deref for IFabricCodePackageActivationContext4 { + type Target = IFabricCodePackageActivationContext3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext4, + windows_core::IUnknown, + IFabricCodePackageActivationContext, + IFabricCodePackageActivationContext2, + IFabricCodePackageActivationContext3 +); +impl IFabricCodePackageActivationContext4 { + pub unsafe fn ReportApplicationHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportApplicationHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } + pub unsafe fn ReportDeployedApplicationHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportDeployedApplicationHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } + pub unsafe fn ReportDeployedServicePackageHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportDeployedServicePackageHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } +} +unsafe impl Send for IFabricCodePackageActivationContext4 {} +unsafe impl Sync for IFabricCodePackageActivationContext4 {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext4_Vtbl { + pub base__: IFabricCodePackageActivationContext3_Vtbl, + pub ReportApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, + pub ReportDeployedApplicationHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, + pub ReportDeployedServicePackageHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) + -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext5, + IFabricCodePackageActivationContext5_Vtbl, + 0xfe45387e_8711_4949_ac36_31dc95035513 +); +impl core::ops::Deref for IFabricCodePackageActivationContext5 { + type Target = IFabricCodePackageActivationContext4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext5, + windows_core::IUnknown, + IFabricCodePackageActivationContext, + IFabricCodePackageActivationContext2, + IFabricCodePackageActivationContext3, + IFabricCodePackageActivationContext4 +); +impl IFabricCodePackageActivationContext5 { + pub unsafe fn get_ServiceListenAddress(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_ServiceListenAddress)( + windows_core::Interface::as_raw(self), + ) + } + pub unsafe fn get_ServicePublishAddress(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_ServicePublishAddress)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricCodePackageActivationContext5 {} +unsafe impl Sync for IFabricCodePackageActivationContext5 {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext5_Vtbl { + pub base__: IFabricCodePackageActivationContext4_Vtbl, + pub get_ServiceListenAddress: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_ServicePublishAddress: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivationContext6, + IFabricCodePackageActivationContext6_Vtbl, + 0xfa5fda9b_472c_45a0_9b60_a374691227a4 +); +impl core::ops::Deref for IFabricCodePackageActivationContext6 { + type Target = IFabricCodePackageActivationContext5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricCodePackageActivationContext6, + windows_core::IUnknown, + IFabricCodePackageActivationContext, + IFabricCodePackageActivationContext2, + IFabricCodePackageActivationContext3, + IFabricCodePackageActivationContext4, + IFabricCodePackageActivationContext5 +); +impl IFabricCodePackageActivationContext6 { + pub unsafe fn GetDirectory( + &self, + logicaldirectoryname: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetDirectory)( + windows_core::Interface::as_raw(self), + logicaldirectoryname.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricCodePackageActivationContext6 {} +unsafe impl Sync for IFabricCodePackageActivationContext6 {} +#[repr(C)] +pub struct IFabricCodePackageActivationContext6_Vtbl { + pub base__: IFabricCodePackageActivationContext5_Vtbl, + pub GetDirectory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageActivator, + IFabricCodePackageActivator_Vtbl, + 0x70be1b10_b259_46fc_b813_0b75720e7183 +); +impl core::ops::Deref for IFabricCodePackageActivator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricCodePackageActivator, windows_core::IUnknown); +impl IFabricCodePackageActivator { + pub unsafe fn BeginActivateCodePackage( + &self, + codepackagenames: *const super::super::FABRIC_STRING_LIST, + environment: *const super::super::FABRIC_STRING_MAP, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginActivateCodePackage)( + windows_core::Interface::as_raw(self), + codepackagenames, + environment, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndActivateCodePackage(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndActivateCodePackage)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginDeactivateCodePackage( + &self, + codepackagenames: *const super::super::FABRIC_STRING_LIST, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginDeactivateCodePackage)( + windows_core::Interface::as_raw(self), + codepackagenames, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndDeactivateCodePackage(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndDeactivateCodePackage)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn AbortCodePackage( + &self, + codepackagenames: *const super::super::FABRIC_STRING_LIST, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).AbortCodePackage)( + windows_core::Interface::as_raw(self), + codepackagenames, + ) + .ok() + } + pub unsafe fn RegisterCodePackageEventHandler( + &self, + eventhandler: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RegisterCodePackageEventHandler)( + windows_core::Interface::as_raw(self), + eventhandler.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UnregisterCodePackageEventHandler( + &self, + callbackhandle: u64, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UnregisterCodePackageEventHandler)( + windows_core::Interface::as_raw(self), + callbackhandle, + ) + .ok() + } +} +unsafe impl Send for IFabricCodePackageActivator {} +unsafe impl Sync for IFabricCodePackageActivator {} +#[repr(C)] +pub struct IFabricCodePackageActivator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginActivateCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STRING_LIST, + *const super::super::FABRIC_STRING_MAP, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndActivateCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginDeactivateCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STRING_LIST, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndDeactivateCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub AbortCodePackage: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STRING_LIST, + ) -> windows_core::HRESULT, + pub RegisterCodePackageEventHandler: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u64, + ) -> windows_core::HRESULT, + pub UnregisterCodePackageEventHandler: + unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricCodePackageChangeHandler, + IFabricCodePackageChangeHandler_Vtbl, + 0xb90d36cd_acb5_427a_b318_3b045981d0cc +); +impl core::ops::Deref for IFabricCodePackageChangeHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricCodePackageChangeHandler, windows_core::IUnknown); +impl IFabricCodePackageChangeHandler { + pub unsafe fn OnPackageAdded(&self, source: P0, codepackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageAdded)( + windows_core::Interface::as_raw(self), + source.param().abi(), + codepackage.param().abi(), + ) + } + pub unsafe fn OnPackageRemoved(&self, source: P0, codepackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageRemoved)( + windows_core::Interface::as_raw(self), + source.param().abi(), + codepackage.param().abi(), + ) + } + pub unsafe fn OnPackageModified( + &self, + source: P0, + previouscodepackage: P1, + codepackage: P2, + ) where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageModified)( + windows_core::Interface::as_raw(self), + source.param().abi(), + previouscodepackage.param().abi(), + codepackage.param().abi(), + ) + } +} +unsafe impl Send for IFabricCodePackageChangeHandler {} +unsafe impl Sync for IFabricCodePackageChangeHandler {} +#[repr(C)] +pub struct IFabricCodePackageChangeHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnPackageAdded: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageRemoved: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageModified: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), +} +windows_core::imp::define_interface!( + IFabricCodePackageEventHandler, + IFabricCodePackageEventHandler_Vtbl, + 0x899e0ca8_16df_458e_8915_d0307b4ab101 +); +impl core::ops::Deref for IFabricCodePackageEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricCodePackageEventHandler, windows_core::IUnknown); +impl IFabricCodePackageEventHandler { + pub unsafe fn OnCodePackageEvent( + &self, + source: P0, + eventdesc: *const super::super::FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION, + ) where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnCodePackageEvent)( + windows_core::Interface::as_raw(self), + source.param().abi(), + eventdesc, + ) + } +} +unsafe impl Send for IFabricCodePackageEventHandler {} +unsafe impl Sync for IFabricCodePackageEventHandler {} +#[repr(C)] +pub struct IFabricCodePackageEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnCodePackageEvent: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *const super::super::FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION, + ), +} +windows_core::imp::define_interface!( + IFabricConfigurationPackage, + IFabricConfigurationPackage_Vtbl, + 0xac4c3bfa_2563_46b7_a71d_2dca7b0a8f4d +); +impl core::ops::Deref for IFabricConfigurationPackage { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricConfigurationPackage, windows_core::IUnknown); +impl IFabricConfigurationPackage { + pub unsafe fn get_Description( + &self, + ) -> *mut super::super::FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { + (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_CONFIGURATION_SETTINGS { + (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn GetSection( + &self, + sectionname: P0, + ) -> windows_core::Result<*mut super::super::FABRIC_CONFIGURATION_SECTION> + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetSection)( + windows_core::Interface::as_raw(self), + sectionname.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetValue( + &self, + sectionname: P0, + parametername: P1, + isencrypted: *mut u8, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValue)( + windows_core::Interface::as_raw(self), + sectionname.param().abi(), + parametername.param().abi(), + isencrypted, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn DecryptValue( + &self, + encryptedvalue: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).DecryptValue)( + windows_core::Interface::as_raw(self), + encryptedvalue.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricConfigurationPackage {} +unsafe impl Sync for IFabricConfigurationPackage {} +#[repr(C)] +pub struct IFabricConfigurationPackage_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Description: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION, + pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, + pub get_Settings: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_CONFIGURATION_SETTINGS, + pub GetSection: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut super::super::FABRIC_CONFIGURATION_SECTION, + ) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + *mut u8, + *mut windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub DecryptValue: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricConfigurationPackage2, + IFabricConfigurationPackage2_Vtbl, + 0xd3161f31_708a_4f83_91ff_f2af15f74a2f +); +impl core::ops::Deref for IFabricConfigurationPackage2 { + type Target = IFabricConfigurationPackage; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricConfigurationPackage2, + windows_core::IUnknown, + IFabricConfigurationPackage +); +impl IFabricConfigurationPackage2 { + pub unsafe fn GetValues( + &self, + sectionname: P0, + parameterprefix: P1, + ) -> windows_core::Result<*mut super::super::FABRIC_CONFIGURATION_PARAMETER_LIST> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetValues)( + windows_core::Interface::as_raw(self), + sectionname.param().abi(), + parameterprefix.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricConfigurationPackage2 {} +unsafe impl Sync for IFabricConfigurationPackage2 {} +#[repr(C)] +pub struct IFabricConfigurationPackage2_Vtbl { + pub base__: IFabricConfigurationPackage_Vtbl, + pub GetValues: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + *mut *mut super::super::FABRIC_CONFIGURATION_PARAMETER_LIST, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricConfigurationPackageChangeHandler, + IFabricConfigurationPackageChangeHandler_Vtbl, + 0xc3954d48_b5ee_4ff4_9bc0_c30f6d0d3a85 +); +impl core::ops::Deref for IFabricConfigurationPackageChangeHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricConfigurationPackageChangeHandler, + windows_core::IUnknown +); +impl IFabricConfigurationPackageChangeHandler { + pub unsafe fn OnPackageAdded(&self, source: P0, configpackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageAdded)( + windows_core::Interface::as_raw(self), + source.param().abi(), + configpackage.param().abi(), + ) + } + pub unsafe fn OnPackageRemoved(&self, source: P0, configpackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageRemoved)( + windows_core::Interface::as_raw(self), + source.param().abi(), + configpackage.param().abi(), + ) + } + pub unsafe fn OnPackageModified( + &self, + source: P0, + previousconfigpackage: P1, + configpackage: P2, + ) where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageModified)( + windows_core::Interface::as_raw(self), + source.param().abi(), + previousconfigpackage.param().abi(), + configpackage.param().abi(), + ) + } +} +unsafe impl Send for IFabricConfigurationPackageChangeHandler {} +unsafe impl Sync for IFabricConfigurationPackageChangeHandler {} +#[repr(C)] +pub struct IFabricConfigurationPackageChangeHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnPackageAdded: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageRemoved: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageModified: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), +} +windows_core::imp::define_interface!( + IFabricDataPackage, + IFabricDataPackage_Vtbl, + 0xaa67de09_3657_435f_a2f6_b3a17a0a4371 +); +impl core::ops::Deref for IFabricDataPackage { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricDataPackage, windows_core::IUnknown); +impl IFabricDataPackage { + pub unsafe fn get_Description(&self) -> *mut super::super::FABRIC_DATA_PACKAGE_DESCRIPTION { + (windows_core::Interface::vtable(self).get_Description)(windows_core::Interface::as_raw( + self, + )) + } + pub unsafe fn get_Path(&self) -> windows_core::PCWSTR { + (windows_core::Interface::vtable(self).get_Path)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricDataPackage {} +unsafe impl Sync for IFabricDataPackage {} +#[repr(C)] +pub struct IFabricDataPackage_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Description: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_DATA_PACKAGE_DESCRIPTION, + pub get_Path: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, +} +windows_core::imp::define_interface!( + IFabricDataPackageChangeHandler, + IFabricDataPackageChangeHandler_Vtbl, + 0x8d0a726f_bd17_4b32_807b_be2a8024b2e0 +); +impl core::ops::Deref for IFabricDataPackageChangeHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricDataPackageChangeHandler, windows_core::IUnknown); +impl IFabricDataPackageChangeHandler { + pub unsafe fn OnPackageAdded(&self, source: P0, datapackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageAdded)( + windows_core::Interface::as_raw(self), + source.param().abi(), + datapackage.param().abi(), + ) + } + pub unsafe fn OnPackageRemoved(&self, source: P0, datapackage: P1) + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageRemoved)( + windows_core::Interface::as_raw(self), + source.param().abi(), + datapackage.param().abi(), + ) + } + pub unsafe fn OnPackageModified( + &self, + source: P0, + previousdatapackage: P1, + datapackage: P2, + ) where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnPackageModified)( + windows_core::Interface::as_raw(self), + source.param().abi(), + previousdatapackage.param().abi(), + datapackage.param().abi(), + ) + } +} +unsafe impl Send for IFabricDataPackageChangeHandler {} +unsafe impl Sync for IFabricDataPackageChangeHandler {} +#[repr(C)] +pub struct IFabricDataPackageChangeHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnPackageAdded: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageRemoved: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), + pub OnPackageModified: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ), +} +windows_core::imp::define_interface!( + IFabricEseLocalStoreSettingsResult, + IFabricEseLocalStoreSettingsResult_Vtbl, + 0xaace77ae_d8e1_4144_b1ee_5ac74fd54f65 +); +impl core::ops::Deref for IFabricEseLocalStoreSettingsResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricEseLocalStoreSettingsResult, windows_core::IUnknown); +impl IFabricEseLocalStoreSettingsResult { + pub unsafe fn get_Settings(&self) -> *mut super::super::FABRIC_ESE_LOCAL_STORE_SETTINGS { + (windows_core::Interface::vtable(self).get_Settings)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricEseLocalStoreSettingsResult {} +unsafe impl Sync for IFabricEseLocalStoreSettingsResult {} +#[repr(C)] +pub struct IFabricEseLocalStoreSettingsResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Settings: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_ESE_LOCAL_STORE_SETTINGS, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreEnumerator, + IFabricKeyValueStoreEnumerator_Vtbl, + 0x6722b848_15bb_4528_bf54_c7bbe27b6f9a +); +impl core::ops::Deref for IFabricKeyValueStoreEnumerator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreEnumerator, windows_core::IUnknown); +impl IFabricKeyValueStoreEnumerator { + pub unsafe fn EnumerateByKey( + &self, + keyprefix: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateByKey)( + windows_core::Interface::as_raw(self), + keyprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateMetadataByKey( + &self, + keyprefix: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateMetadataByKey)( + windows_core::Interface::as_raw(self), + keyprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreEnumerator {} +unsafe impl Sync for IFabricKeyValueStoreEnumerator {} +#[repr(C)] +pub struct IFabricKeyValueStoreEnumerator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub EnumerateByKey: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateMetadataByKey: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreEnumerator2, + IFabricKeyValueStoreEnumerator2_Vtbl, + 0x63dfd264_4f2b_4be6_8234_1fa200165fe9 +); +impl core::ops::Deref for IFabricKeyValueStoreEnumerator2 { + type Target = IFabricKeyValueStoreEnumerator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreEnumerator2, + windows_core::IUnknown, + IFabricKeyValueStoreEnumerator +); +impl IFabricKeyValueStoreEnumerator2 { + pub unsafe fn EnumerateByKey2( + &self, + keyprefix: P0, + strictprefix: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateByKey2)( + windows_core::Interface::as_raw(self), + keyprefix.param().abi(), + strictprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateMetadataByKey2( + &self, + keyprefix: P0, + strictprefix: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateMetadataByKey2)( + windows_core::Interface::as_raw(self), + keyprefix.param().abi(), + strictprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreEnumerator2 {} +unsafe impl Sync for IFabricKeyValueStoreEnumerator2 {} +#[repr(C)] +pub struct IFabricKeyValueStoreEnumerator2_Vtbl { + pub base__: IFabricKeyValueStoreEnumerator_Vtbl, + pub EnumerateByKey2: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows::Win32::Foundation::BOOLEAN, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateMetadataByKey2: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows::Win32::Foundation::BOOLEAN, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemEnumerator, + IFabricKeyValueStoreItemEnumerator_Vtbl, + 0xc202788f_54d3_44a6_8f3c_b4bbfcdb95d2 +); +impl core::ops::Deref for IFabricKeyValueStoreItemEnumerator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreItemEnumerator, windows_core::IUnknown); +impl IFabricKeyValueStoreItemEnumerator { + pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() + } + pub unsafe fn get_Current(&self) -> Option { + (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreItemEnumerator {} +unsafe impl Sync for IFabricKeyValueStoreItemEnumerator {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemEnumerator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Current: + unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemEnumerator2, + IFabricKeyValueStoreItemEnumerator2_Vtbl, + 0xda143bbc_81e1_48cd_afd7_b642bc5b9bfd +); +impl core::ops::Deref for IFabricKeyValueStoreItemEnumerator2 { + type Target = IFabricKeyValueStoreItemEnumerator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreItemEnumerator2, + windows_core::IUnknown, + IFabricKeyValueStoreItemEnumerator +); +impl IFabricKeyValueStoreItemEnumerator2 { + pub unsafe fn TryMoveNext(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryMoveNext)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricKeyValueStoreItemEnumerator2 {} +unsafe impl Sync for IFabricKeyValueStoreItemEnumerator2 {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemEnumerator2_Vtbl { + pub base__: IFabricKeyValueStoreItemEnumerator_Vtbl, + pub TryMoveNext: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemMetadataEnumerator, + IFabricKeyValueStoreItemMetadataEnumerator_Vtbl, + 0x0bc06aee_fffa_4450_9099_116a5f0e0b53 +); +impl core::ops::Deref for IFabricKeyValueStoreItemMetadataEnumerator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreItemMetadataEnumerator, + windows_core::IUnknown +); +impl IFabricKeyValueStoreItemMetadataEnumerator { + pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() + } + pub unsafe fn get_Current(&self) -> Option { + (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreItemMetadataEnumerator {} +unsafe impl Sync for IFabricKeyValueStoreItemMetadataEnumerator {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemMetadataEnumerator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Current: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> Option, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemMetadataEnumerator2, + IFabricKeyValueStoreItemMetadataEnumerator2_Vtbl, + 0x8803d53e_dd73_40fc_a662_1bfe999419ea +); +impl core::ops::Deref for IFabricKeyValueStoreItemMetadataEnumerator2 { + type Target = IFabricKeyValueStoreItemMetadataEnumerator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreItemMetadataEnumerator2, + windows_core::IUnknown, + IFabricKeyValueStoreItemMetadataEnumerator +); +impl IFabricKeyValueStoreItemMetadataEnumerator2 { + pub unsafe fn TryMoveNext(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryMoveNext)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricKeyValueStoreItemMetadataEnumerator2 {} +unsafe impl Sync for IFabricKeyValueStoreItemMetadataEnumerator2 {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemMetadataEnumerator2_Vtbl { + pub base__: IFabricKeyValueStoreItemMetadataEnumerator_Vtbl, + pub TryMoveNext: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemMetadataResult, + IFabricKeyValueStoreItemMetadataResult_Vtbl, + 0x17c483a1_69e6_4bdc_a058_54fd4a1839fd +); +impl core::ops::Deref for IFabricKeyValueStoreItemMetadataResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreItemMetadataResult, + windows_core::IUnknown +); +impl IFabricKeyValueStoreItemMetadataResult { + pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM_METADATA { + (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreItemMetadataResult {} +unsafe impl Sync for IFabricKeyValueStoreItemMetadataResult {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemMetadataResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Metadata: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM_METADATA, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreItemResult, + IFabricKeyValueStoreItemResult_Vtbl, + 0xc1f1c89d_b0b8_44dc_bc97_6c074c1a805e +); +impl core::ops::Deref for IFabricKeyValueStoreItemResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricKeyValueStoreItemResult, windows_core::IUnknown); +impl IFabricKeyValueStoreItemResult { + pub unsafe fn get_Item(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM { + (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreItemResult {} +unsafe impl Sync for IFabricKeyValueStoreItemResult {} +#[repr(C)] +pub struct IFabricKeyValueStoreItemResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Item: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreNotification, + IFabricKeyValueStoreNotification_Vtbl, + 0xcb660aa6_c51e_4f05_9526_93982b550e8f +); +impl core::ops::Deref for IFabricKeyValueStoreNotification { + type Target = IFabricKeyValueStoreItemResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreNotification, + windows_core::IUnknown, + IFabricKeyValueStoreItemResult +); +impl IFabricKeyValueStoreNotification { + pub unsafe fn IsDelete(&self) -> windows::Win32::Foundation::BOOLEAN { + (windows_core::Interface::vtable(self).IsDelete)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreNotification {} +unsafe impl Sync for IFabricKeyValueStoreNotification {} +#[repr(C)] +pub struct IFabricKeyValueStoreNotification_Vtbl { + pub base__: IFabricKeyValueStoreItemResult_Vtbl, + pub IsDelete: + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows::Win32::Foundation::BOOLEAN, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreNotificationEnumerator, + IFabricKeyValueStoreNotificationEnumerator_Vtbl, + 0xef25bc08_be76_43c7_adad_20f01fba3399 +); +impl core::ops::Deref for IFabricKeyValueStoreNotificationEnumerator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreNotificationEnumerator, + windows_core::IUnknown +); +impl IFabricKeyValueStoreNotificationEnumerator { + pub unsafe fn MoveNext(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self)).ok() + } + pub unsafe fn get_Current(&self) -> Option { + (windows_core::Interface::vtable(self).get_Current)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn Reset(&self) { + (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricKeyValueStoreNotificationEnumerator {} +unsafe impl Sync for IFabricKeyValueStoreNotificationEnumerator {} +#[repr(C)] +pub struct IFabricKeyValueStoreNotificationEnumerator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Current: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> Option, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreNotificationEnumerator2, + IFabricKeyValueStoreNotificationEnumerator2_Vtbl, + 0x55eec7c6_ae81_407a_b84c_22771d314ac7 +); +impl core::ops::Deref for IFabricKeyValueStoreNotificationEnumerator2 { + type Target = IFabricKeyValueStoreNotificationEnumerator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreNotificationEnumerator2, + windows_core::IUnknown, + IFabricKeyValueStoreNotificationEnumerator +); +impl IFabricKeyValueStoreNotificationEnumerator2 { + pub unsafe fn TryMoveNext(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryMoveNext)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricKeyValueStoreNotificationEnumerator2 {} +unsafe impl Sync for IFabricKeyValueStoreNotificationEnumerator2 {} +#[repr(C)] +pub struct IFabricKeyValueStoreNotificationEnumerator2_Vtbl { + pub base__: IFabricKeyValueStoreNotificationEnumerator_Vtbl, + pub TryMoveNext: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica, + IFabricKeyValueStoreReplica_Vtbl, + 0x97da35c4_38ed_4a2a_8f37_fbeb56382235 +); +impl core::ops::Deref for IFabricKeyValueStoreReplica { + type Target = IFabricStatefulServiceReplica; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica, + windows_core::IUnknown, + IFabricStatefulServiceReplica +); +impl IFabricKeyValueStoreReplica { + pub unsafe fn GetCurrentEpoch( + &self, + currentepoch: *mut super::super::FABRIC_EPOCH, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).GetCurrentEpoch)( + windows_core::Interface::as_raw(self), + currentepoch, + ) + .ok() + } + pub unsafe fn UpdateReplicatorSettings( + &self, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UpdateReplicatorSettings)( + windows_core::Interface::as_raw(self), + replicatorsettings, + ) + .ok() + } + pub unsafe fn CreateTransaction(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateTransaction)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn Add( + &self, + transaction: P0, + key: P1, + value: &[u8], + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).Add)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + value.len().try_into().unwrap(), + core::mem::transmute(value.as_ptr()), + ) + .ok() + } + pub unsafe fn Remove( + &self, + transaction: P0, + key: P1, + checksequencenumber: i64, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).Remove)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + checksequencenumber, + ) + .ok() + } + pub unsafe fn Update( + &self, + transaction: P0, + key: P1, + value: &[u8], + checksequencenumber: i64, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).Update)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + value.len().try_into().unwrap(), + core::mem::transmute(value.as_ptr()), + checksequencenumber, + ) + .ok() + } + pub unsafe fn Get( + &self, + transaction: P0, + key: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Get)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetMetadata( + &self, + transaction: P0, + key: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetMetadata)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn Contains(&self, transaction: P0, key: P1) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Contains)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn Enumerate( + &self, + transaction: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Enumerate)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateByKey( + &self, + transaction: P0, + keyprefix: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateByKey)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + keyprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateMetadata( + &self, + transaction: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateMetadata)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateMetadataByKey( + &self, + transaction: P0, + keyprefix: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateMetadataByKey)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + keyprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreReplica {} +unsafe impl Sync for IFabricKeyValueStoreReplica {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica_Vtbl { + pub base__: IFabricStatefulServiceReplica_Vtbl, + pub GetCurrentEpoch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut super::super::FABRIC_EPOCH, + ) -> windows_core::HRESULT, + pub UpdateReplicatorSettings: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICATOR_SETTINGS, + ) -> windows_core::HRESULT, + pub CreateTransaction: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i32, + *const u8, + ) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i64, + ) -> windows_core::HRESULT, + pub Update: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i32, + *const u8, + i64, + ) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetMetadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Contains: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut u8, + ) -> windows_core::HRESULT, + pub Enumerate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateByKey: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateMetadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateMetadataByKey: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica2, + IFabricKeyValueStoreReplica2_Vtbl, + 0xfef805b2_5aca_4caa_9c51_fb3bd577a792 +); +impl core::ops::Deref for IFabricKeyValueStoreReplica2 { + type Target = IFabricKeyValueStoreReplica; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica2, + windows_core::IUnknown, + IFabricStatefulServiceReplica, + IFabricKeyValueStoreReplica +); +impl IFabricKeyValueStoreReplica2 { + pub unsafe fn Backup(&self, backupdirectory: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).Backup)( + windows_core::Interface::as_raw(self), + backupdirectory.param().abi(), + ) + .ok() + } + pub unsafe fn Restore(&self, backupdirectory: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).Restore)( + windows_core::Interface::as_raw(self), + backupdirectory.param().abi(), + ) + .ok() + } + pub unsafe fn CreateTransaction2( + &self, + settings: *const super::super::FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateTransaction2)( + windows_core::Interface::as_raw(self), + settings, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreReplica2 {} +unsafe impl Sync for IFabricKeyValueStoreReplica2 {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica2_Vtbl { + pub base__: IFabricKeyValueStoreReplica_Vtbl, + pub Backup: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub Restore: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub CreateTransaction2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica3, + IFabricKeyValueStoreReplica3_Vtbl, + 0xc1297172_a8aa_4096_bdcc_1ece0c5d8c8f +); +impl core::ops::Deref for IFabricKeyValueStoreReplica3 { + type Target = IFabricKeyValueStoreReplica2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica3, + windows_core::IUnknown, + IFabricStatefulServiceReplica, + IFabricKeyValueStoreReplica, + IFabricKeyValueStoreReplica2 +); +impl IFabricKeyValueStoreReplica3 { + pub unsafe fn BeginBackup( + &self, + backupdirectory: P0, + backupoption: super::super::FABRIC_STORE_BACKUP_OPTION, + postbackuphandler: P1, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginBackup)( + windows_core::Interface::as_raw(self), + backupdirectory.param().abi(), + backupoption, + postbackuphandler.param().abi(), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndBackup(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndBackup)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricKeyValueStoreReplica3 {} +unsafe impl Sync for IFabricKeyValueStoreReplica3 {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica3_Vtbl { + pub base__: IFabricKeyValueStoreReplica2_Vtbl, + pub BeginBackup: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + super::super::FABRIC_STORE_BACKUP_OPTION, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndBackup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica4, + IFabricKeyValueStoreReplica4_Vtbl, + 0xff16d2f1_41a9_4c64_804a_a20bf28c04f3 +); +impl core::ops::Deref for IFabricKeyValueStoreReplica4 { + type Target = IFabricKeyValueStoreReplica3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica4, + windows_core::IUnknown, + IFabricStatefulServiceReplica, + IFabricKeyValueStoreReplica, + IFabricKeyValueStoreReplica2, + IFabricKeyValueStoreReplica3 +); +impl IFabricKeyValueStoreReplica4 { + pub unsafe fn BeginRestore( + &self, + backupdirectory: P0, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestore)( + windows_core::Interface::as_raw(self), + backupdirectory.param().abi(), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRestore(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRestore)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricKeyValueStoreReplica4 {} +unsafe impl Sync for IFabricKeyValueStoreReplica4 {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica4_Vtbl { + pub base__: IFabricKeyValueStoreReplica3_Vtbl, + pub BeginRestore: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRestore: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica5, + IFabricKeyValueStoreReplica5_Vtbl, + 0x34f2da40_6227_448a_be72_c517b0d69432 +); +impl core::ops::Deref for IFabricKeyValueStoreReplica5 { + type Target = IFabricKeyValueStoreReplica4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica5, + windows_core::IUnknown, + IFabricStatefulServiceReplica, + IFabricKeyValueStoreReplica, + IFabricKeyValueStoreReplica2, + IFabricKeyValueStoreReplica3, + IFabricKeyValueStoreReplica4 +); +impl IFabricKeyValueStoreReplica5 { + pub unsafe fn TryAdd( + &self, + transaction: P0, + key: P1, + value: &[u8], + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryAdd)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + value.len().try_into().unwrap(), + core::mem::transmute(value.as_ptr()), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn TryRemove( + &self, + transaction: P0, + key: P1, + checksequencenumber: i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryRemove)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + checksequencenumber, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn TryUpdate( + &self, + transaction: P0, + key: P1, + value: &[u8], + checksequencenumber: i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryUpdate)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + value.len().try_into().unwrap(), + core::mem::transmute(value.as_ptr()), + checksequencenumber, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn TryGet( + &self, + transaction: P0, + key: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryGet)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn TryGetMetadata( + &self, + transaction: P0, + key: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).TryGetMetadata)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + key.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateByKey2( + &self, + transaction: P0, + keyprefix: P1, + strictprefix: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateByKey2)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + keyprefix.param().abi(), + strictprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EnumerateMetadataByKey2( + &self, + transaction: P0, + keyprefix: P1, + strictprefix: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EnumerateMetadataByKey2)( + windows_core::Interface::as_raw(self), + transaction.param().abi(), + keyprefix.param().abi(), + strictprefix.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreReplica5 {} +unsafe impl Sync for IFabricKeyValueStoreReplica5 {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica5_Vtbl { + pub base__: IFabricKeyValueStoreReplica4_Vtbl, + pub TryAdd: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i32, + *const u8, + *mut u8, + ) -> windows_core::HRESULT, + pub TryRemove: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i64, + *mut u8, + ) -> windows_core::HRESULT, + pub TryUpdate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + i32, + *const u8, + i64, + *mut u8, + ) -> windows_core::HRESULT, + pub TryGet: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub TryGetMetadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateByKey2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows::Win32::Foundation::BOOLEAN, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EnumerateMetadataByKey2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows::Win32::Foundation::BOOLEAN, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricKeyValueStoreReplica6, + IFabricKeyValueStoreReplica6_Vtbl, + 0x56e77be1_e81f_4e42_8522_162c2d608184 +); +impl core::ops::Deref for IFabricKeyValueStoreReplica6 { + type Target = IFabricKeyValueStoreReplica5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricKeyValueStoreReplica6, + windows_core::IUnknown, + IFabricStatefulServiceReplica, + IFabricKeyValueStoreReplica, + IFabricKeyValueStoreReplica2, + IFabricKeyValueStoreReplica3, + IFabricKeyValueStoreReplica4, + IFabricKeyValueStoreReplica5 +); +impl IFabricKeyValueStoreReplica6 { + pub unsafe fn BeginRestore2( + &self, + backupdirectory: P0, + settings: *const super::super::FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRestore2)( + windows_core::Interface::as_raw(self), + backupdirectory.param().abi(), + settings, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricKeyValueStoreReplica6 {} +unsafe impl Sync for IFabricKeyValueStoreReplica6 {} +#[repr(C)] +pub struct IFabricKeyValueStoreReplica6_Vtbl { + pub base__: IFabricKeyValueStoreReplica5_Vtbl, + pub BeginRestore2: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const super::super::FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricNodeContextResult, + IFabricNodeContextResult_Vtbl, + 0x0952f885_6f5a_4ed3_abe4_90c403d1e3ce +); +impl core::ops::Deref for IFabricNodeContextResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricNodeContextResult, windows_core::IUnknown); +impl IFabricNodeContextResult { + pub unsafe fn get_NodeContext(&self) -> *mut super::super::FABRIC_NODE_CONTEXT { + (windows_core::Interface::vtable(self).get_NodeContext)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricNodeContextResult {} +unsafe impl Sync for IFabricNodeContextResult {} +#[repr(C)] +pub struct IFabricNodeContextResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_NodeContext: + unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::super::FABRIC_NODE_CONTEXT, +} +windows_core::imp::define_interface!( + IFabricNodeContextResult2, + IFabricNodeContextResult2_Vtbl, + 0x472bf2e1_d617_4b5c_a91d_fabed9ff3550 +); +impl core::ops::Deref for IFabricNodeContextResult2 { + type Target = IFabricNodeContextResult; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricNodeContextResult2, + windows_core::IUnknown, + IFabricNodeContextResult +); +impl IFabricNodeContextResult2 { + pub unsafe fn GetDirectory( + &self, + logicaldirectoryname: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetDirectory)( + windows_core::Interface::as_raw(self), + logicaldirectoryname.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricNodeContextResult2 {} +unsafe impl Sync for IFabricNodeContextResult2 {} +#[repr(C)] +pub struct IFabricNodeContextResult2_Vtbl { + pub base__: IFabricNodeContextResult_Vtbl, + pub GetDirectory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricOperation, + IFabricOperation_Vtbl, + 0xf4ad6bfa_e23c_4a48_9617_c099cd59a23a +); +impl core::ops::Deref for IFabricOperation { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricOperation, windows_core::IUnknown); +impl IFabricOperation { + pub unsafe fn get_Metadata(&self) -> *mut super::super::FABRIC_OPERATION_METADATA { + (windows_core::Interface::vtable(self).get_Metadata)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn GetData( + &self, + count: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_OPERATION_DATA_BUFFER> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetData)( + windows_core::Interface::as_raw(self), + count, + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn Acknowledge(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Acknowledge)(windows_core::Interface::as_raw(self)) + .ok() + } +} +unsafe impl Send for IFabricOperation {} +unsafe impl Sync for IFabricOperation {} +#[repr(C)] +pub struct IFabricOperation_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Metadata: unsafe extern "system" fn( + *mut core::ffi::c_void, + ) + -> *mut super::super::FABRIC_OPERATION_METADATA, + pub GetData: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_OPERATION_DATA_BUFFER, + ) -> windows_core::HRESULT, + pub Acknowledge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricOperationData, + IFabricOperationData_Vtbl, + 0xbab8ad87_37b7_482a_985d_baf38a785dcd +); +impl core::ops::Deref for IFabricOperationData { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricOperationData, windows_core::IUnknown); +impl IFabricOperationData { + pub unsafe fn GetData( + &self, + count: *mut u32, + ) -> windows_core::Result<*mut super::super::FABRIC_OPERATION_DATA_BUFFER> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetData)( + windows_core::Interface::as_raw(self), + count, + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricOperationData {} +unsafe impl Sync for IFabricOperationData {} +#[repr(C)] +pub struct IFabricOperationData_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub GetData: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut u32, + *mut *mut super::super::FABRIC_OPERATION_DATA_BUFFER, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricOperationDataStream, + IFabricOperationDataStream_Vtbl, + 0xc4e9084c_be92_49c9_8c18_d44d088c2e32 +); +impl core::ops::Deref for IFabricOperationDataStream { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricOperationDataStream, windows_core::IUnknown); +impl IFabricOperationDataStream { + pub unsafe fn BeginGetNext( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetNext)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetNext(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetNext)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricOperationDataStream {} +unsafe impl Sync for IFabricOperationDataStream {} +#[repr(C)] +pub struct IFabricOperationDataStream_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginGetNext: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetNext: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricOperationStream, + IFabricOperationStream_Vtbl, + 0xa98fb97a_d6b0_408a_a878_a9edb09c2587 +); +impl core::ops::Deref for IFabricOperationStream { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricOperationStream, windows_core::IUnknown); +impl IFabricOperationStream { + pub unsafe fn BeginGetOperation( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginGetOperation)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndGetOperation(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndGetOperation)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricOperationStream {} +unsafe impl Sync for IFabricOperationStream {} +#[repr(C)] +pub struct IFabricOperationStream_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginGetOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndGetOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricOperationStream2, + IFabricOperationStream2_Vtbl, + 0x0930199b_590a_4065_bec9_5f93b6aae086 +); +impl core::ops::Deref for IFabricOperationStream2 { + type Target = IFabricOperationStream; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricOperationStream2, + windows_core::IUnknown, + IFabricOperationStream +); +impl IFabricOperationStream2 { + pub unsafe fn ReportFault( + &self, + faulttype: super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportFault)( + windows_core::Interface::as_raw(self), + faulttype, + ) + .ok() + } +} +unsafe impl Send for IFabricOperationStream2 {} +unsafe impl Sync for IFabricOperationStream2 {} +#[repr(C)] +pub struct IFabricOperationStream2_Vtbl { + pub base__: IFabricOperationStream_Vtbl, + pub ReportFault: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricPrimaryReplicator, + IFabricPrimaryReplicator_Vtbl, + 0x564e50dd_c3a4_4600_a60e_6658874307ae +); +impl core::ops::Deref for IFabricPrimaryReplicator { + type Target = IFabricReplicator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricPrimaryReplicator, + windows_core::IUnknown, + IFabricReplicator +); +impl IFabricPrimaryReplicator { + pub unsafe fn BeginOnDataLoss( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOnDataLoss)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOnDataLoss)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn UpdateCatchUpReplicaSetConfiguration( + &self, + currentconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + previousconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UpdateCatchUpReplicaSetConfiguration)( + windows_core::Interface::as_raw(self), + currentconfiguration, + previousconfiguration, + ) + .ok() + } + pub unsafe fn BeginWaitForCatchUpQuorum( + &self, + catchupmode: super::super::FABRIC_REPLICA_SET_QUORUM_MODE, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginWaitForCatchUpQuorum)( + windows_core::Interface::as_raw(self), + catchupmode, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndWaitForCatchUpQuorum(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndWaitForCatchUpQuorum)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn UpdateCurrentReplicaSetConfiguration( + &self, + currentconfiguration: *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UpdateCurrentReplicaSetConfiguration)( + windows_core::Interface::as_raw(self), + currentconfiguration, + ) + .ok() + } + pub unsafe fn BeginBuildReplica( + &self, + replica: *const super::super::FABRIC_REPLICA_INFORMATION, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginBuildReplica)( + windows_core::Interface::as_raw(self), + replica, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndBuildReplica(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndBuildReplica)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn RemoveReplica(&self, replicaid: i64) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RemoveReplica)( + windows_core::Interface::as_raw(self), + replicaid, + ) + .ok() + } +} +unsafe impl Send for IFabricPrimaryReplicator {} +unsafe impl Sync for IFabricPrimaryReplicator {} +#[repr(C)] +pub struct IFabricPrimaryReplicator_Vtbl { + pub base__: IFabricReplicator_Vtbl, + pub BeginOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u8, + ) -> windows_core::HRESULT, + pub UpdateCatchUpReplicaSetConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + ) + -> windows_core::HRESULT, + pub BeginWaitForCatchUpQuorum: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_REPLICA_SET_QUORUM_MODE, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndWaitForCatchUpQuorum: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub UpdateCurrentReplicaSetConfiguration: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICA_SET_CONFIGURATION, + ) + -> windows_core::HRESULT, + pub BeginBuildReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICA_INFORMATION, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndBuildReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RemoveReplica: + unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricProcessExitHandler, + IFabricProcessExitHandler_Vtbl, + 0xc58d50a2_01f0_4267_bbe7_223b565c1346 +); +impl core::ops::Deref for IFabricProcessExitHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricProcessExitHandler, windows_core::IUnknown); +impl IFabricProcessExitHandler { + pub unsafe fn FabricProcessExited(&self) { + (windows_core::Interface::vtable(self).FabricProcessExited)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricProcessExitHandler {} +unsafe impl Sync for IFabricProcessExitHandler {} +#[repr(C)] +pub struct IFabricProcessExitHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub FabricProcessExited: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricReplicator, + IFabricReplicator_Vtbl, + 0x067f144a_e5be_4f5e_a181_8b5593e20242 +); +impl core::ops::Deref for IFabricReplicator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricReplicator, windows_core::IUnknown); +impl IFabricReplicator { + pub unsafe fn BeginOpen( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOpen)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOpen( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOpen)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginChangeRole( + &self, + epoch: *const super::super::FABRIC_EPOCH, + role: super::super::FABRIC_REPLICA_ROLE, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginChangeRole)( + windows_core::Interface::as_raw(self), + epoch, + role, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndChangeRole(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndChangeRole)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginUpdateEpoch( + &self, + epoch: *const super::super::FABRIC_EPOCH, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateEpoch)( + windows_core::Interface::as_raw(self), + epoch, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateEpoch(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateEpoch)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginClose( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginClose)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndClose)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn Abort(&self) { + (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn GetCurrentProgress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCurrentProgress)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetCatchUpCapability(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCatchUpCapability)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricReplicator {} +unsafe impl Sync for IFabricReplicator {} +#[repr(C)] +pub struct IFabricReplicator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginChangeRole: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_EPOCH, + super::super::FABRIC_REPLICA_ROLE, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndChangeRole: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginUpdateEpoch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_EPOCH, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateEpoch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), + pub GetCurrentProgress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub GetCatchUpCapability: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricReplicatorCatchupSpecificQuorum, + IFabricReplicatorCatchupSpecificQuorum_Vtbl, + 0xaa3116fe_277d_482d_bd16_5366fa405757 +); +impl core::ops::Deref for IFabricReplicatorCatchupSpecificQuorum { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricReplicatorCatchupSpecificQuorum, + windows_core::IUnknown +); +impl IFabricReplicatorCatchupSpecificQuorum {} +unsafe impl Send for IFabricReplicatorCatchupSpecificQuorum {} +unsafe impl Sync for IFabricReplicatorCatchupSpecificQuorum {} +#[repr(C)] +pub struct IFabricReplicatorCatchupSpecificQuorum_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, +} +windows_core::imp::define_interface!( + IFabricReplicatorSettingsResult, + IFabricReplicatorSettingsResult_Vtbl, + 0x718954f3_dc1e_4060_9806_0cbf36f71051 +); +impl core::ops::Deref for IFabricReplicatorSettingsResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricReplicatorSettingsResult, windows_core::IUnknown); +impl IFabricReplicatorSettingsResult { + pub unsafe fn get_ReplicatorSettings(&self) -> *mut super::super::FABRIC_REPLICATOR_SETTINGS { + (windows_core::Interface::vtable(self).get_ReplicatorSettings)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricReplicatorSettingsResult {} +unsafe impl Sync for IFabricReplicatorSettingsResult {} +#[repr(C)] +pub struct IFabricReplicatorSettingsResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_ReplicatorSettings: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_REPLICATOR_SETTINGS, +} +windows_core::imp::define_interface!( + IFabricRuntime, + IFabricRuntime_Vtbl, + 0xcc53af8e_74cd_11df_ac3e_0024811e3892 +); +impl core::ops::Deref for IFabricRuntime { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricRuntime, windows_core::IUnknown); +impl IFabricRuntime { + pub unsafe fn BeginRegisterStatelessServiceFactory( + &self, + servicetypename: P0, + factory: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRegisterStatelessServiceFactory)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + factory.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRegisterStatelessServiceFactory( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRegisterStatelessServiceFactory)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn RegisterStatelessServiceFactory( + &self, + servicetypename: P0, + factory: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).RegisterStatelessServiceFactory)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + factory.param().abi(), + ) + .ok() + } + pub unsafe fn BeginRegisterStatefulServiceFactory( + &self, + servicetypename: P0, + factory: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRegisterStatefulServiceFactory)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + factory.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRegisterStatefulServiceFactory( + &self, + context: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRegisterStatefulServiceFactory)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn RegisterStatefulServiceFactory( + &self, + servicetypename: P0, + factory: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).RegisterStatefulServiceFactory)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + factory.param().abi(), + ) + .ok() + } + pub unsafe fn CreateServiceGroupFactoryBuilder( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateServiceGroupFactoryBuilder)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginRegisterServiceGroupFactory( + &self, + groupservicetype: P0, + factory: P1, + timeoutmilliseconds: u32, + callback: P2, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRegisterServiceGroupFactory)( + windows_core::Interface::as_raw(self), + groupservicetype.param().abi(), + factory.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRegisterServiceGroupFactory(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndRegisterServiceGroupFactory)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn RegisterServiceGroupFactory( + &self, + groupservicetype: P0, + factory: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).RegisterServiceGroupFactory)( + windows_core::Interface::as_raw(self), + groupservicetype.param().abi(), + factory.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricRuntime {} +unsafe impl Sync for IFabricRuntime {} +#[repr(C)] +pub struct IFabricRuntime_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginRegisterStatelessServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndRegisterStatelessServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RegisterStatelessServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRegisterStatefulServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, + pub EndRegisterStatefulServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RegisterStatefulServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub CreateServiceGroupFactoryBuilder: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginRegisterServiceGroupFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRegisterServiceGroupFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RegisterServiceGroupFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricSecondaryEventHandler, + IFabricSecondaryEventHandler_Vtbl, + 0x7d124a7d_258e_49f2_a9b0_e800406103fb +); +impl core::ops::Deref for IFabricSecondaryEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricSecondaryEventHandler, windows_core::IUnknown); +impl IFabricSecondaryEventHandler { + pub unsafe fn OnCopyComplete(&self, enumerator: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnCopyComplete)( + windows_core::Interface::as_raw(self), + enumerator.param().abi(), + ) + .ok() + } + pub unsafe fn OnReplicationOperation(&self, enumerator: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnReplicationOperation)( + windows_core::Interface::as_raw(self), + enumerator.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricSecondaryEventHandler {} +unsafe impl Sync for IFabricSecondaryEventHandler {} +#[repr(C)] +pub struct IFabricSecondaryEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnCopyComplete: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub OnReplicationOperation: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricSecurityCredentialsResult, + IFabricSecurityCredentialsResult_Vtbl, + 0x049a111d_6a30_48e9_8f69_470760d3efb9 +); +impl core::ops::Deref for IFabricSecurityCredentialsResult { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricSecurityCredentialsResult, windows_core::IUnknown); +impl IFabricSecurityCredentialsResult { + pub unsafe fn get_SecurityCredentials(&self) -> *mut super::super::FABRIC_SECURITY_CREDENTIALS { + (windows_core::Interface::vtable(self).get_SecurityCredentials)( + windows_core::Interface::as_raw(self), + ) + } +} +unsafe impl Send for IFabricSecurityCredentialsResult {} +unsafe impl Sync for IFabricSecurityCredentialsResult {} +#[repr(C)] +pub struct IFabricSecurityCredentialsResult_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_SecurityCredentials: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> *mut super::super::FABRIC_SECURITY_CREDENTIALS, +} +windows_core::imp::define_interface!( + IFabricServiceGroupFactory, + IFabricServiceGroupFactory_Vtbl, + 0x3860d61d_1e51_4a65_b109_d93c11311657 +); +impl core::ops::Deref for IFabricServiceGroupFactory { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceGroupFactory, windows_core::IUnknown); +impl IFabricServiceGroupFactory {} +unsafe impl Send for IFabricServiceGroupFactory {} +unsafe impl Sync for IFabricServiceGroupFactory {} +#[repr(C)] +pub struct IFabricServiceGroupFactory_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, +} +windows_core::imp::define_interface!( + IFabricServiceGroupFactoryBuilder, + IFabricServiceGroupFactoryBuilder_Vtbl, + 0xa9fe8b06_19b1_49e6_8911_41d9d9219e1c +); +impl core::ops::Deref for IFabricServiceGroupFactoryBuilder { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceGroupFactoryBuilder, windows_core::IUnknown); +impl IFabricServiceGroupFactoryBuilder { + pub unsafe fn AddStatelessServiceFactory( + &self, + memberservicetype: P0, + factory: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).AddStatelessServiceFactory)( + windows_core::Interface::as_raw(self), + memberservicetype.param().abi(), + factory.param().abi(), + ) + .ok() + } + pub unsafe fn AddStatefulServiceFactory( + &self, + memberservicetype: P0, + factory: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).AddStatefulServiceFactory)( + windows_core::Interface::as_raw(self), + memberservicetype.param().abi(), + factory.param().abi(), + ) + .ok() + } + pub unsafe fn RemoveServiceFactory(&self, memberservicetype: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).RemoveServiceFactory)( + windows_core::Interface::as_raw(self), + memberservicetype.param().abi(), + ) + .ok() + } + pub unsafe fn ToServiceGroupFactory(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ToServiceGroupFactory)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricServiceGroupFactoryBuilder {} +unsafe impl Sync for IFabricServiceGroupFactoryBuilder {} +#[repr(C)] +pub struct IFabricServiceGroupFactoryBuilder_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub AddStatelessServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub AddStatefulServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub RemoveServiceFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub ToServiceGroupFactory: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricServiceGroupPartition, + IFabricServiceGroupPartition_Vtbl, + 0x2b24299a_7489_467f_8e7f_4507bff73b86 +); +impl core::ops::Deref for IFabricServiceGroupPartition { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricServiceGroupPartition, windows_core::IUnknown); +impl IFabricServiceGroupPartition { + pub unsafe fn ResolveMember( + &self, + name: P0, + riid: *const windows_core::GUID, + ) -> windows_core::Result<*mut core::ffi::c_void> + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ResolveMember)( + windows_core::Interface::as_raw(self), + name.param().abi(), + riid, + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricServiceGroupPartition {} +unsafe impl Sync for IFabricServiceGroupPartition {} +#[repr(C)] +pub struct IFabricServiceGroupPartition_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub ResolveMember: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_URI, + *const windows_core::GUID, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStateProvider, + IFabricStateProvider_Vtbl, + 0x3ebfec79_bd27_43f3_8be8_da38ee723951 +); +impl core::ops::Deref for IFabricStateProvider { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStateProvider, windows_core::IUnknown); +impl IFabricStateProvider { + pub unsafe fn BeginUpdateEpoch( + &self, + epoch: *const super::super::FABRIC_EPOCH, + previousepochlastsequencenumber: i64, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginUpdateEpoch)( + windows_core::Interface::as_raw(self), + epoch, + previousepochlastsequencenumber, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndUpdateEpoch(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndUpdateEpoch)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn GetLastCommittedSequenceNumber(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetLastCommittedSequenceNumber)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn BeginOnDataLoss( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOnDataLoss)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOnDataLoss)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetCopyContext(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCopyContext)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetCopyState( + &self, + uptosequencenumber: i64, + copycontextstream: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCopyState)( + windows_core::Interface::as_raw(self), + uptosequencenumber, + copycontextstream.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricStateProvider {} +unsafe impl Sync for IFabricStateProvider {} +#[repr(C)] +pub struct IFabricStateProvider_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginUpdateEpoch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_EPOCH, + i64, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndUpdateEpoch: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetLastCommittedSequenceNumber: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub BeginOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u8, + ) -> windows_core::HRESULT, + pub GetCopyContext: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetCopyState: unsafe extern "system" fn( + *mut core::ffi::c_void, + i64, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStateReplicator, + IFabricStateReplicator_Vtbl, + 0x89e9a978_c771_44f2_92e8_3bf271cabe9c +); +impl core::ops::Deref for IFabricStateReplicator { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStateReplicator, windows_core::IUnknown); +impl IFabricStateReplicator { + pub unsafe fn BeginReplicate( + &self, + operationdata: P0, + callback: P1, + sequencenumber: *mut i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginReplicate)( + windows_core::Interface::as_raw(self), + operationdata.param().abi(), + callback.param().abi(), + sequencenumber, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndReplicate(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndReplicate)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetReplicationStream(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetReplicationStream)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn GetCopyStream(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetCopyStream)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn UpdateReplicatorSettings( + &self, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).UpdateReplicatorSettings)( + windows_core::Interface::as_raw(self), + replicatorsettings, + ) + .ok() + } +} +unsafe impl Send for IFabricStateReplicator {} +unsafe impl Sync for IFabricStateReplicator {} +#[repr(C)] +pub struct IFabricStateReplicator_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginReplicate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndReplicate: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub GetReplicationStream: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub GetCopyStream: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub UpdateReplicatorSettings: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICATOR_SETTINGS, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStateReplicator2, + IFabricStateReplicator2_Vtbl, + 0x4a28d542_658f_46f9_9bf4_79b7cae25c5d +); +impl core::ops::Deref for IFabricStateReplicator2 { + type Target = IFabricStateReplicator; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStateReplicator2, + windows_core::IUnknown, + IFabricStateReplicator +); +impl IFabricStateReplicator2 { + pub unsafe fn GetReplicatorSettings( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetReplicatorSettings)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricStateReplicator2 {} +unsafe impl Sync for IFabricStateReplicator2 {} +#[repr(C)] +pub struct IFabricStateReplicator2_Vtbl { + pub base__: IFabricStateReplicator_Vtbl, + pub GetReplicatorSettings: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServiceFactory, + IFabricStatefulServiceFactory_Vtbl, + 0x77ff0c6b_6780_48ec_b4b0_61989327b0f2 +); +impl core::ops::Deref for IFabricStatefulServiceFactory { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatefulServiceFactory, windows_core::IUnknown); +impl IFabricStatefulServiceFactory { + pub unsafe fn CreateReplica( + &self, + servicetypename: P0, + servicename: P1, + initializationdata: &[u8], + partitionid: windows_core::GUID, + replicaid: i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateReplica)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + servicename.param().abi(), + initializationdata.len().try_into().unwrap(), + core::mem::transmute(initializationdata.as_ptr()), + core::mem::transmute(partitionid), + replicaid, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricStatefulServiceFactory {} +unsafe impl Sync for IFabricStatefulServiceFactory {} +#[repr(C)] +pub struct IFabricStatefulServiceFactory_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub CreateReplica: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + super::super::FABRIC_URI, + u32, + *const u8, + windows_core::GUID, + i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServicePartition, + IFabricStatefulServicePartition_Vtbl, + 0x5beccc37_8655_4f20_bd43_f50691d7cd16 +); +impl core::ops::Deref for IFabricStatefulServicePartition { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatefulServicePartition, windows_core::IUnknown); +impl IFabricStatefulServicePartition { + pub unsafe fn GetPartitionInfo( + &self, + ) -> windows_core::Result<*mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetPartitionInfo)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetReadStatus( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetReadStatus)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn GetWriteStatus( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetWriteStatus)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn CreateReplicator( + &self, + stateprovider: P0, + replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, + replicator: *mut Option, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateReplicator)( + windows_core::Interface::as_raw(self), + stateprovider.param().abi(), + replicatorsettings, + core::mem::transmute(replicator), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn ReportLoad( + &self, + metrics: &[super::super::FABRIC_LOAD_METRIC], + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportLoad)( + windows_core::Interface::as_raw(self), + metrics.len().try_into().unwrap(), + core::mem::transmute(metrics.as_ptr()), + ) + .ok() + } + pub unsafe fn ReportFault( + &self, + faulttype: super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportFault)( + windows_core::Interface::as_raw(self), + faulttype, + ) + .ok() + } +} +unsafe impl Send for IFabricStatefulServicePartition {} +unsafe impl Sync for IFabricStatefulServicePartition {} +#[repr(C)] +pub struct IFabricStatefulServicePartition_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub GetPartitionInfo: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION, + ) -> windows_core::HRESULT, + pub GetReadStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut super::super::FABRIC_SERVICE_PARTITION_ACCESS_STATUS, + ) -> windows_core::HRESULT, + pub GetWriteStatus: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut super::super::FABRIC_SERVICE_PARTITION_ACCESS_STATUS, + ) -> windows_core::HRESULT, + pub CreateReplicator: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *const super::super::FABRIC_REPLICATOR_SETTINGS, + *mut *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub ReportLoad: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *const super::super::FABRIC_LOAD_METRIC, + ) -> windows_core::HRESULT, + pub ReportFault: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServicePartition1, + IFabricStatefulServicePartition1_Vtbl, + 0xc9c66f2f_9dff_4c87_bbe4_a08b4c4074cf +); +impl core::ops::Deref for IFabricStatefulServicePartition1 { + type Target = IFabricStatefulServicePartition; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatefulServicePartition1, + windows_core::IUnknown, + IFabricStatefulServicePartition +); +impl IFabricStatefulServicePartition1 { + pub unsafe fn ReportMoveCost( + &self, + movecost: super::super::FABRIC_MOVE_COST, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportMoveCost)( + windows_core::Interface::as_raw(self), + movecost, + ) + .ok() + } +} +unsafe impl Send for IFabricStatefulServicePartition1 {} +unsafe impl Sync for IFabricStatefulServicePartition1 {} +#[repr(C)] +pub struct IFabricStatefulServicePartition1_Vtbl { + pub base__: IFabricStatefulServicePartition_Vtbl, + pub ReportMoveCost: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_MOVE_COST, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServicePartition2, + IFabricStatefulServicePartition2_Vtbl, + 0xdf27b476_fa25_459f_a7d3_87d3eec9c73c +); +impl core::ops::Deref for IFabricStatefulServicePartition2 { + type Target = IFabricStatefulServicePartition1; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatefulServicePartition2, + windows_core::IUnknown, + IFabricStatefulServicePartition, + IFabricStatefulServicePartition1 +); +impl IFabricStatefulServicePartition2 { + pub unsafe fn ReportReplicaHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportReplicaHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } + pub unsafe fn ReportPartitionHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportPartitionHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } +} +unsafe impl Send for IFabricStatefulServicePartition2 {} +unsafe impl Sync for IFabricStatefulServicePartition2 {} +#[repr(C)] +pub struct IFabricStatefulServicePartition2_Vtbl { + pub base__: IFabricStatefulServicePartition1_Vtbl, + pub ReportReplicaHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, + pub ReportPartitionHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServicePartition3, + IFabricStatefulServicePartition3_Vtbl, + 0x51f1269d_b061_4c1c_96cf_6508cece813b +); +impl core::ops::Deref for IFabricStatefulServicePartition3 { + type Target = IFabricStatefulServicePartition2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatefulServicePartition3, + windows_core::IUnknown, + IFabricStatefulServicePartition, + IFabricStatefulServicePartition1, + IFabricStatefulServicePartition2 +); +impl IFabricStatefulServicePartition3 { + pub unsafe fn ReportReplicaHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportReplicaHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } + pub unsafe fn ReportPartitionHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportPartitionHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } +} +unsafe impl Send for IFabricStatefulServicePartition3 {} +unsafe impl Sync for IFabricStatefulServicePartition3 {} +#[repr(C)] +pub struct IFabricStatefulServicePartition3_Vtbl { + pub base__: IFabricStatefulServicePartition2_Vtbl, + pub ReportReplicaHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, + pub ReportPartitionHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatefulServiceReplica, + IFabricStatefulServiceReplica_Vtbl, + 0x8ae3be0e_505d_4dc1_ad8f_0cb0f9576b8a +); +impl core::ops::Deref for IFabricStatefulServiceReplica { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatefulServiceReplica, windows_core::IUnknown); +impl IFabricStatefulServiceReplica { + pub unsafe fn BeginOpen( + &self, + openmode: super::super::FABRIC_REPLICA_OPEN_MODE, + partition: P0, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOpen)( + windows_core::Interface::as_raw(self), + openmode, + partition.param().abi(), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOpen(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOpen)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginChangeRole( + &self, + newrole: super::super::FABRIC_REPLICA_ROLE, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginChangeRole)( + windows_core::Interface::as_raw(self), + newrole, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndChangeRole( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndChangeRole)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginClose( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginClose)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndClose)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn Abort(&self) { + (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricStatefulServiceReplica {} +unsafe impl Sync for IFabricStatefulServiceReplica {} +#[repr(C)] +pub struct IFabricStatefulServiceReplica_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_REPLICA_OPEN_MODE, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginChangeRole: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_REPLICA_ROLE, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndChangeRole: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricStatelessServiceFactory, + IFabricStatelessServiceFactory_Vtbl, + 0xcc53af8f_74cd_11df_ac3e_0024811e3892 +); +impl core::ops::Deref for IFabricStatelessServiceFactory { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatelessServiceFactory, windows_core::IUnknown); +impl IFabricStatelessServiceFactory { + pub unsafe fn CreateInstance( + &self, + servicetypename: P0, + servicename: P1, + initializationdata: &[u8], + partitionid: windows_core::GUID, + instanceid: i64, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).CreateInstance)( + windows_core::Interface::as_raw(self), + servicetypename.param().abi(), + servicename.param().abi(), + initializationdata.len().try_into().unwrap(), + core::mem::transmute(initializationdata.as_ptr()), + core::mem::transmute(partitionid), + instanceid, + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } +} +unsafe impl Send for IFabricStatelessServiceFactory {} +unsafe impl Sync for IFabricStatelessServiceFactory {} +#[repr(C)] +pub struct IFabricStatelessServiceFactory_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub CreateInstance: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + super::super::FABRIC_URI, + u32, + *const u8, + windows_core::GUID, + i64, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatelessServiceInstance, + IFabricStatelessServiceInstance_Vtbl, + 0xcc53af90_74cd_11df_ac3e_0024811e3892 +); +impl core::ops::Deref for IFabricStatelessServiceInstance { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatelessServiceInstance, windows_core::IUnknown); +impl IFabricStatelessServiceInstance { + pub unsafe fn BeginOpen( + &self, + partition: P0, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOpen)( + windows_core::Interface::as_raw(self), + partition.param().abi(), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOpen( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOpen)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginClose( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginClose)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndClose)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn Abort(&self) { + (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricStatelessServiceInstance {} +unsafe impl Sync for IFabricStatelessServiceInstance {} +#[repr(C)] +pub struct IFabricStatelessServiceInstance_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricStatelessServicePartition, + IFabricStatelessServicePartition_Vtbl, + 0xcc53af91_74cd_11df_ac3e_0024811e3892 +); +impl core::ops::Deref for IFabricStatelessServicePartition { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStatelessServicePartition, windows_core::IUnknown); +impl IFabricStatelessServicePartition { + pub unsafe fn GetPartitionInfo( + &self, + ) -> windows_core::Result<*mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION> { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetPartitionInfo)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn ReportLoad( + &self, + metrics: &[super::super::FABRIC_LOAD_METRIC], + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportLoad)( + windows_core::Interface::as_raw(self), + metrics.len().try_into().unwrap(), + core::mem::transmute(metrics.as_ptr()), + ) + .ok() + } + pub unsafe fn ReportFault( + &self, + faulttype: super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportFault)( + windows_core::Interface::as_raw(self), + faulttype, + ) + .ok() + } +} +unsafe impl Send for IFabricStatelessServicePartition {} +unsafe impl Sync for IFabricStatelessServicePartition {} +#[repr(C)] +pub struct IFabricStatelessServicePartition_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub GetPartitionInfo: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut super::super::FABRIC_SERVICE_PARTITION_INFORMATION, + ) -> windows_core::HRESULT, + pub ReportLoad: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *const super::super::FABRIC_LOAD_METRIC, + ) -> windows_core::HRESULT, + pub ReportFault: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_FAULT_TYPE, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatelessServicePartition1, + IFabricStatelessServicePartition1_Vtbl, + 0xbf6bb505_7bd0_4371_b6c0_cba319a5e50b +); +impl core::ops::Deref for IFabricStatelessServicePartition1 { + type Target = IFabricStatelessServicePartition; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatelessServicePartition1, + windows_core::IUnknown, + IFabricStatelessServicePartition +); +impl IFabricStatelessServicePartition1 { + pub unsafe fn ReportMoveCost( + &self, + movecost: super::super::FABRIC_MOVE_COST, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportMoveCost)( + windows_core::Interface::as_raw(self), + movecost, + ) + .ok() + } +} +unsafe impl Send for IFabricStatelessServicePartition1 {} +unsafe impl Sync for IFabricStatelessServicePartition1 {} +#[repr(C)] +pub struct IFabricStatelessServicePartition1_Vtbl { + pub base__: IFabricStatelessServicePartition_Vtbl, + pub ReportMoveCost: unsafe extern "system" fn( + *mut core::ffi::c_void, + super::super::FABRIC_MOVE_COST, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatelessServicePartition2, + IFabricStatelessServicePartition2_Vtbl, + 0x9ff35b6c_9d97_4312_93ad_7f34cbdb4ca4 +); +impl core::ops::Deref for IFabricStatelessServicePartition2 { + type Target = IFabricStatelessServicePartition1; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatelessServicePartition2, + windows_core::IUnknown, + IFabricStatelessServicePartition, + IFabricStatelessServicePartition1 +); +impl IFabricStatelessServicePartition2 { + pub unsafe fn ReportInstanceHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportInstanceHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } + pub unsafe fn ReportPartitionHealth( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportPartitionHealth)( + windows_core::Interface::as_raw(self), + healthinfo, + ) + .ok() + } +} +unsafe impl Send for IFabricStatelessServicePartition2 {} +unsafe impl Sync for IFabricStatelessServicePartition2 {} +#[repr(C)] +pub struct IFabricStatelessServicePartition2_Vtbl { + pub base__: IFabricStatelessServicePartition1_Vtbl, + pub ReportInstanceHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, + pub ReportPartitionHealth: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStatelessServicePartition3, + IFabricStatelessServicePartition3_Vtbl, + 0xf2fa2000_70a7_4ed5_9d3e_0b7deca2433f +); +impl core::ops::Deref for IFabricStatelessServicePartition3 { + type Target = IFabricStatelessServicePartition2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStatelessServicePartition3, + windows_core::IUnknown, + IFabricStatelessServicePartition, + IFabricStatelessServicePartition1, + IFabricStatelessServicePartition2 +); +impl IFabricStatelessServicePartition3 { + pub unsafe fn ReportInstanceHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportInstanceHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } + pub unsafe fn ReportPartitionHealth2( + &self, + healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, + sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReportPartitionHealth2)( + windows_core::Interface::as_raw(self), + healthinfo, + sendoptions, + ) + .ok() + } +} +unsafe impl Send for IFabricStatelessServicePartition3 {} +unsafe impl Sync for IFabricStatelessServicePartition3 {} +#[repr(C)] +pub struct IFabricStatelessServicePartition3_Vtbl { + pub base__: IFabricStatelessServicePartition2_Vtbl, + pub ReportInstanceHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, + pub ReportPartitionHealth2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_HEALTH_INFORMATION, + *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStoreEventHandler, + IFabricStoreEventHandler_Vtbl, + 0x220e6da4_985b_4dee_8fe9_77521b838795 +); +impl core::ops::Deref for IFabricStoreEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStoreEventHandler, windows_core::IUnknown); +impl IFabricStoreEventHandler { + pub unsafe fn OnDataLoss(&self) { + (windows_core::Interface::vtable(self).OnDataLoss)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricStoreEventHandler {} +unsafe impl Sync for IFabricStoreEventHandler {} +#[repr(C)] +pub struct IFabricStoreEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnDataLoss: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricStoreEventHandler2, + IFabricStoreEventHandler2_Vtbl, + 0xcce4523f_614b_4d6a_98a3_1e197c0213ea +); +impl core::ops::Deref for IFabricStoreEventHandler2 { + type Target = IFabricStoreEventHandler; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricStoreEventHandler2, + windows_core::IUnknown, + IFabricStoreEventHandler +); +impl IFabricStoreEventHandler2 { + pub unsafe fn BeginOnDataLoss( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOnDataLoss)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOnDataLoss(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOnDataLoss)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricStoreEventHandler2 {} +unsafe impl Sync for IFabricStoreEventHandler2 {} +#[repr(C)] +pub struct IFabricStoreEventHandler2_Vtbl { + pub base__: IFabricStoreEventHandler_Vtbl, + pub BeginOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOnDataLoss: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u8, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricStorePostBackupHandler, + IFabricStorePostBackupHandler_Vtbl, + 0x2af2e8a6_41df_4e32_9d2a_d73a711e652a +); +impl core::ops::Deref for IFabricStorePostBackupHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricStorePostBackupHandler, windows_core::IUnknown); +impl IFabricStorePostBackupHandler { + pub unsafe fn BeginPostBackup( + &self, + info: *const super::super::FABRIC_STORE_BACKUP_INFO, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginPostBackup)( + windows_core::Interface::as_raw(self), + info, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndPostBackup(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndPostBackup)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } +} +unsafe impl Send for IFabricStorePostBackupHandler {} +unsafe impl Sync for IFabricStorePostBackupHandler {} +#[repr(C)] +pub struct IFabricStorePostBackupHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginPostBackup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const super::super::FABRIC_STORE_BACKUP_INFO, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndPostBackup: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut u8, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTransaction, + IFabricTransaction_Vtbl, + 0x19ee48b4_6d4d_470b_ac1e_2d3996a173c8 +); +impl core::ops::Deref for IFabricTransaction { + type Target = IFabricTransactionBase; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricTransaction, + windows_core::IUnknown, + IFabricTransactionBase +); +impl IFabricTransaction { + pub unsafe fn BeginCommit( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginCommit)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndCommit(&self, context: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndCommit)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn Rollback(&self) { + (windows_core::Interface::vtable(self).Rollback)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTransaction {} +unsafe impl Sync for IFabricTransaction {} +#[repr(C)] +pub struct IFabricTransaction_Vtbl { + pub base__: IFabricTransactionBase_Vtbl, + pub BeginCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndCommit: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut i64, + ) -> windows_core::HRESULT, + pub Rollback: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricTransactionBase, + IFabricTransactionBase_Vtbl, + 0x32d656a1_7ad5_47b8_bd66_a2e302626b7e +); +impl core::ops::Deref for IFabricTransactionBase { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransactionBase, windows_core::IUnknown); +impl IFabricTransactionBase { + pub unsafe fn get_Id(&self) -> *mut windows_core::GUID { + (windows_core::Interface::vtable(self).get_Id)(windows_core::Interface::as_raw(self)) + } + pub unsafe fn get_IsolationLevel(&self) -> super::super::FABRIC_TRANSACTION_ISOLATION_LEVEL { + (windows_core::Interface::vtable(self).get_IsolationLevel)(windows_core::Interface::as_raw( + self, + )) + } +} +unsafe impl Send for IFabricTransactionBase {} +unsafe impl Sync for IFabricTransactionBase {} +#[repr(C)] +pub struct IFabricTransactionBase_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub get_Id: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut windows_core::GUID, + pub get_IsolationLevel: + unsafe extern "system" fn( + *mut core::ffi::c_void, + ) -> super::super::FABRIC_TRANSACTION_ISOLATION_LEVEL, +} +pub const FabricRuntime: windows_core::GUID = + windows_core::GUID::from_u128(0xcc53af8c_74cd_11df_ac3e_0024811e3892); +pub type FnFabricMain = Option< + unsafe extern "system" fn( + runtime: Option, + activationcontext: Option, + ) -> windows_core::HRESULT, +>; pub trait IFabricAtomicGroupStateProvider_Impl: Sized { fn BeginAtomicGroupCommit( &self, @@ -416,14 +6436,11 @@ impl IFabricAtomicGroupStateReplicator_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackage_Impl: Sized { fn get_Description(&self) -> *mut super::super::FABRIC_CODE_PACKAGE_DESCRIPTION; fn get_Path(&self) -> windows_core::PCWSTR; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackage {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackage_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -462,14 +6479,11 @@ impl IFabricCodePackage_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackage2_Impl: Sized + IFabricCodePackage_Impl { fn get_SetupEntryPointRunAsPolicy(&self) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION; fn get_EntryPointRunAsPolicy(&self) -> *mut super::super::FABRIC_RUNAS_POLICY_DESCRIPTION; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackage2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackage2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -509,7 +6523,6 @@ impl IFabricCodePackage2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext_Impl: Sized { fn get_ContextId(&self) -> windows_core::PCWSTR; fn get_CodePackageName(&self) -> windows_core::PCWSTR; @@ -565,9 +6578,7 @@ pub trait IFabricCodePackageActivationContext_Impl: Sized { ) -> windows_core::Result; fn UnregisterDataPackageChangeHandler(&self, callbackhandle: i64) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -983,7 +6994,6 @@ impl IFabricCodePackageActivationContext_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext2_Impl: Sized + IFabricCodePackageActivationContext_Impl { @@ -992,9 +7002,7 @@ pub trait IFabricCodePackageActivationContext2_Impl: fn GetServiceManifestName(&self) -> windows_core::Result; fn GetServiceManifestVersion(&self) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1072,7 +7080,6 @@ impl IFabricCodePackageActivationContext2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext3_Impl: Sized + IFabricCodePackageActivationContext2_Impl { @@ -1089,9 +7096,7 @@ pub trait IFabricCodePackageActivationContext3_Impl: healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1167,7 +7172,6 @@ impl IFabricCodePackageActivationContext3_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext4_Impl: Sized + IFabricCodePackageActivationContext3_Impl { @@ -1187,9 +7191,7 @@ pub trait IFabricCodePackageActivationContext4_Impl: sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext4 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext4_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1272,16 +7274,13 @@ impl IFabricCodePackageActivationContext4_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext5_Impl: Sized + IFabricCodePackageActivationContext4_Impl { fn get_ServiceListenAddress(&self) -> windows_core::PCWSTR; fn get_ServicePublishAddress(&self) -> windows_core::PCWSTR; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext5 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext5_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1324,7 +7323,6 @@ impl IFabricCodePackageActivationContext5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageActivationContext6_Impl: Sized + IFabricCodePackageActivationContext5_Impl { @@ -1333,9 +7331,7 @@ pub trait IFabricCodePackageActivationContext6_Impl: logicaldirectoryname: &windows_core::PCWSTR, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageActivationContext6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageActivationContext6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1669,7 +7665,6 @@ impl IFabricCodePackageChangeHandler_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricCodePackageEventHandler_Impl: Sized { fn OnCodePackageEvent( &self, @@ -1677,9 +7672,7 @@ pub trait IFabricCodePackageEventHandler_Impl: Sized { eventdesc: *const super::super::FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION, ); } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricCodePackageEventHandler {} -#[cfg(feature = "Win32_Foundation")] impl IFabricCodePackageEventHandler_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1712,7 +7705,6 @@ impl IFabricCodePackageEventHandler_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricConfigurationPackage_Impl: Sized { fn get_Description(&self) -> *mut super::super::FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION; fn get_Path(&self) -> windows_core::PCWSTR; @@ -1732,9 +7724,7 @@ pub trait IFabricConfigurationPackage_Impl: Sized { encryptedvalue: &windows_core::PCWSTR, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricConfigurationPackage {} -#[cfg(feature = "Win32_Foundation")] impl IFabricConfigurationPackage_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -1858,7 +7848,6 @@ impl IFabricConfigurationPackage_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricConfigurationPackage2_Impl: Sized + IFabricConfigurationPackage_Impl { fn GetValues( &self, @@ -1866,9 +7855,7 @@ pub trait IFabricConfigurationPackage2_Impl: Sized + IFabricConfigurationPackage parameterprefix: &windows_core::PCWSTR, ) -> windows_core::Result<*mut super::super::FABRIC_CONFIGURATION_PARAMETER_LIST>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricConfigurationPackage2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricConfigurationPackage2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2231,7 +8218,6 @@ impl IFabricKeyValueStoreEnumerator_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreEnumerator2_Impl: Sized + IFabricKeyValueStoreEnumerator_Impl { @@ -2246,9 +8232,7 @@ pub trait IFabricKeyValueStoreEnumerator2_Impl: strictprefix: windows::Win32::Foundation::BOOLEAN, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreEnumerator2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreEnumerator2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2481,13 +8465,10 @@ impl IFabricKeyValueStoreItemMetadataEnumerator2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreItemMetadataResult_Impl: Sized { fn get_Metadata(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM_METADATA; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreItemMetadataResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreItemMetadataResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2514,13 +8495,10 @@ impl IFabricKeyValueStoreItemMetadataResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreItemResult_Impl: Sized { fn get_Item(&self) -> *mut super::super::FABRIC_KEY_VALUE_STORE_ITEM; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreItemResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreItemResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2547,15 +8525,12 @@ impl IFabricKeyValueStoreItemResult_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreNotification_Impl: Sized + IFabricKeyValueStoreItemResult_Impl { fn IsDelete(&self) -> windows::Win32::Foundation::BOOLEAN; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreNotification {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreNotification_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -2680,7 +8655,6 @@ impl IFabricKeyValueStoreNotificationEnumerator2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica_Impl: Sized + IFabricStatefulServiceReplica_Impl { fn GetCurrentEpoch( &self, @@ -2746,9 +8720,7 @@ pub trait IFabricKeyValueStoreReplica_Impl: Sized + IFabricStatefulServiceReplic keyprefix: &windows_core::PCWSTR, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3057,7 +9029,6 @@ impl IFabricKeyValueStoreReplica_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica2_Impl: Sized + IFabricKeyValueStoreReplica_Impl { fn Backup(&self, backupdirectory: &windows_core::PCWSTR) -> windows_core::Result<()>; fn Restore(&self, backupdirectory: &windows_core::PCWSTR) -> windows_core::Result<()>; @@ -3066,9 +9037,7 @@ pub trait IFabricKeyValueStoreReplica2_Impl: Sized + IFabricKeyValueStoreReplica settings: *const super::super::FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3136,7 +9105,6 @@ impl IFabricKeyValueStoreReplica2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica3_Impl: Sized + IFabricKeyValueStoreReplica2_Impl { fn BeginBackup( &self, @@ -3150,9 +9118,7 @@ pub trait IFabricKeyValueStoreReplica3_Impl: Sized + IFabricKeyValueStoreReplica context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3216,7 +9182,6 @@ impl IFabricKeyValueStoreReplica3_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica4_Impl: Sized + IFabricKeyValueStoreReplica3_Impl { fn BeginRestore( &self, @@ -3228,9 +9193,7 @@ pub trait IFabricKeyValueStoreReplica4_Impl: Sized + IFabricKeyValueStoreReplica context: Option<&super::IFabricAsyncOperationContext>, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica4 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica4_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3291,7 +9254,6 @@ impl IFabricKeyValueStoreReplica4_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica5_Impl: Sized + IFabricKeyValueStoreReplica4_Impl { fn TryAdd( &self, @@ -3337,9 +9299,7 @@ pub trait IFabricKeyValueStoreReplica5_Impl: Sized + IFabricKeyValueStoreReplica strictprefix: windows::Win32::Foundation::BOOLEAN, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica5 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica5_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -3550,7 +9510,6 @@ impl IFabricKeyValueStoreReplica5_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricKeyValueStoreReplica6_Impl: Sized + IFabricKeyValueStoreReplica5_Impl { fn BeginRestore2( &self, @@ -3559,9 +9518,7 @@ pub trait IFabricKeyValueStoreReplica6_Impl: Sized + IFabricKeyValueStoreReplica callback: Option<&super::IFabricAsyncOperationCallback>, ) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricKeyValueStoreReplica6 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricKeyValueStoreReplica6_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -4522,13 +10479,10 @@ impl IFabricReplicatorCatchupSpecificQuorum_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricReplicatorSettingsResult_Impl: Sized { fn get_ReplicatorSettings(&self) -> *mut super::super::FABRIC_REPLICATOR_SETTINGS; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricReplicatorSettingsResult {} -#[cfg(feature = "Win32_Foundation")] impl IFabricReplicatorSettingsResult_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5318,7 +11272,6 @@ impl IFabricStateProvider_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStateReplicator_Impl: Sized { fn BeginReplicate( &self, @@ -5337,9 +11290,7 @@ pub trait IFabricStateReplicator_Impl: Sized { replicatorsettings: *const super::super::FABRIC_REPLICATOR_SETTINGS, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStateReplicator {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStateReplicator_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5459,13 +11410,10 @@ impl IFabricStateReplicator_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStateReplicator2_Impl: Sized + IFabricStateReplicator_Impl { fn GetReplicatorSettings(&self) -> windows_core::Result; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStateReplicator2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStateReplicator2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5559,7 +11507,6 @@ impl IFabricStatefulServiceFactory_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatefulServicePartition_Impl: Sized { fn GetPartitionInfo( &self, @@ -5583,9 +11530,7 @@ pub trait IFabricStatefulServicePartition_Impl: Sized { ) -> windows_core::Result<()>; fn ReportFault(&self, faulttype: super::super::FABRIC_FAULT_TYPE) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatefulServicePartition {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatefulServicePartition_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5720,15 +11665,12 @@ impl IFabricStatefulServicePartition_Vtbl { iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatefulServicePartition1_Impl: Sized + IFabricStatefulServicePartition_Impl { fn ReportMoveCost(&self, movecost: super::super::FABRIC_MOVE_COST) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatefulServicePartition1 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatefulServicePartition1_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5761,7 +11703,6 @@ impl IFabricStatefulServicePartition1_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatefulServicePartition2_Impl: Sized + IFabricStatefulServicePartition1_Impl { @@ -5774,9 +11715,7 @@ pub trait IFabricStatefulServicePartition2_Impl: healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatefulServicePartition2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatefulServicePartition2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -5827,7 +11766,6 @@ impl IFabricStatefulServicePartition2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatefulServicePartition3_Impl: Sized + IFabricStatefulServicePartition2_Impl { @@ -5842,9 +11780,7 @@ pub trait IFabricStatefulServicePartition3_Impl: sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatefulServicePartition3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatefulServicePartition3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -6408,7 +12344,6 @@ impl IFabricStatelessServicePartition1_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatelessServicePartition2_Impl: Sized + IFabricStatelessServicePartition1_Impl { @@ -6421,9 +12356,7 @@ pub trait IFabricStatelessServicePartition2_Impl: healthinfo: *const super::super::FABRIC_HEALTH_INFORMATION, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatelessServicePartition2 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatelessServicePartition2_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, @@ -6474,7 +12407,6 @@ impl IFabricStatelessServicePartition2_Vtbl { || iid == &::IID } } -#[cfg(feature = "Win32_Foundation")] pub trait IFabricStatelessServicePartition3_Impl: Sized + IFabricStatelessServicePartition2_Impl { @@ -6489,9 +12421,7 @@ pub trait IFabricStatelessServicePartition3_Impl: sendoptions: *const super::super::FABRIC_HEALTH_REPORT_SEND_OPTIONS, ) -> windows_core::Result<()>; } -#[cfg(feature = "Win32_Foundation")] impl windows_core::RuntimeName for IFabricStatelessServicePartition3 {} -#[cfg(feature = "Win32_Foundation")] impl IFabricStatelessServicePartition3_Vtbl { pub const fn new< Identity: windows_core::IUnknownImpl, diff --git a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/impl.rs b/crates/libs/com/src/ServiceFabric/FabricTransport.rs similarity index 54% rename from crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/impl.rs rename to crates/libs/com/src/ServiceFabric/FabricTransport.rs index 44a34e41..27ae951e 100644 --- a/crates/libs/com/src/Microsoft/ServiceFabric/FabricCommon/FabricTransport/impl.rs +++ b/crates/libs/com/src/ServiceFabric/FabricTransport.rs @@ -1,5 +1,786 @@ -// Bindings generated by `windows-bindgen` 0.56.0 +// Bindings generated by `windows-bindgen` 0.57.0 +#![allow( + non_snake_case, + non_upper_case_globals, + non_camel_case_types, + dead_code, + clippy::all +)] +#[inline] +pub unsafe fn CreateFabricTransportClient( + interfaceid: *const windows_core::GUID, + settings: *const FABRIC_TRANSPORT_SETTINGS, + connectionaddress: P0, + notificationhandler: P1, + clienteventhandler: P2, + messagedisposer: P3, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, +{ + #[link(name = "FabricTransport")] + extern "system" { + pub fn CreateFabricTransportClient( + interfaceid: *const windows_core::GUID, + settings: *const FABRIC_TRANSPORT_SETTINGS, + connectionaddress: windows_core::PCWSTR, + notificationhandler: *mut core::ffi::c_void, + clienteventhandler: *mut core::ffi::c_void, + messagedisposer: *mut core::ffi::c_void, + client: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + CreateFabricTransportClient( + interfaceid, + settings, + connectionaddress.param().abi(), + notificationhandler.param().abi(), + clienteventhandler.param().abi(), + messagedisposer.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +#[inline] +pub unsafe fn CreateFabricTransportListener( + interfaceid: *const windows_core::GUID, + settings: *const FABRIC_TRANSPORT_SETTINGS, + address: *const FABRIC_TRANSPORT_LISTEN_ADDRESS, + requesthandler: P0, + connectionhandler: P1, + disposeprocessor: P2, +) -> windows_core::Result +where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, +{ + #[link(name = "FabricTransport")] + extern "system" { + pub fn CreateFabricTransportListener( + interfaceid: *const windows_core::GUID, + settings: *const FABRIC_TRANSPORT_SETTINGS, + address: *const FABRIC_TRANSPORT_LISTEN_ADDRESS, + requesthandler: *mut core::ffi::c_void, + connectionhandler: *mut core::ffi::c_void, + disposeprocessor: *mut core::ffi::c_void, + listener: *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT; + } + let mut result__ = core::mem::zeroed(); + CreateFabricTransportListener( + interfaceid, + settings, + address, + requesthandler.param().abi(), + connectionhandler.param().abi(), + disposeprocessor.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) +} +windows_core::imp::define_interface!( + IFabricTransportCallbackMessageHandler, + IFabricTransportCallbackMessageHandler_Vtbl, + 0x9ba8ac7a_3464_4774_b9b9_1d7f0f1920ba +); +impl core::ops::Deref for IFabricTransportCallbackMessageHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!( + IFabricTransportCallbackMessageHandler, + windows_core::IUnknown +); +impl IFabricTransportCallbackMessageHandler { + pub unsafe fn HandleOneWay(&self, message: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).HandleOneWay)( + windows_core::Interface::as_raw(self), + message.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricTransportCallbackMessageHandler {} +unsafe impl Sync for IFabricTransportCallbackMessageHandler {} +#[repr(C)] +pub struct IFabricTransportCallbackMessageHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub HandleOneWay: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTransportClient, + IFabricTransportClient_Vtbl, + 0x5b0634fe_6a52_4bd9_8059_892c72c1d73a +); +impl core::ops::Deref for IFabricTransportClient { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportClient, windows_core::IUnknown); +impl IFabricTransportClient { + pub unsafe fn BeginRequest( + &self, + message: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginRequest)( + windows_core::Interface::as_raw(self), + message.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndRequest( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndRequest)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn Send(&self, message: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).Send)( + windows_core::Interface::as_raw(self), + message.param().abi(), + ) + .ok() + } + pub unsafe fn BeginOpen( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOpen)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOpen(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndOpen)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginClose( + &self, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginClose)( + windows_core::Interface::as_raw(self), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndClose)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn Abort(&self) { + (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTransportClient {} +unsafe impl Sync for IFabricTransportClient {} +#[repr(C)] +pub struct IFabricTransportClient_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginRequest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndRequest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricTransportClientConnection, + IFabricTransportClientConnection_Vtbl, + 0xa54c17f7_fe94_4838_b14d_e9b5c258e2d0 +); +impl core::ops::Deref for IFabricTransportClientConnection { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportClientConnection, windows_core::IUnknown); +impl IFabricTransportClientConnection { + pub unsafe fn Send(&self, message: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).Send)( + windows_core::Interface::as_raw(self), + message.param().abi(), + ) + .ok() + } + pub unsafe fn get_ClientId(&self) -> *mut u16 { + (windows_core::Interface::vtable(self).get_ClientId)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTransportClientConnection {} +unsafe impl Sync for IFabricTransportClientConnection {} +#[repr(C)] +pub struct IFabricTransportClientConnection_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub Send: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub get_ClientId: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut u16, +} +windows_core::imp::define_interface!( + IFabricTransportClientEventHandler, + IFabricTransportClientEventHandler_Vtbl, + 0x4935ab6f_a8bc_4b10_a69e_7a3ba3324892 +); +impl core::ops::Deref for IFabricTransportClientEventHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportClientEventHandler, windows_core::IUnknown); +impl IFabricTransportClientEventHandler { + pub unsafe fn OnConnected(&self, connectionaddress: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnConnected)( + windows_core::Interface::as_raw(self), + connectionaddress.param().abi(), + ) + .ok() + } + pub unsafe fn OnDisconnected( + &self, + connectionaddress: P0, + error: windows_core::HRESULT, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).OnDisconnected)( + windows_core::Interface::as_raw(self), + connectionaddress.param().abi(), + error, + ) + .ok() + } +} +unsafe impl Send for IFabricTransportClientEventHandler {} +unsafe impl Sync for IFabricTransportClientEventHandler {} +#[repr(C)] +pub struct IFabricTransportClientEventHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub OnConnected: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, + pub OnDisconnected: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::HRESULT, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTransportConnectionHandler, + IFabricTransportConnectionHandler_Vtbl, + 0xb069692d_e8f0_4f25_a3b6_b2992598a64c +); +impl core::ops::Deref for IFabricTransportConnectionHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportConnectionHandler, windows_core::IUnknown); +impl IFabricTransportConnectionHandler { + pub unsafe fn BeginProcessConnect( + &self, + clientconnection: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProcessConnect)( + windows_core::Interface::as_raw(self), + clientconnection.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProcessConnect(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProcessConnect)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn BeginProcessDisconnect( + &self, + clientid: *const u16, + timeoutmilliseconds: u32, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProcessDisconnect)( + windows_core::Interface::as_raw(self), + clientid, + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProcessDisconnect(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndProcessDisconnect)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricTransportConnectionHandler {} +unsafe impl Sync for IFabricTransportConnectionHandler {} +#[repr(C)] +pub struct IFabricTransportConnectionHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginProcessConnect: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProcessConnect: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginProcessDisconnect: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const u16, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProcessDisconnect: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +windows_core::imp::define_interface!( + IFabricTransportListener, + IFabricTransportListener_Vtbl, + 0x1b63a266_1eeb_4f3e_8886_521458980d10 +); +impl core::ops::Deref for IFabricTransportListener { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportListener, windows_core::IUnknown); +impl IFabricTransportListener { + pub unsafe fn BeginOpen( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginOpen)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndOpen( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndOpen)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn BeginClose( + &self, + callback: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginClose)( + windows_core::Interface::as_raw(self), + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndClose(&self, context: P0) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).EndClose)( + windows_core::Interface::as_raw(self), + context.param().abi(), + ) + .ok() + } + pub unsafe fn Abort(&self) { + (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTransportListener {} +unsafe impl Sync for IFabricTransportListener {} +#[repr(C)] +pub struct IFabricTransportListener_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndOpen: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub BeginClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndClose: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricTransportMessage, + IFabricTransportMessage_Vtbl, + 0xb4357dab_ef06_465f_b453_938f3b0ad4b5 +); +impl core::ops::Deref for IFabricTransportMessage { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportMessage, windows_core::IUnknown); +impl IFabricTransportMessage { + pub unsafe fn GetHeaderAndBodyBuffer( + &self, + headerbuffer: *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, + msgbuffercount: *mut u32, + msgbuffers: *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, + ) { + (windows_core::Interface::vtable(self).GetHeaderAndBodyBuffer)( + windows_core::Interface::as_raw(self), + headerbuffer, + msgbuffercount, + msgbuffers, + ) + } + pub unsafe fn Dispose(&self) { + (windows_core::Interface::vtable(self).Dispose)(windows_core::Interface::as_raw(self)) + } +} +unsafe impl Send for IFabricTransportMessage {} +unsafe impl Sync for IFabricTransportMessage {} +#[repr(C)] +pub struct IFabricTransportMessage_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub GetHeaderAndBodyBuffer: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, + *mut u32, + *mut *mut FABRIC_TRANSPORT_MESSAGE_BUFFER, + ), + pub Dispose: unsafe extern "system" fn(*mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricTransportMessageDisposer, + IFabricTransportMessageDisposer_Vtbl, + 0x914097f3_a821_46ea_b3d9_feafe5f7c4a9 +); +impl core::ops::Deref for IFabricTransportMessageDisposer { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportMessageDisposer, windows_core::IUnknown); +impl IFabricTransportMessageDisposer { + pub unsafe fn Dispose(&self, messages: &[Option]) { + (windows_core::Interface::vtable(self).Dispose)( + windows_core::Interface::as_raw(self), + messages.len().try_into().unwrap(), + core::mem::transmute(messages.as_ptr()), + ) + } +} +unsafe impl Send for IFabricTransportMessageDisposer {} +unsafe impl Sync for IFabricTransportMessageDisposer {} +#[repr(C)] +pub struct IFabricTransportMessageDisposer_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub Dispose: + unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void), +} +windows_core::imp::define_interface!( + IFabricTransportMessageHandler, + IFabricTransportMessageHandler_Vtbl, + 0x6815bdb4_1479_4c44_8b9d_57d6d0cc9d64 +); +impl core::ops::Deref for IFabricTransportMessageHandler { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } +} +windows_core::imp::interface_hierarchy!(IFabricTransportMessageHandler, windows_core::IUnknown); +impl IFabricTransportMessageHandler { + pub unsafe fn BeginProcessRequest( + &self, + clientid: *const u16, + message: P0, + timeoutmilliseconds: u32, + callback: P1, + ) -> windows_core::Result + where + P0: windows_core::Param, + P1: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).BeginProcessRequest)( + windows_core::Interface::as_raw(self), + clientid, + message.param().abi(), + timeoutmilliseconds, + callback.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn EndProcessRequest( + &self, + context: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).EndProcessRequest)( + windows_core::Interface::as_raw(self), + context.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + pub unsafe fn HandleOneWay( + &self, + clientid: *const u16, + message: P0, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).HandleOneWay)( + windows_core::Interface::as_raw(self), + clientid, + message.param().abi(), + ) + .ok() + } +} +unsafe impl Send for IFabricTransportMessageHandler {} +unsafe impl Sync for IFabricTransportMessageHandler {} +#[repr(C)] +pub struct IFabricTransportMessageHandler_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub BeginProcessRequest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const u16, + *mut core::ffi::c_void, + u32, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub EndProcessRequest: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub HandleOneWay: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const u16, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_TRANSPORT_LISTEN_ADDRESS { + pub IPAddressOrFQDN: windows_core::PCWSTR, + pub Port: u32, + pub Path: windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_TRANSPORT_LISTEN_ADDRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_TRANSPORT_LISTEN_ADDRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_TRANSPORT_MESSAGE_BUFFER { + pub BufferSize: u32, + pub Buffer: *mut u8, +} +impl windows_core::TypeKind for FABRIC_TRANSPORT_MESSAGE_BUFFER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_TRANSPORT_MESSAGE_BUFFER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_TRANSPORT_SETTINGS { + pub OperationTimeoutInSeconds: u32, + pub KeepAliveTimeoutInSeconds: u32, + pub MaxMessageSize: u32, + pub MaxConcurrentCalls: u32, + pub MaxQueueSize: u32, + pub SecurityCredentials: *const super::super::FABRIC_SECURITY_CREDENTIALS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_TRANSPORT_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_TRANSPORT_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} pub trait IFabricTransportCallbackMessageHandler_Impl: Sized { fn HandleOneWay(&self, message: Option<&IFabricTransportMessage>) -> windows_core::Result<()>; } diff --git a/crates/libs/com/src/ServiceFabric/FabricTypes.rs b/crates/libs/com/src/ServiceFabric/FabricTypes.rs new file mode 100644 index 00000000..47973aac --- /dev/null +++ b/crates/libs/com/src/ServiceFabric/FabricTypes.rs @@ -0,0 +1,13613 @@ +// Bindings generated by `windows-bindgen` 0.57.0 + +#![allow( + non_snake_case, + non_upper_case_globals, + non_camel_case_types, + dead_code, + clippy::all +)] +pub const FABRIC_APPLICATION_DEFINITION_KIND_COMPOSE: FABRIC_APPLICATION_DEFINITION_KIND = + FABRIC_APPLICATION_DEFINITION_KIND(1i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_ALL: FABRIC_APPLICATION_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_DEFINITION_KIND_FILTER(65535i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_COMPOSE: + FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(2i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_DEFAULT: + FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(0i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(4i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_DEFINITION_KIND_FILTER = FABRIC_APPLICATION_DEFINITION_KIND_FILTER(1i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_INVALID: FABRIC_APPLICATION_DEFINITION_KIND = + FABRIC_APPLICATION_DEFINITION_KIND(65535i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_DEFINITION_KIND = FABRIC_APPLICATION_DEFINITION_KIND(2i32); +pub const FABRIC_APPLICATION_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_DEFINITION_KIND = FABRIC_APPLICATION_DEFINITION_KIND(0i32); +pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_AUTOMATIC: + FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(2i32); +pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_DEFAULT: + FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(1i32); +pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_INVALID: + FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(0i32); +pub const FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY_MANUAL: + FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY = FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(3i32); +pub const FABRIC_APPLICATION_STATUS_CREATING: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(3i32); +pub const FABRIC_APPLICATION_STATUS_DELETING: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(4i32); +pub const FABRIC_APPLICATION_STATUS_FAILED: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(5i32); +pub const FABRIC_APPLICATION_STATUS_INVALID: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(0i32); +pub const FABRIC_APPLICATION_STATUS_READY: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(1i32); +pub const FABRIC_APPLICATION_STATUS_UPGRADING: FABRIC_APPLICATION_STATUS = + FABRIC_APPLICATION_STATUS(2i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_COMPOSE: FABRIC_APPLICATION_TYPE_DEFINITION_KIND = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND(2i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_ALL: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(65535i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_COMPOSE: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(2i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_DEFAULT: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(0i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_MESH_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(4i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER_SERVICE_FABRIC_APPLICATION_PACKAGE: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(1i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_INVALID: FABRIC_APPLICATION_TYPE_DEFINITION_KIND = + FABRIC_APPLICATION_TYPE_DEFINITION_KIND(0i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_MESH_APPLICATION_DESCRIPTION: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND = FABRIC_APPLICATION_TYPE_DEFINITION_KIND(3i32); +pub const FABRIC_APPLICATION_TYPE_DEFINITION_KIND_SERVICE_FABRIC_APPLICATION_PACKAGE: + FABRIC_APPLICATION_TYPE_DEFINITION_KIND = FABRIC_APPLICATION_TYPE_DEFINITION_KIND(1i32); +pub const FABRIC_APPLICATION_TYPE_STATUS_AVAILABLE: FABRIC_APPLICATION_TYPE_STATUS = + FABRIC_APPLICATION_TYPE_STATUS(2i32); +pub const FABRIC_APPLICATION_TYPE_STATUS_FAILED: FABRIC_APPLICATION_TYPE_STATUS = + FABRIC_APPLICATION_TYPE_STATUS(4i32); +pub const FABRIC_APPLICATION_TYPE_STATUS_INVALID: FABRIC_APPLICATION_TYPE_STATUS = + FABRIC_APPLICATION_TYPE_STATUS(0i32); +pub const FABRIC_APPLICATION_TYPE_STATUS_PROVISIONING: FABRIC_APPLICATION_TYPE_STATUS = + FABRIC_APPLICATION_TYPE_STATUS(1i32); +pub const FABRIC_APPLICATION_TYPE_STATUS_UNPROVISIONING: FABRIC_APPLICATION_TYPE_STATUS = + FABRIC_APPLICATION_TYPE_STATUS(3i32); +pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MAXNODES: + FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(2i32); +pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_METRICS: + FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(4i32); +pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_MINNODES: + FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(1i32); +pub const FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS_NONE: + FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS = FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(0i32); +pub const FABRIC_APPLICATION_UPGRADE_KIND_INVALID: FABRIC_APPLICATION_UPGRADE_KIND = + FABRIC_APPLICATION_UPGRADE_KIND(0i32); +pub const FABRIC_APPLICATION_UPGRADE_KIND_ROLLING: FABRIC_APPLICATION_UPGRADE_KIND = + FABRIC_APPLICATION_UPGRADE_KIND(1i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_FAILED: FABRIC_APPLICATION_UPGRADE_STATE = + FABRIC_APPLICATION_UPGRADE_STATE(6i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_INVALID: FABRIC_APPLICATION_UPGRADE_STATE = + FABRIC_APPLICATION_UPGRADE_STATE(0i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_COMPLETED: + FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(2i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS: + FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(1i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_BACK_PENDING: FABRIC_APPLICATION_UPGRADE_STATE = + FABRIC_APPLICATION_UPGRADE_STATE(7i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED: + FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(5i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS: + FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(4i32); +pub const FABRIC_APPLICATION_UPGRADE_STATE_ROLLING_FORWARD_PENDING: + FABRIC_APPLICATION_UPGRADE_STATE = FABRIC_APPLICATION_UPGRADE_STATE(3i32); +pub const FABRIC_AUTO_SEQUENCE_NUMBER: u32 = 0u32; +pub const FABRIC_CHAOS_EVENT_KIND_EXECUTING_FAULTS: FABRIC_CHAOS_EVENT_KIND = + FABRIC_CHAOS_EVENT_KIND(2i32); +pub const FABRIC_CHAOS_EVENT_KIND_INVALID: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(0i32); +pub const FABRIC_CHAOS_EVENT_KIND_STARTED: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(1i32); +pub const FABRIC_CHAOS_EVENT_KIND_STOPPED: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(6i32); +pub const FABRIC_CHAOS_EVENT_KIND_TEST_ERROR: FABRIC_CHAOS_EVENT_KIND = + FABRIC_CHAOS_EVENT_KIND(5i32); +pub const FABRIC_CHAOS_EVENT_KIND_VALIDATION_FAILED: FABRIC_CHAOS_EVENT_KIND = + FABRIC_CHAOS_EVENT_KIND(4i32); +pub const FABRIC_CHAOS_EVENT_KIND_WAITING: FABRIC_CHAOS_EVENT_KIND = FABRIC_CHAOS_EVENT_KIND(3i32); +pub const FABRIC_CHAOS_SCHEDULE_STATUS_ACTIVE: FABRIC_CHAOS_SCHEDULE_STATUS = + FABRIC_CHAOS_SCHEDULE_STATUS(1i32); +pub const FABRIC_CHAOS_SCHEDULE_STATUS_EXPIRED: FABRIC_CHAOS_SCHEDULE_STATUS = + FABRIC_CHAOS_SCHEDULE_STATUS(2i32); +pub const FABRIC_CHAOS_SCHEDULE_STATUS_INVALID: FABRIC_CHAOS_SCHEDULE_STATUS = + FABRIC_CHAOS_SCHEDULE_STATUS(0i32); +pub const FABRIC_CHAOS_SCHEDULE_STATUS_PENDING: FABRIC_CHAOS_SCHEDULE_STATUS = + FABRIC_CHAOS_SCHEDULE_STATUS(3i32); +pub const FABRIC_CHAOS_SCHEDULE_STATUS_STOPPED: FABRIC_CHAOS_SCHEDULE_STATUS = + FABRIC_CHAOS_SCHEDULE_STATUS(4i32); +pub const FABRIC_CHAOS_STATUS_INVALID: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(0i32); +pub const FABRIC_CHAOS_STATUS_RUNNING: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(1i32); +pub const FABRIC_CHAOS_STATUS_STOPPED: FABRIC_CHAOS_STATUS = FABRIC_CHAOS_STATUS(2i32); +pub const FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_AAD: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND = + FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(1i32); +pub const FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND_NONE: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND = + FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(0i32); +pub const FABRIC_CLIENT_ROLE_ADMIN: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(2i32); +pub const FABRIC_CLIENT_ROLE_UNKNOWN: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(0i32); +pub const FABRIC_CLIENT_ROLE_USER: FABRIC_CLIENT_ROLE = FABRIC_CLIENT_ROLE(1i32); +pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_CONTAINERHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = + FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(4i32); +pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_DLLHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = + FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(3i32); +pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_EXEHOST: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = + FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(2i32); +pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_INVALID: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = + FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(0i32); +pub const FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND_NONE: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND = + FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(1i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_HEALTH: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(4i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_INVALID: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(0i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_READY: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(3i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_STARTED: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(2i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_START_FAILED: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(1i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_STOPPED: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(5i32); +pub const FABRIC_CODE_PACKAGE_EVENT_TYPE_TERMINATED: FABRIC_CODE_PACKAGE_EVENT_TYPE = + FABRIC_CODE_PACKAGE_EVENT_TYPE(6i32); +pub const FABRIC_DATA_LOSS_MODE_FULL: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(2i32); +pub const FABRIC_DATA_LOSS_MODE_INVALID: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(0i32); +pub const FABRIC_DATA_LOSS_MODE_PARTIAL: FABRIC_DATA_LOSS_MODE = FABRIC_DATA_LOSS_MODE(1i32); +pub const FABRIC_DEPLOYMENT_STATUS_ACTIVATING: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(2i32); +pub const FABRIC_DEPLOYMENT_STATUS_ACTIVE: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(3i32); +pub const FABRIC_DEPLOYMENT_STATUS_DEACTIVATING: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(5i32); +pub const FABRIC_DEPLOYMENT_STATUS_DOWNLOADING: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(1i32); +pub const FABRIC_DEPLOYMENT_STATUS_INVALID: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(0i32); +pub const FABRIC_DEPLOYMENT_STATUS_UPGRADING: FABRIC_DEPLOYMENT_STATUS = + FABRIC_DEPLOYMENT_STATUS(4i32); +pub const FABRIC_DIAGNOSTICS_SINKS_KIND_AZUREINTERNAL: FABRIC_DIAGNOSTICS_SINKS_KIND = + FABRIC_DIAGNOSTICS_SINKS_KIND(1i32); +pub const FABRIC_DIAGNOSTICS_SINKS_KIND_INVALID: FABRIC_DIAGNOSTICS_SINKS_KIND = + FABRIC_DIAGNOSTICS_SINKS_KIND(0i32); +pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_INVALID: FABRIC_DLLHOST_HOSTED_DLL_KIND = + FABRIC_DLLHOST_HOSTED_DLL_KIND(0i32); +pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_MANAGED: FABRIC_DLLHOST_HOSTED_DLL_KIND = + FABRIC_DLLHOST_HOSTED_DLL_KIND(2i32); +pub const FABRIC_DLLHOST_HOSTED_DLL_KIND_UNMANAGED: FABRIC_DLLHOST_HOSTED_DLL_KIND = + FABRIC_DLLHOST_HOSTED_DLL_KIND(1i32); +pub const FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_DOMAIN: FABRIC_DLLHOST_ISOLATION_POLICY = + FABRIC_DLLHOST_ISOLATION_POLICY(2i32); +pub const FABRIC_DLLHOST_ISOLATION_POLICY_DEDICATED_PROCESS: FABRIC_DLLHOST_ISOLATION_POLICY = + FABRIC_DLLHOST_ISOLATION_POLICY(3i32); +pub const FABRIC_DLLHOST_ISOLATION_POLICY_INVALID: FABRIC_DLLHOST_ISOLATION_POLICY = + FABRIC_DLLHOST_ISOLATION_POLICY(0i32); +pub const FABRIC_DLLHOST_ISOLATION_POLICY_SHARED_DOMAIN: FABRIC_DLLHOST_ISOLATION_POLICY = + FABRIC_DLLHOST_ISOLATION_POLICY(1i32); +pub const FABRIC_ENTRY_POINT_STATUS_INVALID: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(0i32); +pub const FABRIC_ENTRY_POINT_STATUS_PENDING: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(1i32); +pub const FABRIC_ENTRY_POINT_STATUS_STARTED: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(3i32); +pub const FABRIC_ENTRY_POINT_STATUS_STARTING: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(2i32); +pub const FABRIC_ENTRY_POINT_STATUS_STOPPED: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(5i32); +pub const FABRIC_ENTRY_POINT_STATUS_STOPPING: FABRIC_ENTRY_POINT_STATUS = + FABRIC_ENTRY_POINT_STATUS(4i32); +pub const FABRIC_ENUMERATION_BEST_EFFORT_FINISHED: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(4i32); +pub const FABRIC_ENUMERATION_BEST_EFFORT_MASK: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(5i32); +pub const FABRIC_ENUMERATION_BEST_EFFORT_MORE_DATA: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(1i32); +pub const FABRIC_ENUMERATION_CONSISTENT_FINISHED: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(8i32); +pub const FABRIC_ENUMERATION_CONSISTENT_MASK: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(10i32); +pub const FABRIC_ENUMERATION_CONSISTENT_MORE_DATA: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(2i32); +pub const FABRIC_ENUMERATION_FINISHED_MASK: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(12i32); +pub const FABRIC_ENUMERATION_INVALID: FABRIC_ENUMERATION_STATUS = FABRIC_ENUMERATION_STATUS(0i32); +pub const FABRIC_ENUMERATION_MORE_DATA_MASK: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(3i32); +pub const FABRIC_ENUMERATION_VALID_MASK: FABRIC_ENUMERATION_STATUS = + FABRIC_ENUMERATION_STATUS(15i32); +pub const FABRIC_EXEHOST_WORKING_FOLDER_CODE_BASE: FABRIC_EXEHOST_WORKING_FOLDER = + FABRIC_EXEHOST_WORKING_FOLDER(3i32); +pub const FABRIC_EXEHOST_WORKING_FOLDER_CODE_PACKAGE: FABRIC_EXEHOST_WORKING_FOLDER = + FABRIC_EXEHOST_WORKING_FOLDER(2i32); +pub const FABRIC_EXEHOST_WORKING_FOLDER_INVALID: FABRIC_EXEHOST_WORKING_FOLDER = + FABRIC_EXEHOST_WORKING_FOLDER(0i32); +pub const FABRIC_EXEHOST_WORKING_FOLDER_WORK: FABRIC_EXEHOST_WORKING_FOLDER = + FABRIC_EXEHOST_WORKING_FOLDER(1i32); +pub const FABRIC_E_ACQUIRE_FILE_LOCK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017662i32); +pub const FABRIC_E_ALREADY_STOPPED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017634i32); +pub const FABRIC_E_APPLICATION_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017764i32); +pub const FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017721i32); +pub const FABRIC_E_APPLICATION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017763i32); +pub const FABRIC_E_APPLICATION_NOT_UPGRADING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017722i32); +pub const FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017767i32); +pub const FABRIC_E_APPLICATION_TYPE_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017765i32); +pub const FABRIC_E_APPLICATION_TYPE_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017766i32); +pub const FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017768i32); +pub const FABRIC_E_APPLICATION_UPDATE_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017648i32); +pub const FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017762i32); +pub const FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017761i32); +pub const FABRIC_E_BACKUPCOPIER_ACCESS_DENIED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017601i32); +pub const FABRIC_E_BACKUPCOPIER_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017602i32); +pub const FABRIC_E_BACKUPCOPIER_UNEXPECTED_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017603i32); +pub const FABRIC_E_BACKUP_DIRECTORY_NOT_EMPTY: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017664i32); +pub const FABRIC_E_BACKUP_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017672i32); +pub const FABRIC_E_BACKUP_IS_ENABLED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017612i32); +pub const FABRIC_E_BACKUP_NOT_ENABLED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017613i32); +pub const FABRIC_E_BACKUP_POLICY_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017610i32); +pub const FABRIC_E_BACKUP_POLICY_DOES_NOT_EXIST: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017611i32); +pub const FABRIC_E_CANNOT_CONNECT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017652i32); +pub const FABRIC_E_CENTRAL_SECRET_SERVICE_GENERIC: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017594i32); +pub const FABRIC_E_CERTIFICATE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017641i32); +pub const FABRIC_E_CHAOS_ALREADY_RUNNING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017640i32); +pub const FABRIC_E_CM_OPERATION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017643i32); +pub const FABRIC_E_CODE_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017733i32); +pub const FABRIC_E_COMMUNICATION_ERROR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017796i32); +pub const FABRIC_E_COMPOSE_DEPLOYMENT_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017619i32); +pub const FABRIC_E_COMPOSE_DEPLOYMENT_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017618i32); +pub const FABRIC_E_COMPOSE_DEPLOYMENT_NOT_UPGRADING: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017589i32); +pub const FABRIC_E_CONFIGURATION_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017735i32); +pub const FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017756i32); +pub const FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017757i32); +pub const FABRIC_E_CONFIG_UPGRADE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017627i32); +pub const FABRIC_E_CONNECTION_CLOSED_BY_REMOTE_END: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017646i32); +pub const FABRIC_E_CONNECTION_DENIED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017661i32); +pub const FABRIC_E_CONSTRAINT_KEY_UNDEFINED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017659i32); +pub const FABRIC_E_CONSTRAINT_NOT_SATISFIED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017650i32); +pub const FABRIC_E_CONTAINER_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017606i32); +pub const FABRIC_E_CORRUPTED_IMAGE_STORE_OBJECT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017723i32); +pub const FABRIC_E_DATABASE_MIGRATION_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017595i32); +pub const FABRIC_E_DATA_PACKAGE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017734i32); +pub const FABRIC_E_DECRYPTION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017736i32); +pub const FABRIC_E_DELETE_BACKUP_FILE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017647i32); +pub const FABRIC_E_DIRECTORY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017727i32); +pub const FABRIC_E_DNS_NAME_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017620i32); +pub const FABRIC_E_DNS_SERVICE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017622i32); +pub const FABRIC_E_DUPLICATE_BACKUPS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017637i32); +pub const FABRIC_E_DUPLICATE_SERVICE_NOTIFICATION_FILTER_NAME: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017671i32); +pub const FABRIC_E_ENCRYPTION_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017707i32); +pub const FABRIC_E_ENDPOINT_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017649i32); +pub const FABRIC_E_ENDPOINT_NOT_REFERENCED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017585i32); +pub const FABRIC_E_ENUMERATION_COMPLETED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017769i32); +pub const FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017716i32); +pub const FABRIC_E_FABRIC_DATA_ROOT_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017639i32); +pub const FABRIC_E_FABRIC_NOT_UPGRADING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017715i32); +pub const FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017714i32); +pub const FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017713i32); +pub const FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017717i32); +pub const FABRIC_E_FABRIC_VERSION_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017718i32); +pub const FABRIC_E_FABRIC_VERSION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017719i32); +pub const FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_ENABLED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017607i32); +pub const FABRIC_E_FILE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017728i32); +pub const FABRIC_E_FIRST_RESERVED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017796i32); +pub const FABRIC_E_FORCE_NOT_SUPPORTED_FOR_REPLICA_OPERATION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017663i32); +pub const FABRIC_E_GATEWAY_NOT_REACHABLE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017655i32); +pub const FABRIC_E_HEALTH_ENTITY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017705i32); +pub const FABRIC_E_HEALTH_MAX_REPORTS_REACHED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017712i32); +pub const FABRIC_E_HEALTH_STALE_REPORT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017711i32); +pub const FABRIC_E_IMAGEBUILDER_ACCESS_DENIED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017693i32); +pub const FABRIC_E_IMAGEBUILDER_INVALID_MSI_FILE: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017692i32); +pub const FABRIC_E_IMAGEBUILDER_RESERVED_DIRECTORY_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017642i32); +pub const FABRIC_E_IMAGEBUILDER_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017694i32); +pub const FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017720i32); +pub const FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017754i32); +pub const FABRIC_E_IMAGESTORE_IOERROR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017724i32); +pub const FABRIC_E_INSTANCE_ID_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017680i32); +pub const FABRIC_E_INSUFFICIENT_CLUSTER_CAPACITY: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017677i32); +pub const FABRIC_E_INVALID_ADDRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017795i32); +pub const FABRIC_E_INVALID_ALLOWED_COMMON_NAME_LIST: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017738i32); +pub const FABRIC_E_INVALID_ATOMIC_GROUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017706i32); +pub const FABRIC_E_INVALID_BACKUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017631i32); +pub const FABRIC_E_INVALID_BACKUP_CHAIN: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017636i32); +pub const FABRIC_E_INVALID_BACKUP_SETTING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017674i32); +pub const FABRIC_E_INVALID_CONFIGURATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017755i32); +pub const FABRIC_E_INVALID_CREDENTIALS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017737i32); +pub const FABRIC_E_INVALID_CREDENTIAL_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017746i32); +pub const FABRIC_E_INVALID_DIRECTORY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017726i32); +pub const FABRIC_E_INVALID_DNS_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017621i32); +pub const FABRIC_E_INVALID_DURATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017629i32); +pub const FABRIC_E_INVALID_FOR_STATEFUL_SERVICES: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017617i32); +pub const FABRIC_E_INVALID_FOR_STATELESS_SERVICES: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017616i32); +pub const FABRIC_E_INVALID_INSTANCE_ID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017630i32); +pub const FABRIC_E_INVALID_NAME_URI: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017794i32); +pub const FABRIC_E_INVALID_OPERATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017731i32); +pub const FABRIC_E_INVALID_PACKAGE_SHARING_POLICY: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017676i32); +pub const FABRIC_E_INVALID_PARTITION_KEY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017793i32); +pub const FABRIC_E_INVALID_PARTITION_OPERATION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017667i32); +pub const FABRIC_E_INVALID_PARTITION_SELECTOR: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017624i32); +pub const FABRIC_E_INVALID_PROTECTION_LEVEL: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017741i32); +pub const FABRIC_E_INVALID_REPLICA_OPERATION: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017670i32); +pub const FABRIC_E_INVALID_REPLICA_SELECTOR: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017623i32); +pub const FABRIC_E_INVALID_REPLICA_STATE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017669i32); +pub const FABRIC_E_INVALID_RESTORE_DATA: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017638i32); +pub const FABRIC_E_INVALID_SERVICE_SCALING_POLICY: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017600i32); +pub const FABRIC_E_INVALID_SERVICE_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017695i32); +pub const FABRIC_E_INVALID_SUBJECT_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017739i32); +pub const FABRIC_E_INVALID_TEST_COMMAND_STATE: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017645i32); +pub const FABRIC_E_INVALID_UPLOAD_SESSION_ID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017614i32); +pub const FABRIC_E_INVALID_X509_FIND_TYPE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017745i32); +pub const FABRIC_E_INVALID_X509_NAME_LIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017657i32); +pub const FABRIC_E_INVALID_X509_STORE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017740i32); +pub const FABRIC_E_INVALID_X509_STORE_LOCATION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017744i32); +pub const FABRIC_E_INVALID_X509_STORE_NAME: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017743i32); +pub const FABRIC_E_INVALID_X509_THUMBPRINT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017742i32); +pub const FABRIC_E_KEY_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017709i32); +pub const FABRIC_E_KEY_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017710i32); +pub const FABRIC_E_LAST_RESERVED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017397i32); +pub const FABRIC_E_LAST_USED_HRESULT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017585i32); +pub const FABRIC_E_LOADBALANCER_NOT_READY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017668i32); +pub const FABRIC_E_MESSAGE_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017651i32); +pub const FABRIC_E_MISSING_FULL_BACKUP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017673i32); +pub const FABRIC_E_MULTITHREADED_TRANSACTIONS_NOT_ALLOWED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017658i32); +pub const FABRIC_E_NAME_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017792i32); +pub const FABRIC_E_NAME_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017791i32); +pub const FABRIC_E_NAME_NOT_EMPTY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017790i32); +pub const FABRIC_E_NETWORK_IN_USE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017586i32); +pub const FABRIC_E_NETWORK_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017587i32); +pub const FABRIC_E_NODE_HAS_NOT_STOPPED_YET: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017678i32); +pub const FABRIC_E_NODE_IS_DOWN: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017633i32); +pub const FABRIC_E_NODE_IS_UP: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017788i32); +pub const FABRIC_E_NODE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017789i32); +pub const FABRIC_E_NODE_TRANSITION_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017632i32); +pub const FABRIC_E_NOT_PRIMARY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017786i32); +pub const FABRIC_E_NOT_READABLE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017604i32); +pub const FABRIC_E_NOT_READY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017785i32); +pub const FABRIC_E_NO_WRITE_QUORUM: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017787i32); +pub const FABRIC_E_OBJECT_CLOSED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017730i32); +pub const FABRIC_E_OBJECT_DISPOSED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017605i32); +pub const FABRIC_E_ONLY_VALID_FOR_STATEFUL_PERSISTENT_SERVICES: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017615i32); +pub const FABRIC_E_OPERATION_NOT_COMPLETE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017784i32); +pub const FABRIC_E_OPERATION_NOT_SUPPORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017590i32); +pub const FABRIC_E_PARTITION_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017753i32); +pub const FABRIC_E_PATH_TOO_LONG: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017725i32); +pub const FABRIC_E_PREDEPLOYMENT_NOT_ALLOWED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017675i32); +pub const FABRIC_E_PRIMARY_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017666i32); +pub const FABRIC_E_PROCESS_ABORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017748i32); +pub const FABRIC_E_PROCESS_DEACTIVATED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017749i32); +pub const FABRIC_E_PROPERTY_CHECK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017771i32); +pub const FABRIC_E_PROPERTY_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017783i32); +pub const FABRIC_E_RECONFIGURATION_PENDING: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017782i32); +pub const FABRIC_E_RELIABLE_SESSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017702i32); +pub const FABRIC_E_RELIABLE_SESSION_CANNOT_CONNECT: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017701i32); +pub const FABRIC_E_RELIABLE_SESSION_INVALID_TARGET_PARTITION: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017683i32); +pub const FABRIC_E_RELIABLE_SESSION_MANAGER_ALREADY_LISTENING: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017698i32); +pub const FABRIC_E_RELIABLE_SESSION_MANAGER_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017700i32); +pub const FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017697i32); +pub const FABRIC_E_RELIABLE_SESSION_MANAGER_NOT_LISTENING: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017696i32); +pub const FABRIC_E_RELIABLE_SESSION_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017687i32); +pub const FABRIC_E_RELIABLE_SESSION_QUEUE_EMPTY: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017686i32); +pub const FABRIC_E_RELIABLE_SESSION_QUOTA_EXCEEDED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017685i32); +pub const FABRIC_E_RELIABLE_SESSION_REJECTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017699i32); +pub const FABRIC_E_RELIABLE_SESSION_SERVICE_FAULTED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017684i32); +pub const FABRIC_E_RELIABLE_SESSION_TRANSPORT_STARTUP_FAILURE: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017703i32); +pub const FABRIC_E_REPAIR_TASK_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017689i32); +pub const FABRIC_E_REPAIR_TASK_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017688i32); +pub const FABRIC_E_REPLICATION_OPERATION_TOO_LARGE: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017681i32); +pub const FABRIC_E_REPLICATION_QUEUE_FULL: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017781i32); +pub const FABRIC_E_REPLICA_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017752i32); +pub const FABRIC_E_RESTORE_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017609i32); +pub const FABRIC_E_RESTORE_SAFE_CHECK_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017628i32); +pub const FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017608i32); +pub const FABRIC_E_SECONDARY_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017665i32); +pub const FABRIC_E_SECRET_INVALID: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017593i32); +pub const FABRIC_E_SECRET_TYPE_CANNOT_BE_CHANGED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017588i32); +pub const FABRIC_E_SECRET_VERSION_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017592i32); +pub const FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017708i32); +pub const FABRIC_E_SERVER_AUTHENTICATION_FAILED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017660i32); +pub const FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017776i32); +pub const FABRIC_E_SERVICE_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017780i32); +pub const FABRIC_E_SERVICE_DOES_NOT_EXIST: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017779i32); +pub const FABRIC_E_SERVICE_ENDPOINT_RESOURCE_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017732i32); +pub const FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017751i32); +pub const FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017750i32); +pub const FABRIC_E_SERVICE_MANIFEST_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017704i32); +pub const FABRIC_E_SERVICE_METADATA_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017777i32); +pub const FABRIC_E_SERVICE_OFFLINE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017778i32); +pub const FABRIC_E_SERVICE_TOO_BUSY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017691i32); +pub const FABRIC_E_SERVICE_TYPE_ALREADY_REGISTERED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017775i32); +pub const FABRIC_E_SERVICE_TYPE_MISMATCH: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017759i32); +pub const FABRIC_E_SERVICE_TYPE_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017760i32); +pub const FABRIC_E_SERVICE_TYPE_NOT_REGISTERED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017774i32); +pub const FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017758i32); +pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017599i32); +pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_NOT_FOUND: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017598i32); +pub const FABRIC_E_SINGLE_INSTANCE_APPLICATION_UPGRADE_IN_PROGRESS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017591i32); +pub const FABRIC_E_STOP_IN_PROGRESS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017635i32); +pub const FABRIC_E_TEST_COMMAND_OPERATION_ID_ALREADY_EXISTS: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017644i32); +pub const FABRIC_E_TIMEOUT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017729i32); +pub const FABRIC_E_TRANSACTION_ABORTED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017653i32); +pub const FABRIC_E_TRANSACTION_NOT_ACTIVE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017690i32); +pub const FABRIC_E_TRANSACTION_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017682i32); +pub const FABRIC_E_UPGRADE_DOMAIN_ALREADY_COMPLETED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017679i32); +pub const FABRIC_E_UPGRADE_FAILED: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017747i32); +pub const FABRIC_E_UPLOAD_SESSION_ID_CONFLICT: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017625i32); +pub const FABRIC_E_UPLOAD_SESSION_RANGE_NOT_SATISFIABLE: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017626i32); +pub const FABRIC_E_USER_ROLE_CLIENT_CERTIFICATE_NOT_CONFIGURED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017654i32); +pub const FABRIC_E_VALUE_EMPTY: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017772i32); +pub const FABRIC_E_VALUE_TOO_LARGE: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017773i32); +pub const FABRIC_E_VERBOSE_FM_PLACEMENT_HEALTH_REPORTING_REQUIRED: FABRIC_ERROR_CODE = + FABRIC_ERROR_CODE(-2147017656i32); +pub const FABRIC_E_VOLUME_ALREADY_EXISTS: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017597i32); +pub const FABRIC_E_VOLUME_NOT_FOUND: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017596i32); +pub const FABRIC_E_WRITE_CONFLICT: FABRIC_ERROR_CODE = FABRIC_ERROR_CODE(-2147017770i32); +pub const FABRIC_FAULT_TYPE_INVALID: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(0i32); +pub const FABRIC_FAULT_TYPE_PERMANENT: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(1i32); +pub const FABRIC_FAULT_TYPE_TRANSIENT: FABRIC_FAULT_TYPE = FABRIC_FAULT_TYPE(2i32); +pub const FABRIC_HEALTH_ENTITY_KIND_APPLICATION: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(4i32); +pub const FABRIC_HEALTH_ENTITY_KIND_CLUSTER: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(8i32); +pub const FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(6i32); +pub const FABRIC_HEALTH_ENTITY_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(7i32); +pub const FABRIC_HEALTH_ENTITY_KIND_INVALID: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(0i32); +pub const FABRIC_HEALTH_ENTITY_KIND_NODE: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(1i32); +pub const FABRIC_HEALTH_ENTITY_KIND_PARTITION: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(2i32); +pub const FABRIC_HEALTH_ENTITY_KIND_REPLICA: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(5i32); +pub const FABRIC_HEALTH_ENTITY_KIND_SERVICE: FABRIC_HEALTH_ENTITY_KIND = + FABRIC_HEALTH_ENTITY_KIND(3i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(18i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATIONS: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(8i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_APPLICATION_TYPE_APPLICATIONS: + FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(21i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_DELTA_NODES_CHECK: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(19i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(17i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_APPLICATIONS: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(5i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(16i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_DEPLOYED_SERVICE_PACKAGES: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(4i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_EVENT: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(1i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_INVALID: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(0i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_NODE: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(12i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_NODES: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(7i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_PARTITION: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(14i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_PARTITIONS: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(3i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_REPLICA: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(13i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_REPLICAS: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(2i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_SERVICE: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(15i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_SERVICES: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(6i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_SYSTEM_APPLICATION: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(9i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DELTA_NODES_CHECK: + FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(20i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS: + FABRIC_HEALTH_EVALUATION_KIND = FABRIC_HEALTH_EVALUATION_KIND(10i32); +pub const FABRIC_HEALTH_EVALUATION_KIND_UPGRADE_DOMAIN_NODES: FABRIC_HEALTH_EVALUATION_KIND = + FABRIC_HEALTH_EVALUATION_KIND(11i32); +pub const FABRIC_HEALTH_REPORT_INFINITE_TTL: u32 = 0u32; +pub const FABRIC_HEALTH_REPORT_KIND_APPLICATION: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(6i32); +pub const FABRIC_HEALTH_REPORT_KIND_CLUSTER: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(9i32); +pub const FABRIC_HEALTH_REPORT_KIND_DEPLOYED_APPLICATION: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(7i32); +pub const FABRIC_HEALTH_REPORT_KIND_DEPLOYED_SERVICE_PACKAGE: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(8i32); +pub const FABRIC_HEALTH_REPORT_KIND_INVALID: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(0i32); +pub const FABRIC_HEALTH_REPORT_KIND_NODE: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(4i32); +pub const FABRIC_HEALTH_REPORT_KIND_PARTITION: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(3i32); +pub const FABRIC_HEALTH_REPORT_KIND_SERVICE: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(5i32); +pub const FABRIC_HEALTH_REPORT_KIND_STATEFUL_SERVICE_REPLICA: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(1i32); +pub const FABRIC_HEALTH_REPORT_KIND_STATELESS_SERVICE_INSTANCE: FABRIC_HEALTH_REPORT_KIND = + FABRIC_HEALTH_REPORT_KIND(2i32); +pub const FABRIC_HEALTH_STATE_ERROR: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(3i32); +pub const FABRIC_HEALTH_STATE_FILTER_ALL: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(65535i32); +pub const FABRIC_HEALTH_STATE_FILTER_DEFAULT: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(0i32); +pub const FABRIC_HEALTH_STATE_FILTER_ERROR: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(8i32); +pub const FABRIC_HEALTH_STATE_FILTER_NONE: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(1i32); +pub const FABRIC_HEALTH_STATE_FILTER_OK: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(2i32); +pub const FABRIC_HEALTH_STATE_FILTER_WARNING: FABRIC_HEALTH_STATE_FILTER = + FABRIC_HEALTH_STATE_FILTER(4i32); +pub const FABRIC_HEALTH_STATE_INVALID: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(0i32); +pub const FABRIC_HEALTH_STATE_OK: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(1i32); +pub const FABRIC_HEALTH_STATE_UNKNOWN: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(65535i32); +pub const FABRIC_HEALTH_STATE_WARNING: FABRIC_HEALTH_STATE = FABRIC_HEALTH_STATE(2i32); +pub const FABRIC_HOST_ISOLATION_MODE_HYPER_V: FABRIC_HOST_ISOLATION_MODE = + FABRIC_HOST_ISOLATION_MODE(2i32); +pub const FABRIC_HOST_ISOLATION_MODE_NONE: FABRIC_HOST_ISOLATION_MODE = + FABRIC_HOST_ISOLATION_MODE(0i32); +pub const FABRIC_HOST_ISOLATION_MODE_PROCESS: FABRIC_HOST_ISOLATION_MODE = + FABRIC_HOST_ISOLATION_MODE(1i32); +pub const FABRIC_HOST_TYPE_CONTAINER_HOST: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(2i32); +pub const FABRIC_HOST_TYPE_EXE_HOST: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(1i32); +pub const FABRIC_HOST_TYPE_INVALID: FABRIC_HOST_TYPE = FABRIC_HOST_TYPE(0i32); +pub const FABRIC_IGNORE_SEQUENCE_NUMBER_CHECK: u32 = 0u32; +pub const FABRIC_INFINITE_DURATION: u32 = 4294967295u32; +pub const FABRIC_INVALID_ATOMIC_GROUP_ID: i32 = -1i32; +pub const FABRIC_INVALID_INSTANCE_ID: i32 = -1i32; +pub const FABRIC_INVALID_NODE_INSTANCE_ID: u32 = 0u32; +pub const FABRIC_INVALID_OPERATION_INDEX: u32 = 4294967295u32; +pub const FABRIC_INVALID_REPLICA_ID: i32 = -1i32; +pub const FABRIC_INVALID_SEQUENCE_NUMBER: i32 = -1i32; +pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_DEFAULT: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = + FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(0i32); +pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_LOGICAL: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = + FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(2i32); +pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_PHYSICAL: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = + FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(1i32); +pub const FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE_REBUILD: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE = + FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(3i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_INACTIVE: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(0i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_MIGRATION: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(1i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_RESTORE_SOURCE_BACKUP: + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(6i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_SOURCE_DATABASE_CLEANUP: + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(4i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_ACTIVE: + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(5i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_CLEANUP: + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(3i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE_TARGET_DATABASE_SWAP: + FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE = FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(2i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_CANCELED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = + FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(3i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_COMPLETED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = + FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(2i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_FAILED: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = + FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(4i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_INACTIVE: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = + FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(0i32); +pub const FABRIC_KEY_VALUE_STORE_MIGRATION_STATE_PROCESSING: + FABRIC_KEY_VALUE_STORE_MIGRATION_STATE = FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(1i32); +pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_BLOCK_SECONDARY_ACK: + FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(3i32); +pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_INVALID: + FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(0i32); +pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NONE: FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = + FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(1i32); +pub const FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE_NON_BLOCKING_QUORUM_ACKED: + FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE = FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(2i32); +pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_ESE: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = + FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(1i32); +pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_TSTORE: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = + FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(2i32); +pub const FABRIC_KEY_VALUE_STORE_PROVIDER_KIND_UNKNOWN: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND = + FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(0i32); +pub const FABRIC_LOCAL_STORE_KIND_ESE: FABRIC_LOCAL_STORE_KIND = FABRIC_LOCAL_STORE_KIND(1i32); +pub const FABRIC_LOCAL_STORE_KIND_INVALID: FABRIC_LOCAL_STORE_KIND = FABRIC_LOCAL_STORE_KIND(0i32); +pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_INVALID: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = + FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(0i32); +pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_MANUAL: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = + FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(2i32); +pub const FABRIC_MONITORED_UPGRADE_FAILURE_ACTION_ROLLBACK: + FABRIC_MONITORED_UPGRADE_FAILURE_ACTION = FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(1i32); +pub const FABRIC_MOVE_COST_HIGH: FABRIC_MOVE_COST = FABRIC_MOVE_COST(3i32); +pub const FABRIC_MOVE_COST_LOW: FABRIC_MOVE_COST = FABRIC_MOVE_COST(1i32); +pub const FABRIC_MOVE_COST_MEDIUM: FABRIC_MOVE_COST = FABRIC_MOVE_COST(2i32); +pub const FABRIC_MOVE_COST_ZERO: FABRIC_MOVE_COST = FABRIC_MOVE_COST(0i32); +pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_INVALID: FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = + FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(0i32); +pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_NODE_NAME: + FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(1i32); +pub const FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR: + FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND = FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(2i32); +pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_INVALID: FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = + FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(0i32); +pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_NODE_NAME: + FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(1i32); +pub const FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND_USING_REPLICA_SELECTOR: + FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND = FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(2i32); +pub const FABRIC_NETWORK_STATUS_CREATING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(2i32); +pub const FABRIC_NETWORK_STATUS_DELETING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(3i32); +pub const FABRIC_NETWORK_STATUS_FAILED: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(5i32); +pub const FABRIC_NETWORK_STATUS_FILTER_ALL: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(65535i32); +pub const FABRIC_NETWORK_STATUS_FILTER_CREATING: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(2i32); +pub const FABRIC_NETWORK_STATUS_FILTER_DEFAULT: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(0i32); +pub const FABRIC_NETWORK_STATUS_FILTER_DELETING: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(4i32); +pub const FABRIC_NETWORK_STATUS_FILTER_FAILED: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(16i32); +pub const FABRIC_NETWORK_STATUS_FILTER_READY: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(1i32); +pub const FABRIC_NETWORK_STATUS_FILTER_UPDATING: FABRIC_NETWORK_STATUS_FILTER = + FABRIC_NETWORK_STATUS_FILTER(8i32); +pub const FABRIC_NETWORK_STATUS_INVALID: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(0i32); +pub const FABRIC_NETWORK_STATUS_READY: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(1i32); +pub const FABRIC_NETWORK_STATUS_UPDATING: FABRIC_NETWORK_STATUS = FABRIC_NETWORK_STATUS(4i32); +pub const FABRIC_NETWORK_TYPE_FEDERATED: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(2i32); +pub const FABRIC_NETWORK_TYPE_INVALID: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(0i32); +pub const FABRIC_NETWORK_TYPE_LOCAL: FABRIC_NETWORK_TYPE = FABRIC_NETWORK_TYPE(1i32); +pub const FABRIC_NODE_DEACTIVATION_INTENT_INVALID: FABRIC_NODE_DEACTIVATION_INTENT = + FABRIC_NODE_DEACTIVATION_INTENT(0i32); +pub const FABRIC_NODE_DEACTIVATION_INTENT_PAUSE: FABRIC_NODE_DEACTIVATION_INTENT = + FABRIC_NODE_DEACTIVATION_INTENT(1i32); +pub const FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_DATA: FABRIC_NODE_DEACTIVATION_INTENT = + FABRIC_NODE_DEACTIVATION_INTENT(3i32); +pub const FABRIC_NODE_DEACTIVATION_INTENT_REMOVE_NODE: FABRIC_NODE_DEACTIVATION_INTENT = + FABRIC_NODE_DEACTIVATION_INTENT(4i32); +pub const FABRIC_NODE_DEACTIVATION_INTENT_RESTART: FABRIC_NODE_DEACTIVATION_INTENT = + FABRIC_NODE_DEACTIVATION_INTENT(2i32); +pub const FABRIC_NODE_DEACTIVATION_STATUS_COMPLETED: FABRIC_NODE_DEACTIVATION_STATUS = + FABRIC_NODE_DEACTIVATION_STATUS(3i32); +pub const FABRIC_NODE_DEACTIVATION_STATUS_NONE: FABRIC_NODE_DEACTIVATION_STATUS = + FABRIC_NODE_DEACTIVATION_STATUS(0i32); +pub const FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_COMPLETE: FABRIC_NODE_DEACTIVATION_STATUS = + FABRIC_NODE_DEACTIVATION_STATUS(2i32); +pub const FABRIC_NODE_DEACTIVATION_STATUS_SAFETY_CHECK_IN_PROGRESS: + FABRIC_NODE_DEACTIVATION_STATUS = FABRIC_NODE_DEACTIVATION_STATUS(1i32); +pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_CLIENT: FABRIC_NODE_DEACTIVATION_TASK_TYPE = + FABRIC_NODE_DEACTIVATION_TASK_TYPE(3i32); +pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_INFRASTRUCTURE: FABRIC_NODE_DEACTIVATION_TASK_TYPE = + FABRIC_NODE_DEACTIVATION_TASK_TYPE(1i32); +pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_INVALID: FABRIC_NODE_DEACTIVATION_TASK_TYPE = + FABRIC_NODE_DEACTIVATION_TASK_TYPE(0i32); +pub const FABRIC_NODE_DEACTIVATION_TASK_TYPE_REPAIR: FABRIC_NODE_DEACTIVATION_TASK_TYPE = + FABRIC_NODE_DEACTIVATION_TASK_TYPE(2i32); +pub const FABRIC_NODE_TRANSITION_TYPE_INVALID: FABRIC_NODE_TRANSITION_TYPE = + FABRIC_NODE_TRANSITION_TYPE(0i32); +pub const FABRIC_NODE_TRANSITION_TYPE_START: FABRIC_NODE_TRANSITION_TYPE = + FABRIC_NODE_TRANSITION_TYPE(1i32); +pub const FABRIC_NODE_TRANSITION_TYPE_STOP: FABRIC_NODE_TRANSITION_TYPE = + FABRIC_NODE_TRANSITION_TYPE(2i32); +pub const FABRIC_NODE_UPGRADE_PHASE_INVALID: FABRIC_NODE_UPGRADE_PHASE = + FABRIC_NODE_UPGRADE_PHASE(0i32); +pub const FABRIC_NODE_UPGRADE_PHASE_POST_UPGRADE_SAFETY_CHECK: FABRIC_NODE_UPGRADE_PHASE = + FABRIC_NODE_UPGRADE_PHASE(3i32); +pub const FABRIC_NODE_UPGRADE_PHASE_PRE_UPGRADE_SAFETY_CHECK: FABRIC_NODE_UPGRADE_PHASE = + FABRIC_NODE_UPGRADE_PHASE(1i32); +pub const FABRIC_NODE_UPGRADE_PHASE_UPGRADING: FABRIC_NODE_UPGRADE_PHASE = + FABRIC_NODE_UPGRADE_PHASE(2i32); +pub const FABRIC_OPERATION_TYPE_ATOMIC_GROUP_OPERATION: FABRIC_OPERATION_TYPE = + FABRIC_OPERATION_TYPE(32i32); +pub const FABRIC_OPERATION_TYPE_COMMIT_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = + FABRIC_OPERATION_TYPE(64i32); +pub const FABRIC_OPERATION_TYPE_CREATE_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = + FABRIC_OPERATION_TYPE(16i32); +pub const FABRIC_OPERATION_TYPE_END_OF_STREAM: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(2i32); +pub const FABRIC_OPERATION_TYPE_HAS_ATOMIC_GROUP_MASK: FABRIC_OPERATION_TYPE = + FABRIC_OPERATION_TYPE(240i32); +pub const FABRIC_OPERATION_TYPE_INVALID: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(0i32); +pub const FABRIC_OPERATION_TYPE_NORMAL: FABRIC_OPERATION_TYPE = FABRIC_OPERATION_TYPE(1i32); +pub const FABRIC_OPERATION_TYPE_ROLLBACK_ATOMIC_GROUP: FABRIC_OPERATION_TYPE = + FABRIC_OPERATION_TYPE(128i32); +pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_ALL: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = + FABRIC_PACKAGE_SHARING_POLICY_SCOPE(1i32); +pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CODE: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = + FABRIC_PACKAGE_SHARING_POLICY_SCOPE(2i32); +pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_CONFIG: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = + FABRIC_PACKAGE_SHARING_POLICY_SCOPE(3i32); +pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_DATA: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = + FABRIC_PACKAGE_SHARING_POLICY_SCOPE(4i32); +pub const FABRIC_PACKAGE_SHARING_POLICY_SCOPE_NONE: FABRIC_PACKAGE_SHARING_POLICY_SCOPE = + FABRIC_PACKAGE_SHARING_POLICY_SCOPE(0i32); +pub const FABRIC_PARTITION_KEY_TYPE_INT64: FABRIC_PARTITION_KEY_TYPE = + FABRIC_PARTITION_KEY_TYPE(2i32); +pub const FABRIC_PARTITION_KEY_TYPE_INVALID: FABRIC_PARTITION_KEY_TYPE = + FABRIC_PARTITION_KEY_TYPE(0i32); +pub const FABRIC_PARTITION_KEY_TYPE_NONE: FABRIC_PARTITION_KEY_TYPE = + FABRIC_PARTITION_KEY_TYPE(1i32); +pub const FABRIC_PARTITION_KEY_TYPE_STRING: FABRIC_PARTITION_KEY_TYPE = + FABRIC_PARTITION_KEY_TYPE(3i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(7i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(2i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(6i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(3i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(4i32); +pub const FABRIC_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(5i32); +pub const FABRIC_PARTITION_SCHEME_INVALID: FABRIC_PARTITION_SCHEME = FABRIC_PARTITION_SCHEME(0i32); +pub const FABRIC_PARTITION_SCHEME_NAMED: FABRIC_PARTITION_SCHEME = FABRIC_PARTITION_SCHEME(3i32); +pub const FABRIC_PARTITION_SCHEME_SINGLETON: FABRIC_PARTITION_SCHEME = + FABRIC_PARTITION_SCHEME(1i32); +pub const FABRIC_PARTITION_SCHEME_UNIFORM_INT64_RANGE: FABRIC_PARTITION_SCHEME = + FABRIC_PARTITION_SCHEME(2i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_NAMED: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(2i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_NONE: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(0i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_PARTITION_ID: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(4i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_RANDOM: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(5i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_SINGLETON: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(1i32); +pub const FABRIC_PARTITION_SELECTOR_TYPE_UNIFORM_INT64: FABRIC_PARTITION_SELECTOR_TYPE = + FABRIC_PARTITION_SELECTOR_TYPE(3i32); +pub const FABRIC_PLACEMENT_POLICY_INVALID: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(0i32); +pub const FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(1i32); +pub const FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(5i32); +pub const FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(3i32); +pub const FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(2i32); +pub const FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION: FABRIC_PLACEMENT_POLICY_TYPE = + FABRIC_PLACEMENT_POLICY_TYPE(4i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_EXISTS: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(3i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_SEQUENCE: + FABRIC_PROPERTY_BATCH_OPERATION_KIND = FABRIC_PROPERTY_BATCH_OPERATION_KIND(4i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_CHECK_VALUE: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(7i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_DELETE: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(5i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_GET: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(2i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_INVALID: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(0i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(1i32); +pub const FABRIC_PROPERTY_BATCH_OPERATION_KIND_PUT_CUSTOM: FABRIC_PROPERTY_BATCH_OPERATION_KIND = + FABRIC_PROPERTY_BATCH_OPERATION_KIND(6i32); +pub const FABRIC_PROPERTY_TYPE_BINARY: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(1i32); +pub const FABRIC_PROPERTY_TYPE_DOUBLE: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(3i32); +pub const FABRIC_PROPERTY_TYPE_GUID: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(5i32); +pub const FABRIC_PROPERTY_TYPE_INT64: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(2i32); +pub const FABRIC_PROPERTY_TYPE_INVALID: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(0i32); +pub const FABRIC_PROPERTY_TYPE_WSTRING: FABRIC_PROPERTY_TYPE_ID = FABRIC_PROPERTY_TYPE_ID(4i32); +pub const FABRIC_PROTECTION_LEVEL_ENCRYPTANDSIGN: FABRIC_PROTECTION_LEVEL = + FABRIC_PROTECTION_LEVEL(2i32); +pub const FABRIC_PROTECTION_LEVEL_NONE: FABRIC_PROTECTION_LEVEL = FABRIC_PROTECTION_LEVEL(0i32); +pub const FABRIC_PROTECTION_LEVEL_SIGN: FABRIC_PROTECTION_LEVEL = FABRIC_PROTECTION_LEVEL(1i32); +pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_EXTERNAL_STORE: + FABRIC_PROVISION_APPLICATION_TYPE_KIND = FABRIC_PROVISION_APPLICATION_TYPE_KIND(2i32); +pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_IMAGE_STORE_PATH: + FABRIC_PROVISION_APPLICATION_TYPE_KIND = FABRIC_PROVISION_APPLICATION_TYPE_KIND(1i32); +pub const FABRIC_PROVISION_APPLICATION_TYPE_KIND_INVALID: FABRIC_PROVISION_APPLICATION_TYPE_KIND = + FABRIC_PROVISION_APPLICATION_TYPE_KIND(0i32); +pub const FABRIC_QUERY_NODE_STATUS_DISABLED: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(5i32); +pub const FABRIC_QUERY_NODE_STATUS_DISABLING: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(4i32); +pub const FABRIC_QUERY_NODE_STATUS_DOWN: FABRIC_QUERY_NODE_STATUS = FABRIC_QUERY_NODE_STATUS(2i32); +pub const FABRIC_QUERY_NODE_STATUS_ENABLING: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(3i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_ALL: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(65535i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_DEFAULT: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(0i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_DISABLED: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(16i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_DISABLING: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(8i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_DOWN: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(2i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_ENABLING: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(4i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_REMOVED: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(64i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_UNKNOWN: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(32i32); +pub const FABRIC_QUERY_NODE_STATUS_FILTER_UP: FABRIC_QUERY_NODE_STATUS_FILTER = + FABRIC_QUERY_NODE_STATUS_FILTER(1i32); +pub const FABRIC_QUERY_NODE_STATUS_INVALID: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(0i32); +pub const FABRIC_QUERY_NODE_STATUS_REMOVED: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(7i32); +pub const FABRIC_QUERY_NODE_STATUS_UNKNOWN: FABRIC_QUERY_NODE_STATUS = + FABRIC_QUERY_NODE_STATUS(6i32); +pub const FABRIC_QUERY_NODE_STATUS_UP: FABRIC_QUERY_NODE_STATUS = FABRIC_QUERY_NODE_STATUS(1i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ABORT: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(32i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_BUILD: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(256i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CHANGEROLE: + FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(4i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_CLOSE: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(16i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_INVALID: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(0i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_NONE: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(1i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_ONDATALOSS: + FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(64i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_OPEN: FABRIC_QUERY_REPLICATOR_OPERATION_NAME = + FABRIC_QUERY_REPLICATOR_OPERATION_NAME(2i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_UPDATEEPOCH: + FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(8i32); +pub const FABRIC_QUERY_REPLICATOR_OPERATION_NAME_WAITFORCATCHUP: + FABRIC_QUERY_REPLICATOR_OPERATION_NAME = FABRIC_QUERY_REPLICATOR_OPERATION_NAME(128i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_ABORT: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(16i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_CHANGEROLE: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(4i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_CLOSE: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(8i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_INVALID: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(0i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_NONE: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(1i32); +pub const FABRIC_QUERY_SERVICE_OPERATION_NAME_OPEN: FABRIC_QUERY_SERVICE_OPERATION_NAME = + FABRIC_QUERY_SERVICE_OPERATION_NAME(2i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_DELETING: FABRIC_QUERY_SERVICE_PARTITION_STATUS = + FABRIC_QUERY_SERVICE_PARTITION_STATUS(5i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_INVALID: FABRIC_QUERY_SERVICE_PARTITION_STATUS = + FABRIC_QUERY_SERVICE_PARTITION_STATUS(0i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_IN_QUORUM_LOSS: + FABRIC_QUERY_SERVICE_PARTITION_STATUS = FABRIC_QUERY_SERVICE_PARTITION_STATUS(3i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_NOT_READY: FABRIC_QUERY_SERVICE_PARTITION_STATUS = + FABRIC_QUERY_SERVICE_PARTITION_STATUS(2i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_READY: FABRIC_QUERY_SERVICE_PARTITION_STATUS = + FABRIC_QUERY_SERVICE_PARTITION_STATUS(1i32); +pub const FABRIC_QUERY_SERVICE_PARTITION_STATUS_RECONFIGURING: + FABRIC_QUERY_SERVICE_PARTITION_STATUS = FABRIC_QUERY_SERVICE_PARTITION_STATUS(4i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_DOWN: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(4i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_DROPPED: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(5i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_ALL: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(65535i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DEFAULT: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(0i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DOWN: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(8i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_DROPPED: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(16i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_INBUILD: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(1i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_READY: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(4i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER_STANDBY: + FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER = FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(2i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_INBUILD: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(1i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_INVALID: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(0i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_READY: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(3i32); +pub const FABRIC_QUERY_SERVICE_REPLICA_STATUS_STANDBY: FABRIC_QUERY_SERVICE_REPLICA_STATUS = + FABRIC_QUERY_SERVICE_REPLICA_STATUS(2i32); +pub const FABRIC_QUERY_SERVICE_STATUS_ACTIVE: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(1i32); +pub const FABRIC_QUERY_SERVICE_STATUS_CREATING: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(4i32); +pub const FABRIC_QUERY_SERVICE_STATUS_DELETING: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(3i32); +pub const FABRIC_QUERY_SERVICE_STATUS_FAILED: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(5i32); +pub const FABRIC_QUERY_SERVICE_STATUS_UNKNOWN: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(0i32); +pub const FABRIC_QUERY_SERVICE_STATUS_UPGRADING: FABRIC_QUERY_SERVICE_STATUS = + FABRIC_QUERY_SERVICE_STATUS(2i32); +pub const FABRIC_QUORUM_LOSS_MODE_ALL_REPLICAS: FABRIC_QUORUM_LOSS_MODE = + FABRIC_QUORUM_LOSS_MODE(2i32); +pub const FABRIC_QUORUM_LOSS_MODE_INVALID: FABRIC_QUORUM_LOSS_MODE = FABRIC_QUORUM_LOSS_MODE(0i32); +pub const FABRIC_QUORUM_LOSS_MODE_QUORUM_REPLICAS: FABRIC_QUORUM_LOSS_MODE = + FABRIC_QUORUM_LOSS_MODE(1i32); +pub const FABRIC_RECONFIGURATION_ABORT_PHASE_ZERO: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(7i32); +pub const FABRIC_RECONFIGURATION_PHASE_FOUR: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(6i32); +pub const FABRIC_RECONFIGURATION_PHASE_INVALID: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(0i32); +pub const FABRIC_RECONFIGURATION_PHASE_NONE: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(1i32); +pub const FABRIC_RECONFIGURATION_PHASE_ONE: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(3i32); +pub const FABRIC_RECONFIGURATION_PHASE_THREE: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(5i32); +pub const FABRIC_RECONFIGURATION_PHASE_TWO: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(4i32); +pub const FABRIC_RECONFIGURATION_PHASE_ZERO: FABRIC_RECONFIGURATION_PHASE = + FABRIC_RECONFIGURATION_PHASE(2i32); +pub const FABRIC_RECONFIGURATION_TYPE_FAILOVER: FABRIC_RECONFIGURATION_TYPE = + FABRIC_RECONFIGURATION_TYPE(2i32); +pub const FABRIC_RECONFIGURATION_TYPE_INVALID: FABRIC_RECONFIGURATION_TYPE = + FABRIC_RECONFIGURATION_TYPE(0i32); +pub const FABRIC_RECONFIGURATION_TYPE_NONE: FABRIC_RECONFIGURATION_TYPE = + FABRIC_RECONFIGURATION_TYPE(4i32); +pub const FABRIC_RECONFIGURATION_TYPE_OTHER: FABRIC_RECONFIGURATION_TYPE = + FABRIC_RECONFIGURATION_TYPE(3i32); +pub const FABRIC_RECONFIGURATION_TYPE_SWAPPRIMARY: FABRIC_RECONFIGURATION_TYPE = + FABRIC_RECONFIGURATION_TYPE(1i32); +pub const FABRIC_REPAIR_IMPACT_KIND_INVALID: FABRIC_REPAIR_IMPACT_KIND = + FABRIC_REPAIR_IMPACT_KIND(0i32); +pub const FABRIC_REPAIR_IMPACT_KIND_NODE: FABRIC_REPAIR_IMPACT_KIND = + FABRIC_REPAIR_IMPACT_KIND(1i32); +pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_INVALID: FABRIC_REPAIR_NODE_IMPACT_LEVEL = + FABRIC_REPAIR_NODE_IMPACT_LEVEL(0i32); +pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_NONE: FABRIC_REPAIR_NODE_IMPACT_LEVEL = + FABRIC_REPAIR_NODE_IMPACT_LEVEL(1i32); +pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_DATA: FABRIC_REPAIR_NODE_IMPACT_LEVEL = + FABRIC_REPAIR_NODE_IMPACT_LEVEL(3i32); +pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_REMOVE_NODE: FABRIC_REPAIR_NODE_IMPACT_LEVEL = + FABRIC_REPAIR_NODE_IMPACT_LEVEL(4i32); +pub const FABRIC_REPAIR_NODE_IMPACT_LEVEL_RESTART: FABRIC_REPAIR_NODE_IMPACT_LEVEL = + FABRIC_REPAIR_NODE_IMPACT_LEVEL(2i32); +pub const FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_CLUSTER: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND = + FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(1i32); +pub const FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND_INVALID: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND = + FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(0i32); +pub const FABRIC_REPAIR_TARGET_KIND_INVALID: FABRIC_REPAIR_TARGET_KIND = + FABRIC_REPAIR_TARGET_KIND(0i32); +pub const FABRIC_REPAIR_TARGET_KIND_NODE: FABRIC_REPAIR_TARGET_KIND = + FABRIC_REPAIR_TARGET_KIND(1i32); +pub const FABRIC_REPAIR_TASK_FLAGS_ABORT_REQUESTED: FABRIC_REPAIR_TASK_FLAGS = + FABRIC_REPAIR_TASK_FLAGS(2i32); +pub const FABRIC_REPAIR_TASK_FLAGS_CANCEL_REQUESTED: FABRIC_REPAIR_TASK_FLAGS = + FABRIC_REPAIR_TASK_FLAGS(1i32); +pub const FABRIC_REPAIR_TASK_FLAGS_FORCED_APPROVAL: FABRIC_REPAIR_TASK_FLAGS = + FABRIC_REPAIR_TASK_FLAGS(4i32); +pub const FABRIC_REPAIR_TASK_FLAGS_NONE: FABRIC_REPAIR_TASK_FLAGS = FABRIC_REPAIR_TASK_FLAGS(0i32); +pub const FABRIC_REPAIR_TASK_FLAGS_VALID_MASK: FABRIC_REPAIR_TASK_FLAGS = + FABRIC_REPAIR_TASK_FLAGS(7i32); +pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_IN_PROGRESS: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = + FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(1i32); +pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_NOT_STARTED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = + FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(0i32); +pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SKIPPED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = + FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(3i32); +pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_SUCCEEDED: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = + FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(2i32); +pub const FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE_TIMEDOUT: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE = + FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(4i32); +pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_PREPARING_HEALTH_CHECK: + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(1i32); +pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_HONOR_PERFORM_RESTORING_HEALTH_CHECK: + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(2i32); +pub const FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_NONE: + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS = + FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(0i32); +pub const FABRIC_REPAIR_TASK_RESULT_CANCELLED: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(2i32); +pub const FABRIC_REPAIR_TASK_RESULT_FAILED: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(8i32); +pub const FABRIC_REPAIR_TASK_RESULT_INTERRUPTED: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(4i32); +pub const FABRIC_REPAIR_TASK_RESULT_INVALID: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(0i32); +pub const FABRIC_REPAIR_TASK_RESULT_PENDING: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(16i32); +pub const FABRIC_REPAIR_TASK_RESULT_SUCCEEDED: FABRIC_REPAIR_TASK_RESULT = + FABRIC_REPAIR_TASK_RESULT(1i32); +pub const FABRIC_REPAIR_TASK_STATE_APPROVED: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(8i32); +pub const FABRIC_REPAIR_TASK_STATE_CLAIMED: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(2i32); +pub const FABRIC_REPAIR_TASK_STATE_COMPLETED: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(64i32); +pub const FABRIC_REPAIR_TASK_STATE_CREATED: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(1i32); +pub const FABRIC_REPAIR_TASK_STATE_EXECUTING: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(16i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_ACTIVE: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(63i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_ALL: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(127i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_APPROVED: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(8i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_CLAIMED: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(2i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_COMPLETED: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(64i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_CREATED: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(1i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_DEFAULT: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(0i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_EXECUTING: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(16i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_PREPARING: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(4i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_READY_TO_EXECUTE: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(24i32); +pub const FABRIC_REPAIR_TASK_STATE_FILTER_RESTORING: FABRIC_REPAIR_TASK_STATE_FILTER = + FABRIC_REPAIR_TASK_STATE_FILTER(32i32); +pub const FABRIC_REPAIR_TASK_STATE_INVALID: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(0i32); +pub const FABRIC_REPAIR_TASK_STATE_PREPARING: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(4i32); +pub const FABRIC_REPAIR_TASK_STATE_RESTORING: FABRIC_REPAIR_TASK_STATE = + FABRIC_REPAIR_TASK_STATE(32i32); +pub const FABRIC_REPLICATOR_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(1i32); +pub const FABRIC_REPLICATOR_BATCH_ACKNOWLEDGEMENT_INTERVAL: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(8i32); +pub const FABRIC_REPLICATOR_COPY_QUEUE_INITIAL_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(128i32); +pub const FABRIC_REPLICATOR_COPY_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(256i32); +pub const FABRIC_REPLICATOR_LISTEN_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(1048576i32); +pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_INITIAL_SIZE: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(65536i32); +pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(262144i32); +pub const FABRIC_REPLICATOR_PRIMARY_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(131072i32); +pub const FABRIC_REPLICATOR_PRIMARY_WAIT_FOR_PENDING_QUORUMS_TIMEOUT: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(524288i32); +pub const FABRIC_REPLICATOR_PUBLISH_ADDRESS: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(2097152i32); +pub const FABRIC_REPLICATOR_REPLICATION_MESSAGE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(2048i32); +pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_INITIAL_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(32i32); +pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_MEMORY_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(512i32); +pub const FABRIC_REPLICATOR_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(64i32); +pub const FABRIC_REPLICATOR_REQUIRE_SERVICE_ACK: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(16i32); +pub const FABRIC_REPLICATOR_RETRY_INTERVAL: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(4i32); +pub const FABRIC_REPLICATOR_SECONDARY_CLEAR_ACKNOWLEDGED_OPERATIONS: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(1024i32); +pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_INITIAL_SIZE: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(8192i32); +pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_MEMORY_SIZE: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(32768i32); +pub const FABRIC_REPLICATOR_SECONDARY_REPLICATION_QUEUE_MAX_SIZE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(16384i32); +pub const FABRIC_REPLICATOR_SECURITY: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(2i32); +pub const FABRIC_REPLICATOR_SETTINGS_NONE: FABRIC_REPLICATOR_SETTINGS_FLAGS = + FABRIC_REPLICATOR_SETTINGS_FLAGS(0i32); +pub const FABRIC_REPLICATOR_USE_STREAMFAULTS_AND_ENDOFSTREAM_OPERATIONACK: + FABRIC_REPLICATOR_SETTINGS_FLAGS = FABRIC_REPLICATOR_SETTINGS_FLAGS(4096i32); +pub const FABRIC_REPLICA_OPEN_MODE_EXISTING: FABRIC_REPLICA_OPEN_MODE = + FABRIC_REPLICA_OPEN_MODE(2i32); +pub const FABRIC_REPLICA_OPEN_MODE_INVALID: FABRIC_REPLICA_OPEN_MODE = + FABRIC_REPLICA_OPEN_MODE(0i32); +pub const FABRIC_REPLICA_OPEN_MODE_NEW: FABRIC_REPLICA_OPEN_MODE = FABRIC_REPLICA_OPEN_MODE(1i32); +pub const FABRIC_REPLICA_ROLE_ACTIVE_SECONDARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(4i32); +pub const FABRIC_REPLICA_ROLE_IDLE_SECONDARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(3i32); +pub const FABRIC_REPLICA_ROLE_NONE: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(1i32); +pub const FABRIC_REPLICA_ROLE_PRIMARY: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(2i32); +pub const FABRIC_REPLICA_ROLE_UNKNOWN: FABRIC_REPLICA_ROLE = FABRIC_REPLICA_ROLE(0i32); +pub const FABRIC_REPLICA_SET_QUORUM_ALL: FABRIC_REPLICA_SET_QUORUM_MODE = + FABRIC_REPLICA_SET_QUORUM_MODE(2i32); +pub const FABRIC_REPLICA_SET_QUORUM_INVALID: FABRIC_REPLICA_SET_QUORUM_MODE = + FABRIC_REPLICA_SET_QUORUM_MODE(0i32); +pub const FABRIC_REPLICA_SET_WRITE_QUORUM: FABRIC_REPLICA_SET_QUORUM_MODE = + FABRIC_REPLICA_SET_QUORUM_MODE(1i32); +pub const FABRIC_REPLICA_STATUS_DOWN: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(1i32); +pub const FABRIC_REPLICA_STATUS_INVALID: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(0i32); +pub const FABRIC_REPLICA_STATUS_UP: FABRIC_REPLICA_STATUS = FABRIC_REPLICA_STATUS(2i32); +pub const FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_INVALID: + FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND = + FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(0i32); +pub const FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND_USING_NODE_NAME: + FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND = + FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(1i32); +pub const FABRIC_RESTART_NODE_DESCRIPTION_KIND_INVALID: FABRIC_RESTART_NODE_DESCRIPTION_KIND = + FABRIC_RESTART_NODE_DESCRIPTION_KIND(0i32); +pub const FABRIC_RESTART_NODE_DESCRIPTION_KIND_USING_NODE_NAME: + FABRIC_RESTART_NODE_DESCRIPTION_KIND = FABRIC_RESTART_NODE_DESCRIPTION_KIND(1i32); +pub const FABRIC_RESTART_PARTITION_MODE_ALL_REPLICAS_OR_INSTANCES: FABRIC_RESTART_PARTITION_MODE = + FABRIC_RESTART_PARTITION_MODE(1i32); +pub const FABRIC_RESTART_PARTITION_MODE_INVALID: FABRIC_RESTART_PARTITION_MODE = + FABRIC_RESTART_PARTITION_MODE(0i32); +pub const FABRIC_RESTART_PARTITION_MODE_ONLY_ACTIVE_SECONDARIES: FABRIC_RESTART_PARTITION_MODE = + FABRIC_RESTART_PARTITION_MODE(2i32); +pub const FABRIC_ROLLING_UPGRADE_MODE_INVALID: FABRIC_ROLLING_UPGRADE_MODE = + FABRIC_ROLLING_UPGRADE_MODE(0i32); +pub const FABRIC_ROLLING_UPGRADE_MODE_MONITORED: FABRIC_ROLLING_UPGRADE_MODE = + FABRIC_ROLLING_UPGRADE_MODE(3i32); +pub const FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_AUTO: FABRIC_ROLLING_UPGRADE_MODE = + FABRIC_ROLLING_UPGRADE_MODE(1i32); +pub const FABRIC_ROLLING_UPGRADE_MODE_UNMONITORED_MANUAL: FABRIC_ROLLING_UPGRADE_MODE = + FABRIC_ROLLING_UPGRADE_MODE(2i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_ENABLE_DELTAS: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(1024i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FAILURE_ACTION: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(8i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_FORCE_RESTART: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(2i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_RETRY: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(64i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_STABLE: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(32i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_CHECK_WAIT: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(16i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_HEALTH_POLICY: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(512i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_NONE: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(0i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_REPLICA_SET_CHECK_TIMEOUT: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(4i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_APPLICATION_HEALTH_POLICY_MAP: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(4096i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_DOMAIN_TIMEOUT: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(256i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_HEALTH_POLICY: + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(2048i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_MODE: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(1i32); +pub const FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS_UPGRADE_TIMEOUT: FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS = + FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(128i32); +pub const FABRIC_SAFETY_CHECK_KIND_INVALID: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(0i32); +pub const FABRIC_SCALING_MECHANISM_INVALID: FABRIC_SCALING_MECHANISM_KIND = + FABRIC_SCALING_MECHANISM_KIND(0i32); +pub const FABRIC_SCALING_MECHANISM_KIND_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION: + FABRIC_SCALING_MECHANISM_KIND = FABRIC_SCALING_MECHANISM_KIND(2i32); +pub const FABRIC_SCALING_MECHANISM_KIND_SCALE_PARTITION_INSTANCE_COUNT: + FABRIC_SCALING_MECHANISM_KIND = FABRIC_SCALING_MECHANISM_KIND(1i32); +pub const FABRIC_SCALING_TRIGGER_KIND_AVERAGE_PARTITION_LOAD: FABRIC_SCALING_TRIGGER_KIND = + FABRIC_SCALING_TRIGGER_KIND(1i32); +pub const FABRIC_SCALING_TRIGGER_KIND_AVERAGE_SERVICE_LOAD: FABRIC_SCALING_TRIGGER_KIND = + FABRIC_SCALING_TRIGGER_KIND(2i32); +pub const FABRIC_SCALING_TRIGGER_KIND_INVALID: FABRIC_SCALING_TRIGGER_KIND = + FABRIC_SCALING_TRIGGER_KIND(0i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_CLAIMS: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(3i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_INVALID: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(255i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_NONE: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(0i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_WINDOWS: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(2i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_X509: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(1i32); +pub const FABRIC_SECURITY_CREDENTIAL_KIND_X509_2: FABRIC_SECURITY_CREDENTIAL_KIND = + FABRIC_SECURITY_CREDENTIAL_KIND(4i32); +pub const FABRIC_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM: FABRIC_SAFETY_CHECK_KIND = + FABRIC_SAFETY_CHECK_KIND(1i32); +pub const FABRIC_SERVICE_CORRELATION_SCHEME_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = + FABRIC_SERVICE_CORRELATION_SCHEME(1i32); +pub const FABRIC_SERVICE_CORRELATION_SCHEME_ALIGNED_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = + FABRIC_SERVICE_CORRELATION_SCHEME(2i32); +pub const FABRIC_SERVICE_CORRELATION_SCHEME_INVALID: FABRIC_SERVICE_CORRELATION_SCHEME = + FABRIC_SERVICE_CORRELATION_SCHEME(0i32); +pub const FABRIC_SERVICE_CORRELATION_SCHEME_NONALIGNED_AFFINITY: FABRIC_SERVICE_CORRELATION_SCHEME = + FABRIC_SERVICE_CORRELATION_SCHEME(3i32); +pub const FABRIC_SERVICE_DESCRIPTION_KIND_INVALID: FABRIC_SERVICE_DESCRIPTION_KIND = + FABRIC_SERVICE_DESCRIPTION_KIND(0i32); +pub const FABRIC_SERVICE_DESCRIPTION_KIND_STATEFUL: FABRIC_SERVICE_DESCRIPTION_KIND = + FABRIC_SERVICE_DESCRIPTION_KIND(2i32); +pub const FABRIC_SERVICE_DESCRIPTION_KIND_STATELESS: FABRIC_SERVICE_DESCRIPTION_KIND = + FABRIC_SERVICE_DESCRIPTION_KIND(1i32); +pub const FABRIC_SERVICE_KIND_INVALID: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(0i32); +pub const FABRIC_SERVICE_KIND_STATEFUL: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(2i32); +pub const FABRIC_SERVICE_KIND_STATELESS: FABRIC_SERVICE_KIND = FABRIC_SERVICE_KIND(1i32); +pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_HIGH: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = + FABRIC_SERVICE_LOAD_METRIC_WEIGHT(3i32); +pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_LOW: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = + FABRIC_SERVICE_LOAD_METRIC_WEIGHT(1i32); +pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_MEDIUM: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = + FABRIC_SERVICE_LOAD_METRIC_WEIGHT(2i32); +pub const FABRIC_SERVICE_LOAD_METRIC_WEIGHT_ZERO: FABRIC_SERVICE_LOAD_METRIC_WEIGHT = + FABRIC_SERVICE_LOAD_METRIC_WEIGHT(0i32); +pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NAME_PREFIX: + FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(1i32); +pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_NONE: FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = + FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(0i32); +pub const FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS_PRIMARY_ONLY: + FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS = FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(2i32); +pub const FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_EXCLUSIVE_PROCESS: + FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE = FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(1i32); +pub const FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE_SHARED_PROCESS: + FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE = FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(0i32); +pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_GRANTED: FABRIC_SERVICE_PARTITION_ACCESS_STATUS = + FABRIC_SERVICE_PARTITION_ACCESS_STATUS(1i32); +pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_INVALID: FABRIC_SERVICE_PARTITION_ACCESS_STATUS = + FABRIC_SERVICE_PARTITION_ACCESS_STATUS(0i32); +pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NOT_PRIMARY: + FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(3i32); +pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_NO_WRITE_QUORUM: + FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(4i32); +pub const FABRIC_SERVICE_PARTITION_ACCESS_STATUS_RECONFIGURATION_PENDING: + FABRIC_SERVICE_PARTITION_ACCESS_STATUS = FABRIC_SERVICE_PARTITION_ACCESS_STATUS(2i32); +pub const FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE: FABRIC_SERVICE_PARTITION_KIND = + FABRIC_SERVICE_PARTITION_KIND(2i32); +pub const FABRIC_SERVICE_PARTITION_KIND_INVALID: FABRIC_SERVICE_PARTITION_KIND = + FABRIC_SERVICE_PARTITION_KIND(0i32); +pub const FABRIC_SERVICE_PARTITION_KIND_NAMED: FABRIC_SERVICE_PARTITION_KIND = + FABRIC_SERVICE_PARTITION_KIND(3i32); +pub const FABRIC_SERVICE_PARTITION_KIND_SINGLETON: FABRIC_SERVICE_PARTITION_KIND = + FABRIC_SERVICE_PARTITION_KIND(1i32); +pub const FABRIC_SERVICE_REPLICA_KIND_INVALID: FABRIC_SERVICE_REPLICA_KIND = + FABRIC_SERVICE_REPLICA_KIND(0i32); +pub const FABRIC_SERVICE_REPLICA_KIND_KEY_VALUE_STORE: FABRIC_SERVICE_REPLICA_KIND = + FABRIC_SERVICE_REPLICA_KIND(1i32); +pub const FABRIC_SERVICE_ROLE_INVALID: FABRIC_SERVICE_ENDPOINT_ROLE = + FABRIC_SERVICE_ENDPOINT_ROLE(0i32); +pub const FABRIC_SERVICE_ROLE_STATEFUL_PRIMARY: FABRIC_SERVICE_ENDPOINT_ROLE = + FABRIC_SERVICE_ENDPOINT_ROLE(2i32); +pub const FABRIC_SERVICE_ROLE_STATEFUL_SECONDARY: FABRIC_SERVICE_ENDPOINT_ROLE = + FABRIC_SERVICE_ENDPOINT_ROLE(3i32); +pub const FABRIC_SERVICE_ROLE_STATELESS: FABRIC_SERVICE_ENDPOINT_ROLE = + FABRIC_SERVICE_ENDPOINT_ROLE(1i32); +pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_DISABLED: + FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(1i32); +pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_INVALID: FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = + FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(0i32); +pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_NOT_REGISTERED: + FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(2i32); +pub const FABRIC_SERVICE_TYPE_REGISTRATION_STATUS_REGISTERED: + FABRIC_SERVICE_TYPE_REGISTRATION_STATUS = FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(3i32); +pub const FABRIC_START_NODE_DESCRIPTION_KIND_INVALID: FABRIC_START_NODE_DESCRIPTION_KIND = + FABRIC_START_NODE_DESCRIPTION_KIND(0i32); +pub const FABRIC_START_NODE_DESCRIPTION_KIND_USING_NODE_NAME: FABRIC_START_NODE_DESCRIPTION_KIND = + FABRIC_START_NODE_DESCRIPTION_KIND(1i32); +pub const FABRIC_STATEFUL_SERVICE_CORRELATIONS: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(128i32); +pub const FABRIC_STATEFUL_SERVICE_METRICS: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(256i32); +pub const FABRIC_STATEFUL_SERVICE_MIN_REPLICA_SET_SIZE: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(16i32); +pub const FABRIC_STATEFUL_SERVICE_MOVE_COST: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(512i32); +pub const FABRIC_STATEFUL_SERVICE_NONE: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(0i32); +pub const FABRIC_STATEFUL_SERVICE_PLACEMENT_CONSTRAINTS: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(32i32); +pub const FABRIC_STATEFUL_SERVICE_POLICY_LIST: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(64i32); +pub const FABRIC_STATEFUL_SERVICE_QUORUM_LOSS_WAIT_DURATION: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(4i32); +pub const FABRIC_STATEFUL_SERVICE_REPLICA_RESTART_WAIT_DURATION: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(2i32); +pub const FABRIC_STATEFUL_SERVICE_SCALING_POLICY: FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(1024i32); +pub const FABRIC_STATEFUL_SERVICE_SETTINGS_NONE: FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(0i32); +pub const FABRIC_STATEFUL_SERVICE_SETTINGS_QUORUM_LOSS_WAIT_DURATION: + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(2i32); +pub const FABRIC_STATEFUL_SERVICE_SETTINGS_REPLICA_RESTART_WAIT_DURATION: + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(1i32); +pub const FABRIC_STATEFUL_SERVICE_SETTINGS_STANDBY_REPLICA_KEEP_DURATION: + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS = + FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(4i32); +pub const FABRIC_STATEFUL_SERVICE_STANDBY_REPLICA_KEEP_DURATION: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(8i32); +pub const FABRIC_STATEFUL_SERVICE_TARGET_REPLICA_SET_SIZE: + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(1i32); +pub const FABRIC_STATELESS_SERVICE_CORRELATIONS: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(8i32); +pub const FABRIC_STATELESS_SERVICE_INSTANCE_COUNT: + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(1i32); +pub const FABRIC_STATELESS_SERVICE_METRICS: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(16i32); +pub const FABRIC_STATELESS_SERVICE_MOVE_COST: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(32i32); +pub const FABRIC_STATELESS_SERVICE_NONE: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(0i32); +pub const FABRIC_STATELESS_SERVICE_PLACEMENT_CONSTRAINTS: + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(2i32); +pub const FABRIC_STATELESS_SERVICE_POLICY_LIST: FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(4i32); +pub const FABRIC_STATELESS_SERVICE_SCALING_POLICY: + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS = + FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(64i32); +pub const FABRIC_STOP_NODE_DESCRIPTION_KIND_INVALID: FABRIC_STOP_NODE_DESCRIPTION_KIND = + FABRIC_STOP_NODE_DESCRIPTION_KIND(0i32); +pub const FABRIC_STOP_NODE_DESCRIPTION_KIND_USING_NODE_NAME: FABRIC_STOP_NODE_DESCRIPTION_KIND = + FABRIC_STOP_NODE_DESCRIPTION_KIND(1i32); +pub const FABRIC_STORE_BACKUP_OPTION_FULL: FABRIC_STORE_BACKUP_OPTION = + FABRIC_STORE_BACKUP_OPTION(1i32); +pub const FABRIC_STORE_BACKUP_OPTION_INCREMENTAL: FABRIC_STORE_BACKUP_OPTION = + FABRIC_STORE_BACKUP_OPTION(2i32); +pub const FABRIC_STORE_BACKUP_OPTION_TRUNCATE_LOGS_ONLY: FABRIC_STORE_BACKUP_OPTION = + FABRIC_STORE_BACKUP_OPTION(3i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_CANCELLED: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(5i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_COMPLETED: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(3i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_FAULTED: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(4i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_FORCE_CANCELLED: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(6i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_INVALID: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(0i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_ROLLING_BACK: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(2i32); +pub const FABRIC_TEST_COMMAND_PROGRESS_STATE_RUNNING: FABRIC_TEST_COMMAND_PROGRESS_STATE = + FABRIC_TEST_COMMAND_PROGRESS_STATE(1i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_ALL: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(65535i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_CANCELLED: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(32i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_COMPLETED_SUCCESSFULLY: + FABRIC_TEST_COMMAND_STATE_FILTER = FABRIC_TEST_COMMAND_STATE_FILTER(8i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_DEFAULT: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(0i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_FAILED: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(16i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_FORCE_CANCELLED: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(64i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_ROLLING_BACK: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(2i32); +pub const FABRIC_TEST_COMMAND_STATE_FILTER_RUNNING: FABRIC_TEST_COMMAND_STATE_FILTER = + FABRIC_TEST_COMMAND_STATE_FILTER(1i32); +pub const FABRIC_TEST_COMMAND_TYPE_DEFAULT: FABRIC_TEST_COMMAND_TYPE = + FABRIC_TEST_COMMAND_TYPE(0i32); +pub const FABRIC_TEST_COMMAND_TYPE_FILTER_ALL: FABRIC_TEST_COMMAND_TYPE_FILTER = + FABRIC_TEST_COMMAND_TYPE_FILTER(65535i32); +pub const FABRIC_TEST_COMMAND_TYPE_FILTER_DEFAULT: FABRIC_TEST_COMMAND_TYPE_FILTER = + FABRIC_TEST_COMMAND_TYPE_FILTER(0i32); +pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_DATA_LOSS: FABRIC_TEST_COMMAND_TYPE_FILTER = + FABRIC_TEST_COMMAND_TYPE_FILTER(1i32); +pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_QUORUM_LOSS: FABRIC_TEST_COMMAND_TYPE_FILTER = + FABRIC_TEST_COMMAND_TYPE_FILTER(2i32); +pub const FABRIC_TEST_COMMAND_TYPE_FILTER_PARTITION_RESTART: FABRIC_TEST_COMMAND_TYPE_FILTER = + FABRIC_TEST_COMMAND_TYPE_FILTER(4i32); +pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_DATA_LOSS: FABRIC_TEST_COMMAND_TYPE = + FABRIC_TEST_COMMAND_TYPE(1i32); +pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_QUORUM_LOSS: FABRIC_TEST_COMMAND_TYPE = + FABRIC_TEST_COMMAND_TYPE(2i32); +pub const FABRIC_TEST_COMMAND_TYPE_INVOKE_RESTART_PARTITION: FABRIC_TEST_COMMAND_TYPE = + FABRIC_TEST_COMMAND_TYPE(4i32); +pub const FABRIC_TEST_COMMAND_TYPE_START_NODE_TRANSITION: FABRIC_TEST_COMMAND_TYPE = + FABRIC_TEST_COMMAND_TYPE(8i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_DEFAULT: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(0i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(2i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(1i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(3i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(5i32); +pub const FABRIC_TRANSACTION_ISOLATION_LEVEL_SNAPSHOT: FABRIC_TRANSACTION_ISOLATION_LEVEL = + FABRIC_TRANSACTION_ISOLATION_LEVEL(4i32); +pub const FABRIC_UPGRADE_DOMAIN_STATE_COMPLETED: FABRIC_UPGRADE_DOMAIN_STATE = + FABRIC_UPGRADE_DOMAIN_STATE(3i32); +pub const FABRIC_UPGRADE_DOMAIN_STATE_INVALID: FABRIC_UPGRADE_DOMAIN_STATE = + FABRIC_UPGRADE_DOMAIN_STATE(0i32); +pub const FABRIC_UPGRADE_DOMAIN_STATE_IN_PROGRESS: FABRIC_UPGRADE_DOMAIN_STATE = + FABRIC_UPGRADE_DOMAIN_STATE(2i32); +pub const FABRIC_UPGRADE_DOMAIN_STATE_PENDING: FABRIC_UPGRADE_DOMAIN_STATE = + FABRIC_UPGRADE_DOMAIN_STATE(1i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_HEALTH_CHECK: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(2i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_INTERRUPTED: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(1i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_NONE: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(0i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_OVERALL_UPGRADE_TIMEOUT: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(4i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_PROCESSING_FAILURE: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(5i32); +pub const FABRIC_UPGRADE_FAILURE_REASON_UPGRADE_DOMAIN_TIMEOUT: FABRIC_UPGRADE_FAILURE_REASON = + FABRIC_UPGRADE_FAILURE_REASON(3i32); +pub const FABRIC_UPGRADE_KIND_INVALID: FABRIC_UPGRADE_KIND = FABRIC_UPGRADE_KIND(0i32); +pub const FABRIC_UPGRADE_KIND_ROLLING: FABRIC_UPGRADE_KIND = FABRIC_UPGRADE_KIND(1i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_AVAILABILITY: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(7i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_ENSURE_QUORUM: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(2i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_INBUILD_REPLICA: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(6i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_PLACEMENT: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(3i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_PRIMARY_SWAP: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(4i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RECONFIGURATION: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(5i32); +pub const FABRIC_UPGRADE_PARTITION_SAFETY_CHECK_KIND_WAIT_FOR_RESOURCE_AVAILABILITY: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(8i32); +pub const FABRIC_UPGRADE_SAFETY_CHECK_KIND_INVALID: FABRIC_UPGRADE_SAFETY_CHECK_KIND = + FABRIC_UPGRADE_SAFETY_CHECK_KIND(0i32); +pub const FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK_KIND_ENSURE_QUORUM: + FABRIC_UPGRADE_SAFETY_CHECK_KIND = FABRIC_UPGRADE_SAFETY_CHECK_KIND(1i32); +pub const FABRIC_UPGRADE_STATE_FAILED: FABRIC_UPGRADE_STATE = FABRIC_UPGRADE_STATE(6i32); +pub const FABRIC_UPGRADE_STATE_INVALID: FABRIC_UPGRADE_STATE = FABRIC_UPGRADE_STATE(0i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_COMPLETED: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(2i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_IN_PROGRESS: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(1i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_BACK_PENDING: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(7i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_COMPLETED: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(5i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_IN_PROGRESS: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(4i32); +pub const FABRIC_UPGRADE_STATE_ROLLING_FORWARD_PENDING: FABRIC_UPGRADE_STATE = + FABRIC_UPGRADE_STATE(3i32); +pub const FABRIC_X509_FIND_TYPE_FINDBYEXTENSION: FABRIC_X509_FIND_TYPE = + FABRIC_X509_FIND_TYPE(12i32); +pub const FABRIC_X509_FIND_TYPE_FINDBYSUBJECTNAME: FABRIC_X509_FIND_TYPE = + FABRIC_X509_FIND_TYPE(1i32); +pub const FABRIC_X509_FIND_TYPE_FINDBYTHUMBPRINT: FABRIC_X509_FIND_TYPE = + FABRIC_X509_FIND_TYPE(0i32); +pub const FABRIC_X509_STORE_LOCATION_CURRENTUSER: FABRIC_X509_STORE_LOCATION = + FABRIC_X509_STORE_LOCATION(1i32); +pub const FABRIC_X509_STORE_LOCATION_INVALID: FABRIC_X509_STORE_LOCATION = + FABRIC_X509_STORE_LOCATION(0i32); +pub const FABRIC_X509_STORE_LOCATION_LOCALMACHINE: FABRIC_X509_STORE_LOCATION = + FABRIC_X509_STORE_LOCATION(2i32); +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_DEFINITION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_DEFINITION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_DEFINITION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_DEFINITION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_DEFINITION_KIND_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_DEFINITION_KIND_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_DEFINITION_KIND_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_DEFINITION_KIND_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_TYPE_DEFINITION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_DEFINITION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_DEFINITION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_TYPE_DEFINITION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_TYPE_DEFINITION_KIND_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_TYPE_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_TYPE_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_TYPE_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_UPDATE_DESCRIPTION_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_UPGRADE_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_UPGRADE_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_APPLICATION_UPGRADE_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_APPLICATION_UPGRADE_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_APPLICATION_UPGRADE_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CHAOS_EVENT_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_CHAOS_EVENT_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CHAOS_EVENT_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CHAOS_EVENT_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CHAOS_SCHEDULE_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CHAOS_SCHEDULE_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CHAOS_SCHEDULE_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CHAOS_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_CHAOS_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CHAOS_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CHAOS_STATUS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CLIENT_ROLE(pub i32); +impl windows_core::TypeKind for FABRIC_CLIENT_ROLE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CLIENT_ROLE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CLIENT_ROLE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_CODE_PACKAGE_EVENT_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_EVENT_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_CODE_PACKAGE_EVENT_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_CODE_PACKAGE_EVENT_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_DATA_LOSS_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_DATA_LOSS_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_DATA_LOSS_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_DATA_LOSS_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_DEPLOYMENT_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_DEPLOYMENT_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_DEPLOYMENT_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_DEPLOYMENT_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_DIAGNOSTICS_SINKS_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_DIAGNOSTICS_SINKS_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_DIAGNOSTICS_SINKS_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_DIAGNOSTICS_SINKS_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_DLLHOST_HOSTED_DLL_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_DLLHOST_HOSTED_DLL_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_DLLHOST_HOSTED_DLL_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_DLLHOST_ISOLATION_POLICY(pub i32); +impl windows_core::TypeKind for FABRIC_DLLHOST_ISOLATION_POLICY { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_DLLHOST_ISOLATION_POLICY { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_DLLHOST_ISOLATION_POLICY") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_ENTRY_POINT_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_ENTRY_POINT_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_ENTRY_POINT_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_ENTRY_POINT_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_ENUMERATION_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_ENUMERATION_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_ENUMERATION_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_ENUMERATION_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_ERROR_CODE(pub i32); +impl windows_core::TypeKind for FABRIC_ERROR_CODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_ERROR_CODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_ERROR_CODE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_EXEHOST_WORKING_FOLDER(pub i32); +impl windows_core::TypeKind for FABRIC_EXEHOST_WORKING_FOLDER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_EXEHOST_WORKING_FOLDER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_EXEHOST_WORKING_FOLDER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_FAULT_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_FAULT_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_FAULT_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_FAULT_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HEALTH_ENTITY_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_HEALTH_ENTITY_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HEALTH_ENTITY_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HEALTH_ENTITY_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HEALTH_EVALUATION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HEALTH_EVALUATION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HEALTH_EVALUATION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HEALTH_REPORT_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_HEALTH_REPORT_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HEALTH_REPORT_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HEALTH_REPORT_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HEALTH_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HEALTH_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HEALTH_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HEALTH_STATE_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HEALTH_STATE_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HEALTH_STATE_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HOST_ISOLATION_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_HOST_ISOLATION_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HOST_ISOLATION_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HOST_ISOLATION_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_HOST_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_HOST_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_HOST_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_HOST_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE(pub i32); +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_MIGRATION_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_KEY_VALUE_STORE_MIGRATION_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_KEY_VALUE_STORE_PROVIDER_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_PROVIDER_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_KEY_VALUE_STORE_PROVIDER_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_KEY_VALUE_STORE_PROVIDER_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_LOCAL_STORE_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_LOCAL_STORE_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_LOCAL_STORE_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_LOCAL_STORE_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_MONITORED_UPGRADE_FAILURE_ACTION(pub i32); +impl windows_core::TypeKind for FABRIC_MONITORED_UPGRADE_FAILURE_ACTION { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_MONITORED_UPGRADE_FAILURE_ACTION { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_MONITORED_UPGRADE_FAILURE_ACTION") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_MOVE_COST(pub i32); +impl windows_core::TypeKind for FABRIC_MOVE_COST { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_MOVE_COST { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_MOVE_COST").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NETWORK_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_NETWORK_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NETWORK_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NETWORK_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NETWORK_STATUS_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_NETWORK_STATUS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NETWORK_STATUS_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NETWORK_STATUS_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NETWORK_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_NETWORK_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NETWORK_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NETWORK_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NODE_DEACTIVATION_INTENT(pub i32); +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_INTENT { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_INTENT { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NODE_DEACTIVATION_INTENT") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NODE_DEACTIVATION_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NODE_DEACTIVATION_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NODE_DEACTIVATION_TASK_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NODE_DEACTIVATION_TASK_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NODE_DEACTIVATION_TASK_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NODE_TRANSITION_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NODE_TRANSITION_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NODE_TRANSITION_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_NODE_UPGRADE_PHASE(pub i32); +impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PHASE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_NODE_UPGRADE_PHASE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_NODE_UPGRADE_PHASE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_OPERATION_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_OPERATION_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_OPERATION_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_OPERATION_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PACKAGE_SHARING_POLICY_SCOPE(pub i32); +impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY_SCOPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PACKAGE_SHARING_POLICY_SCOPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PACKAGE_SHARING_POLICY_SCOPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PARTITION_KEY_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_PARTITION_KEY_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PARTITION_KEY_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PARTITION_KEY_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PARTITION_SCHEME(pub i32); +impl windows_core::TypeKind for FABRIC_PARTITION_SCHEME { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PARTITION_SCHEME { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PARTITION_SCHEME") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PARTITION_SELECTOR_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_PARTITION_SELECTOR_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PARTITION_SELECTOR_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PARTITION_SELECTOR_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PLACEMENT_POLICY_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PLACEMENT_POLICY_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PLACEMENT_POLICY_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PROPERTY_BATCH_OPERATION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_PROPERTY_BATCH_OPERATION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PROPERTY_BATCH_OPERATION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PROPERTY_BATCH_OPERATION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PROPERTY_TYPE_ID(pub i32); +impl windows_core::TypeKind for FABRIC_PROPERTY_TYPE_ID { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PROPERTY_TYPE_ID { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PROPERTY_TYPE_ID") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PROTECTION_LEVEL(pub i32); +impl windows_core::TypeKind for FABRIC_PROTECTION_LEVEL { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PROTECTION_LEVEL { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PROTECTION_LEVEL") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_PROVISION_APPLICATION_TYPE_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_PROVISION_APPLICATION_TYPE_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_PROVISION_APPLICATION_TYPE_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_NODE_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_NODE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_NODE_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_NODE_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_NODE_STATUS_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_NODE_STATUS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_NODE_STATUS_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_NODE_STATUS_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_REPLICATOR_OPERATION_NAME(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_REPLICATOR_OPERATION_NAME { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_REPLICATOR_OPERATION_NAME { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_REPLICATOR_OPERATION_NAME") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_SERVICE_OPERATION_NAME(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_OPERATION_NAME { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_SERVICE_OPERATION_NAME { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_SERVICE_OPERATION_NAME") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_SERVICE_PARTITION_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_PARTITION_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_SERVICE_PARTITION_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_SERVICE_PARTITION_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_SERVICE_REPLICA_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_REPLICA_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_SERVICE_REPLICA_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_SERVICE_REPLICA_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_SERVICE_REPLICA_STATUS_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUERY_SERVICE_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_QUERY_SERVICE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUERY_SERVICE_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUERY_SERVICE_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_QUORUM_LOSS_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_QUORUM_LOSS_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_QUORUM_LOSS_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_QUORUM_LOSS_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_RECONFIGURATION_PHASE(pub i32); +impl windows_core::TypeKind for FABRIC_RECONFIGURATION_PHASE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_RECONFIGURATION_PHASE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_RECONFIGURATION_PHASE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_RECONFIGURATION_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_RECONFIGURATION_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_RECONFIGURATION_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_RECONFIGURATION_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_IMPACT_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_IMPACT_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_IMPACT_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_IMPACT_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_NODE_IMPACT_LEVEL(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT_LEVEL { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_NODE_IMPACT_LEVEL { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_NODE_IMPACT_LEVEL") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TARGET_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TARGET_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TARGET_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TARGET_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_SETTINGS_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_RESULT(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_RESULT { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_RESULT { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_RESULT") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPAIR_TASK_STATE_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPAIR_TASK_STATE_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPAIR_TASK_STATE_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPLICATOR_SETTINGS_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPLICATOR_SETTINGS_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPLICATOR_SETTINGS_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPLICA_OPEN_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_REPLICA_OPEN_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPLICA_OPEN_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPLICA_OPEN_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPLICA_ROLE(pub i32); +impl windows_core::TypeKind for FABRIC_REPLICA_ROLE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPLICA_ROLE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPLICA_ROLE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPLICA_SET_QUORUM_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_REPLICA_SET_QUORUM_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPLICA_SET_QUORUM_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPLICA_SET_QUORUM_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_REPLICA_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_REPLICA_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_REPLICA_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_REPLICA_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_RESTART_NODE_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_RESTART_NODE_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_RESTART_NODE_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_RESTART_PARTITION_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_RESTART_PARTITION_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_RESTART_PARTITION_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_RESTART_PARTITION_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_ROLLING_UPGRADE_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_ROLLING_UPGRADE_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_ROLLING_UPGRADE_UPDATE_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SAFETY_CHECK_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SAFETY_CHECK_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SAFETY_CHECK_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SAFETY_CHECK_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SCALING_MECHANISM_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SCALING_MECHANISM_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SCALING_MECHANISM_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SCALING_TRIGGER_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SCALING_TRIGGER_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SCALING_TRIGGER_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SECURITY_CREDENTIAL_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SECURITY_CREDENTIAL_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SECURITY_CREDENTIAL_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SECURITY_CREDENTIAL_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_CORRELATION_SCHEME(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_CORRELATION_SCHEME { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_CORRELATION_SCHEME { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_CORRELATION_SCHEME") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_ENDPOINT_ROLE(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_ENDPOINT_ROLE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_ENDPOINT_ROLE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_ENDPOINT_ROLE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_KIND").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_LOAD_METRIC_WEIGHT(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_WEIGHT { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_LOAD_METRIC_WEIGHT { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_LOAD_METRIC_WEIGHT") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_PARTITION_ACCESS_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_ACCESS_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_ACCESS_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_PARTITION_ACCESS_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_PARTITION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_PARTITION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_PARTITION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_REPLICA_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_REPLICA_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_REPLICA_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_SERVICE_TYPE_REGISTRATION_STATUS(pub i32); +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_REGISTRATION_STATUS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_SERVICE_TYPE_REGISTRATION_STATUS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_SERVICE_TYPE_REGISTRATION_STATUS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_START_NODE_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_START_NODE_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_START_NODE_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS(pub i32); +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_FLAGS") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_STOP_NODE_DESCRIPTION_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_STOP_NODE_DESCRIPTION_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_STOP_NODE_DESCRIPTION_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_STORE_BACKUP_OPTION(pub i32); +impl windows_core::TypeKind for FABRIC_STORE_BACKUP_OPTION { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_STORE_BACKUP_OPTION { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_STORE_BACKUP_OPTION") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_TEST_COMMAND_PROGRESS_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_TEST_COMMAND_PROGRESS_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_TEST_COMMAND_PROGRESS_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_TEST_COMMAND_PROGRESS_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_TEST_COMMAND_STATE_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_TEST_COMMAND_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_TEST_COMMAND_STATE_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_TEST_COMMAND_STATE_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_TEST_COMMAND_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_TEST_COMMAND_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_TEST_COMMAND_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_TEST_COMMAND_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_TEST_COMMAND_TYPE_FILTER(pub i32); +impl windows_core::TypeKind for FABRIC_TEST_COMMAND_TYPE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_TEST_COMMAND_TYPE_FILTER { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_TEST_COMMAND_TYPE_FILTER") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_TRANSACTION_ISOLATION_LEVEL(pub i32); +impl windows_core::TypeKind for FABRIC_TRANSACTION_ISOLATION_LEVEL { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_TRANSACTION_ISOLATION_LEVEL { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_TRANSACTION_ISOLATION_LEVEL") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_UPGRADE_DOMAIN_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_UPGRADE_DOMAIN_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_UPGRADE_DOMAIN_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_UPGRADE_FAILURE_REASON(pub i32); +impl windows_core::TypeKind for FABRIC_UPGRADE_FAILURE_REASON { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_UPGRADE_FAILURE_REASON { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_UPGRADE_FAILURE_REASON") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_UPGRADE_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_UPGRADE_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_UPGRADE_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_UPGRADE_KIND").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_UPGRADE_SAFETY_CHECK_KIND(pub i32); +impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK_KIND { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_UPGRADE_SAFETY_CHECK_KIND { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_UPGRADE_SAFETY_CHECK_KIND") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_UPGRADE_STATE(pub i32); +impl windows_core::TypeKind for FABRIC_UPGRADE_STATE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_UPGRADE_STATE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_UPGRADE_STATE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_X509_FIND_TYPE(pub i32); +impl windows_core::TypeKind for FABRIC_X509_FIND_TYPE { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_X509_FIND_TYPE { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_X509_FIND_TYPE") + .field(&self.0) + .finish() + } +} +#[repr(transparent)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] +pub struct FABRIC_X509_STORE_LOCATION(pub i32); +impl windows_core::TypeKind for FABRIC_X509_STORE_LOCATION { + type TypeKind = windows_core::CopyType; +} +impl core::fmt::Debug for FABRIC_X509_STORE_LOCATION { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + f.debug_tuple("FABRIC_X509_STORE_LOCATION") + .field(&self.0) + .finish() + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { + pub Authority: windows_core::PCWSTR, + pub TenantId: windows_core::PCWSTR, + pub ClusterApplication: windows_core::PCWSTR, + pub ClientApplication: windows_core::PCWSTR, + pub ClientRedirect: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { + pub LoginEndpoint: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_AAD_CLAIMS_RETRIEVAL_METADATA_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATIONS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyApplications: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATIONS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATIONS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_CAPACITY_DESCRIPTION { + pub MaximumNodes: u32, + pub MinimumNodes: u32, + pub Metrics: *const FABRIC_APPLICATION_METRIC_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_CAPACITY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub ApplicationParameters: *const FABRIC_APPLICATION_PARAMETER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_DESCRIPTION_EX1 { + pub ApplicationCapacity: *const FABRIC_APPLICATION_CAPACITY_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH { + pub ApplicationName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub DeployedApplicationHealthStates: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST, + pub ServiceHealthStates: *const FABRIC_SERVICE_HEALTH_STATE_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_EX2 { + pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_POLICY { + pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, + pub MaxPercentUnhealthyDeployedApplications: u8, + pub DefaultServiceTypeHealthPolicy: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY, + pub ServiceTypeHealthPolicyMap: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_POLICY_MAP { + pub Count: u32, + pub Items: *mut FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_POLICY_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { + pub ApplicationName: FABRIC_URI, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_POLICY_MAP_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub ServicesFilter: *const FABRIC_SERVICE_HEALTH_STATES_FILTER, + pub DeployedApplicationsFilter: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + pub HealthStatisticsFilter: *const FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_REPORT { + pub ApplicationName: FABRIC_URI, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE { + pub ApplicationName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK { + pub ApplicationName: FABRIC_URI, + pub HealthState: FABRIC_HEALTH_STATE, + pub ServiceHealthStateChunks: *const FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST, + pub DeployedApplicationHealthStateChunks: + *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { + pub ApplicationTypeName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub ApplicationNameFilter: FABRIC_URI, + pub ServiceFilters: *const FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST, + pub DeployedApplicationFilters: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { + pub ApplicationTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { + pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_HEALTH_STATISTICS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_LOAD_INFORMATION { + pub Name: windows_core::PCWSTR, + pub MinimumNodes: u32, + pub MaximumNodes: u32, + pub NodeCount: u32, + pub ApplicationLoadMetricInformation: *const FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_LOAD_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { + pub ApplicationName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_LOAD_INFORMATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { + pub Name: windows_core::PCWSTR, + pub ReservationCapacity: i64, + pub ApplicationCapacity: i64, + pub ApplicationLoad: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { + pub Count: u32, + pub LoadMetrics: *mut FABRIC_APPLICATION_LOAD_METRIC_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_LOAD_METRIC_INFORMATION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_METRIC_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub NodeReservationCapacity: u32, + pub MaximumNodeCapacity: u32, + pub TotalApplicationCapacity: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_METRIC_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_METRIC_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_METRIC_LIST { + pub Count: u32, + pub Capacities: *mut FABRIC_APPLICATION_METRIC_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_METRIC_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_METRIC_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_NAME_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_NAME_QUERY_RESULT { + pub ApplicationName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_NAME_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_NAME_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_NETWORK_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { + pub NetworkName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_NETWORK_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_NETWORK_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_PARAMETER { + pub Name: windows_core::PCWSTR, + pub Value: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_PARAMETER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_PARAMETER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_PARAMETER_LIST { + pub Count: u32, + pub Items: *mut FABRIC_APPLICATION_PARAMETER, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_PARAMETER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_PARAMETER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { + pub Users: *const FABRIC_SECURITY_USER_DESCRIPTION_LIST, + pub Groups: *const FABRIC_SECURITY_GROUP_DESCRIPTION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_PRINCIPALS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION { + pub ApplicationNameFilter: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { + pub ApplicationTypeNameFilter: windows_core::PCWSTR, + pub ExcludeApplicationParameters: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { + pub ApplicationDefinitionKindFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { + pub MaxResults: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_DESCRIPTION_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM { + pub ApplicationName: FABRIC_URI, + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub Status: FABRIC_APPLICATION_STATUS, + pub HealthState: FABRIC_HEALTH_STATE, + pub ApplicationParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { + pub UpgradeTypeVersion: windows_core::PCWSTR, + pub UpgradeParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { + pub ApplicationDefinitionKind: FABRIC_APPLICATION_DEFINITION_KIND, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub ApplicationTypeName: windows_core::PCWSTR, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyApplications: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_APPLICATIONS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { + pub ApplicationTypeName: windows_core::PCWSTR, + pub MaxPercentUnhealthyApplications: u8, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + pub ApplicationTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub DefaultParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { + pub Status: FABRIC_APPLICATION_TYPE_STATUS, + pub StatusDetails: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { + pub ApplicationTypeDefinitionKind: FABRIC_APPLICATION_TYPE_DEFINITION_KIND, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_TYPE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_TYPE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPDATE_DESCRIPTION { + pub Flags: u32, + pub ApplicationName: FABRIC_URI, + pub RemoveApplicationCapacity: windows::Win32::Foundation::BOOLEAN, + pub MaximumNodes: u32, + pub MinimumNodes: u32, + pub Metrics: *const FABRIC_APPLICATION_METRIC_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPGRADE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub TargetApplicationTypeVersion: windows_core::PCWSTR, + pub ApplicationParameters: *mut FABRIC_APPLICATION_PARAMETER_LIST, + pub UpgradeKind: FABRIC_APPLICATION_UPGRADE_KIND, + pub UpgradePolicyDescription: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPGRADE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS { + pub UpgradeDescription: *const FABRIC_APPLICATION_UPGRADE_DESCRIPTION, + pub UpgradeState: FABRIC_APPLICATION_UPGRADE_STATE, + pub UpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, + pub NextUpgradeDomain: windows_core::PCWSTR, + pub UpgradeDomains: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST, + pub UpgradeDurationInSeconds: u32, + pub CurrentUpgradeDomainDurationInSeconds: u32, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub CurrentUpgradeDomainProgress: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { + pub StartTimestampUtc: windows::Win32::Foundation::FILETIME, + pub FailureTimestampUtc: windows::Win32::Foundation::FILETIME, + pub FailureReason: FABRIC_UPGRADE_FAILURE_REASON, + pub UpgradeDomainProgressAtFailure: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { + pub UpgradeStatusDetails: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPGRADE_PROGRESS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub UpgradeKind: FABRIC_APPLICATION_UPGRADE_KIND, + pub UpdateFlags: u32, + pub UpgradePolicyDescription: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_APPLICATION_UPGRADE_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub Force: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CANCEL_TEST_COMMAND_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_DESCRIPTION { + pub ChaosParameters: *const FABRIC_CHAOS_PARAMETERS, + pub Status: FABRIC_CHAOS_STATUS, + pub ScheduleStatus: FABRIC_CHAOS_SCHEDULE_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_EVENT { + pub Kind: FABRIC_CHAOS_EVENT_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_EVENTS_SEGMENT { + pub ContinuationToken: windows_core::PCWSTR, + pub History: *const FABRIC_CHAOS_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_EVENTS_SEGMENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { + pub Filter: *const FABRIC_CHAOS_EVENTS_SEGMENT_FILTER, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_EVENTS_SEGMENT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { + pub StartTimeUtc: windows::Win32::Foundation::FILETIME, + pub EndTimeUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_EVENTS_SEGMENT_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_EVENT_LIST { + pub Count: u32, + pub Items: *mut FABRIC_CHAOS_EVENT, +} +impl windows_core::TypeKind for FABRIC_CHAOS_EVENT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_EVENT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_PARAMETERS { + pub MaxClusterStabilizationTimeoutInSeconds: u32, + pub MaxConcurrentFaults: u32, + pub EnableMoveReplicaFaults: windows::Win32::Foundation::BOOLEAN, + pub TimeToRunInSeconds: u64, + pub WaitTimeBetweenIterationsInSeconds: u32, + pub WaitTimeBetweenFaultsInSeconds: u32, + pub Context: *const FABRIC_EVENT_CONTEXT_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_PARAMETERS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_PARAMETERS_EX1 { + pub ClusterHealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_PARAMETERS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_PARAMETERS_EX2 { + pub ChaosTargetFilter: *const FABRIC_CHAOS_TARGET_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_PARAMETERS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_PARAMETERS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_REPORT { + pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, + pub Status: FABRIC_CHAOS_STATUS, + pub ContinuationToken: windows_core::PCWSTR, + pub History: *const FABRIC_CHAOS_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_REPORT_FILTER { + pub StartTimeUtc: windows::Win32::Foundation::FILETIME, + pub EndTimeUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_REPORT_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_REPORT_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE { + pub StartDate: windows::Win32::Foundation::FILETIME, + pub ExpiryDate: windows::Win32::Foundation::FILETIME, + pub ChaosParametersMap: *const FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP, + pub Jobs: *const FABRIC_CHAOS_SCHEDULE_JOB_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { + pub Count: u32, + pub Items: *mut FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { + pub Name: windows_core::PCWSTR, + pub Parameters: *const FABRIC_CHAOS_PARAMETERS, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_CHAOS_PARAMETERS_MAP_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_DESCRIPTION { + pub Version: u32, + pub Schedule: *const FABRIC_CHAOS_SCHEDULE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_JOB { + pub ChaosParameters: windows_core::PCWSTR, + pub Days: *const FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS, + pub Times: *const FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_JOB { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { + pub Sunday: windows::Win32::Foundation::BOOLEAN, + pub Monday: windows::Win32::Foundation::BOOLEAN, + pub Tuesday: windows::Win32::Foundation::BOOLEAN, + pub Wednesday: windows::Win32::Foundation::BOOLEAN, + pub Thursday: windows::Win32::Foundation::BOOLEAN, + pub Friday: windows::Win32::Foundation::BOOLEAN, + pub Saturday: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_JOB_ACTIVE_DAYS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_JOB_LIST { + pub Count: u32, + pub Items: *mut FABRIC_CHAOS_SCHEDULE_JOB, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_JOB_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_JOB_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { + pub StartTime: *const FABRIC_CHAOS_SCHEDULE_TIME_UTC, + pub EndTime: *const FABRIC_CHAOS_SCHEDULE_TIME_UTC, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { + pub Count: u32, + pub Items: *mut FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_TIME_RANGE_UTC_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SCHEDULE_TIME_UTC { + pub Hour: u32, + pub Minute: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SCHEDULE_TIME_UTC { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SCHEDULE_TIME_UTC { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { + pub ChaosScheduleDescription: *const FABRIC_CHAOS_SCHEDULE_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_SERVICE_SCHEDULE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHAOS_TARGET_FILTER { + pub NodeTypeInclusionList: *const FABRIC_STRING_LIST, + pub ApplicationInclusionList: *const FABRIC_STRING_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHAOS_TARGET_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHAOS_TARGET_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub ExistenceCheck: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHECK_EXISTS_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub SequenceNumber: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHECK_SEQUENCE_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CHECK_VALUE_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, + pub PropertyValue: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CHECK_VALUE_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLAIMS_CREDENTIALS { + pub ServerCommonNameCount: u32, + pub ServerCommonNames: *const windows_core::PCWSTR, + pub IssuerThumbprintCount: u32, + pub IssuerThumbprints: *const windows_core::PCWSTR, + pub LocalClaims: windows_core::PCWSTR, + pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLAIMS_CREDENTIALS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLAIMS_CREDENTIALS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLAIMS_CREDENTIALS_EX1 { + pub ServerThumbprintCount: u32, + pub ServerThumbprints: *const windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLAIMS_CREDENTIALS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLAIMS_CREDENTIALS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLAIMS_RETRIEVAL_METADATA { + pub Kind: FABRIC_CLAIMS_RETRIEVAL_METADATA_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLAIMS_RETRIEVAL_METADATA { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLAIMS_RETRIEVAL_METADATA { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLIENT_SETTINGS { + pub PartitionLocationCacheLimit: u32, + pub ServiceChangePollIntervalInSeconds: u32, + pub ConnectionInitializationTimeoutInSeconds: u32, + pub KeepAliveIntervalInSeconds: u32, + pub HealthOperationTimeoutInSeconds: u32, + pub HealthReportSendIntervalInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLIENT_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLIENT_SETTINGS_EX1 { + pub ClientFriendlyName: windows_core::PCWSTR, + pub PartitionLocationCacheBucketCount: u32, + pub HealthReportRetrySendIntervalInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLIENT_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLIENT_SETTINGS_EX2 { + pub NotificationGatewayConnectionTimeoutInSeconds: u32, + pub NotificationCacheUpdateTimeoutInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLIENT_SETTINGS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLIENT_SETTINGS_EX3 { + pub AuthTokenBufferSize: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLIENT_SETTINGS_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLIENT_SETTINGS_EX4 { + pub ConnectionIdleTimeoutInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLIENT_SETTINGS_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLIENT_SETTINGS_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH { + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_CHUNK { + pub HealthState: FABRIC_HEALTH_STATE, + pub NodeHealthStateChunks: *const FABRIC_NODE_HEALTH_STATE_CHUNK_LIST, + pub ApplicationHealthStateChunks: *const FABRIC_APPLICATION_HEALTH_STATE_CHUNK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { + pub ClusterHealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, + pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, + pub ApplicationFilters: *const FABRIC_APPLICATION_HEALTH_STATE_FILTER_LIST, + pub NodeFilters: *const FABRIC_NODE_HEALTH_STATE_FILTER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_CHUNK_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_EX1 { + pub NodeHealthStates: *const FABRIC_NODE_HEALTH_STATE_LIST, + pub ApplicationHealthStates: *const FABRIC_APPLICATION_HEALTH_STATE_LIST, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_EX2 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_EX3 { + pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_POLICY { + pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, + pub MaxPercentUnhealthyNodes: u8, + pub MaxPercentUnhealthyApplications: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_POLICY_EX1 { + pub ApplicationTypeHealthPolicyMap: *const FABRIC_APPLICATION_TYPE_HEALTH_POLICY_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_POLICY_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { + pub HealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, + pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub NodesFilter: *const FABRIC_NODE_HEALTH_STATES_FILTER, + pub ApplicationsFilter: *const FABRIC_APPLICATION_HEALTH_STATES_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { + pub HealthStatisticsFilter: *const FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_REPORT { + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { + pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub IncludeSystemApplicationHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_HEALTH_STATISTICS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_LOAD_INFORMATION { + pub LastBalancingStartTimeUtc: windows::Win32::Foundation::FILETIME, + pub LastBalancingEndTimeUtc: windows::Win32::Foundation::FILETIME, + pub LoadMetricInformation: *const FABRIC_LOAD_METRIC_INFORMATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_LOAD_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_LOAD_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { + pub ClusterManifestVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_MANIFEST_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { + pub MaxPercentDeltaUnhealthyNodes: u8, + pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CLUSTER_UPGRADE_HEALTH_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Version: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub IsShared: windows::Win32::Foundation::BOOLEAN, + pub SetupEntryPoint: *mut FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION, + pub EntryPoint: *mut FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_CODE_PACKAGE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT { + pub EntryPointLocation: windows_core::PCWSTR, + pub ProcessId: i64, + pub RunAsUserName: windows_core::PCWSTR, + pub EntryPointStatus: FABRIC_ENTRY_POINT_STATUS, + pub NextActivationUtc: windows::Win32::Foundation::FILETIME, + pub Statistics: *const FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { + pub Kind: FABRIC_CODE_PACKAGE_ENTRY_POINT_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { + pub CodePackageInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { + pub LastExitCode: u32, + pub LastActivationUtc: windows::Win32::Foundation::FILETIME, + pub LastExitUtc: windows::Win32::Foundation::FILETIME, + pub LastSuccessfulActivationUtc: windows::Win32::Foundation::FILETIME, + pub LastSuccessfulExitUtc: windows::Win32::Foundation::FILETIME, + pub ActivationCount: u32, + pub ActivationFailureCount: u32, + pub ContinuousActivationFailureCount: u32, + pub ExitCount: u32, + pub ExitFailureCount: u32, + pub ContinuousExitFailureCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_ENTRY_POINT_STATISTICS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { + pub CodePackageName: windows_core::PCWSTR, + pub IsSetupEntryPoint: windows::Win32::Foundation::BOOL, + pub IsContainerHost: windows::Win32::Foundation::BOOL, + pub EventType: FABRIC_CODE_PACKAGE_EVENT_TYPE, + pub TimeStampInTicks: i64, + pub SequenceNumber: i64, + pub Properties: *mut FABRIC_STRING_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CODE_PACKAGE_EVENT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Version: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_PACKAGE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_PARAMETER { + pub Name: windows_core::PCWSTR, + pub Value: windows_core::PCWSTR, + pub MustOverride: windows::Win32::Foundation::BOOLEAN, + pub IsEncrypted: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_PARAMETER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_PARAMETER_EX1 { + pub Type: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_PARAMETER_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_PARAMETER_LIST { + pub Count: u32, + pub Items: *const FABRIC_CONFIGURATION_PARAMETER, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_PARAMETER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_PARAMETER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_SECTION { + pub Name: windows_core::PCWSTR, + pub Parameters: *const FABRIC_CONFIGURATION_PARAMETER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_SECTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_SECTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_SECTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_CONFIGURATION_SECTION, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_SECTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_SECTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONFIGURATION_SETTINGS { + pub Sections: *const FABRIC_CONFIGURATION_SECTION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONFIGURATION_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONFIGURATION_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { + pub ImageName: windows_core::PCWSTR, + pub Commands: windows_core::PCWSTR, + pub EntryPoint: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_CONTAINERHOST_ENTRY_POINT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DATA_PACKAGE_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Version: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DATA_PACKAGE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DATA_PACKAGE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_DATA_PACKAGE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DATA_PACKAGE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DELETE_APPLICATION_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ForceDelete: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DELETE_APPLICATION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DELETE_APPLICATION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DELETE_NETWORK_DESCRIPTION { + pub NetworkName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DELETE_NETWORK_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DELETE_NETWORK_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DELETE_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DELETE_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DELETE_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DELETE_SERVICE_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub ForceDelete: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DELETE_SERVICE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DELETE_SERVICE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub BaselineErrorCount: u32, + pub BaselineTotalCount: u32, + pub TotalCount: u32, + pub MaxPercentDeltaUnhealthyNodes: u8, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DELTA_NODES_CHECK_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyDeployedApplications: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH { + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub DeployedServicePackageHealthStates: + *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { + pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub DeployedServicePackagesFilter: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + pub HealthStatisticsFilter: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { + pub NodeName: windows_core::PCWSTR, + pub HealthState: FABRIC_HEALTH_STATE, + pub DeployedServicePackageHealthStateChunks: + *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub NodeNameFilter: windows_core::PCWSTR, + pub DeployedServicePackageFilters: + *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { + pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_HEALTH_STATISTICS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationNameFilter: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { + pub ApplicationName: FABRIC_URI, + pub ApplicationTypeName: windows_core::PCWSTR, + pub DeployedApplicationStatus: FABRIC_DEPLOYMENT_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { + pub WorkDirectory: windows_core::PCWSTR, + pub LogDirectory: windows_core::PCWSTR, + pub TempDirectory: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_APPLICATION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub CodePackageNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { + pub CodePackageName: windows_core::PCWSTR, + pub CodePackageVersion: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub RunFrequencyInterval: u32, + pub DeployedCodePackageStatus: FABRIC_DEPLOYMENT_STATUS, + pub SetupEntryPoint: *const FABRIC_CODE_PACKAGE_ENTRY_POINT, + pub EntryPoint: *const FABRIC_CODE_PACKAGE_ENTRY_POINT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub HostType: FABRIC_HOST_TYPE, + pub HostIsolationMode: FABRIC_HOST_ISOLATION_MODE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub CodePackageInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_CODE_PACKAGE_RESULT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub NetworkName: windows_core::PCWSTR, + pub ApplicationNameFilter: FABRIC_URI, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub CodePackageNameFilter: windows_core::PCWSTR, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { + pub ApplicationName: FABRIC_URI, + pub NetworkName: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub CodePackageVersion: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub ServicePackageActivationId: windows_core::PCWSTR, + pub ContainerAddress: windows_core::PCWSTR, + pub ContainerId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_CODE_PACKAGE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { + pub NetworkName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_NETWORK_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGES_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EVALUATION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub NodeName: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_REPORT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { + pub ServiceManifestName: windows_core::PCWSTR, + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { + pub ServicePackageActivationIdFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { + pub ServiceManifestName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub DeployedServicePackageStatus: FABRIC_DEPLOYMENT_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_PACKAGE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub PartitionIdFilter: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_REPLICA_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestNameFilter: windows_core::PCWSTR, + pub ServiceTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { + pub ServiceTypeName: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub Status: FABRIC_SERVICE_TYPE_REGISTRATION_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_SERVICE_TYPE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub CurrentServiceOperation: FABRIC_QUERY_SERVICE_OPERATION_NAME, + pub CurrentServiceOperationStartTimeUtc: windows::Win32::Foundation::FILETIME, + pub CurrentReplicatorOperation: FABRIC_QUERY_REPLICATOR_OPERATION_NAME, + pub ReadStatus: FABRIC_SERVICE_PARTITION_ACCESS_STATUS, + pub WriteStatus: FABRIC_SERVICE_PARTITION_ACCESS_STATUS, + pub ReportedLoad: *mut FABRIC_LOAD_METRIC_REPORT_LIST, + pub ReplicatorStatus: *mut FABRIC_REPLICATOR_STATUS_QUERY_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { + pub ReplicaStatus: *mut FABRIC_REPLICA_STATUS_QUERY_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind + for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 +{ + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { + pub DeployedServiceReplica: *mut FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind + for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 +{ + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_DETAIL_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub ReplicaRole: FABRIC_REPLICA_ROLE, + pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, + pub Address: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { + pub ServiceManifestName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { + pub HostProcessId: i64, + pub ReconfigurationInformation: *mut FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub InstanceId: i64, + pub CurrentServiceOperation: FABRIC_QUERY_SERVICE_OPERATION_NAME, + pub CurrentServiceOperationStartTimeUtc: windows::Win32::Foundation::FILETIME, + pub ReportedLoad: *mut FABRIC_LOAD_METRIC_REPORT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind + for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM +{ + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { + pub DeployedServiceReplica: *mut FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind + for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 +{ + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_DETAIL_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub InstanceId: i64, + pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, + pub Address: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { + pub ServiceManifestName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { + pub HostProcessId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DEPLOYED_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { + pub IsolationPolicyType: FABRIC_DLLHOST_ISOLATION_POLICY, + pub HostedDlls: *mut FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DLLHOST_ENTRY_POINT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { + pub Kind: FABRIC_DLLHOST_HOSTED_DLL_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *mut FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DLLHOST_HOSTED_DLL_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { + pub AssemblyName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DLLHOST_HOSTED_MANAGED_DLL_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { + pub DllName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_DLLHOST_HOSTED_UNMANAGED_DLL_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Protocol: windows_core::PCWSTR, + pub Type: windows_core::PCWSTR, + pub Port: u32, + pub CertificateName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { + pub UriScheme: windows_core::PCWSTR, + pub PathSuffix: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { + pub CodePackageName: windows_core::PCWSTR, + pub IpAddressOrFqdn: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { + pub EntityKind: FABRIC_HEALTH_ENTITY_KIND, + pub HealthStateCount: *const FABRIC_HEALTH_STATE_COUNT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EPOCH { + pub DataLossNumber: i64, + pub ConfigurationNumber: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EPOCH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EPOCH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS { + pub DbFolderPath: windows_core::PCWSTR, + pub LogFileSizeInKB: i32, + pub LogBufferSizeInKB: i32, + pub MaxCursors: i32, + pub MaxVerPages: i32, + pub MaxAsyncCommitDelayInMilliseconds: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { + pub EnableIncrementalBackup: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { + pub MaxCacheSizeInMB: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { + pub MaxDefragFrequencyInMinutes: i32, + pub DefragThresholdInMB: i32, + pub DatabasePageSizeInKB: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { + pub CompactionThresholdInMB: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { + pub IntrinsicValueThresholdInBytes: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX5 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { + pub EnableOverwriteOnUpdate: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ESE_LOCAL_STORE_SETTINGS_EX6 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EVENT_CONTEXT_MAP { + pub Count: u32, + pub Items: *mut FABRIC_EVENT_CONTEXT_MAP_ITEM, +} +impl windows_core::TypeKind for FABRIC_EVENT_CONTEXT_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EVENT_CONTEXT_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EVENT_CONTEXT_MAP_ITEM { + pub Key: windows_core::PCWSTR, + pub Value: windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_EVENT_CONTEXT_MAP_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EVENT_CONTEXT_MAP_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EVENT_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvent: *const FABRIC_HEALTH_EVENT, + pub ConsiderWarningAsError: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EVENT_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EVENT_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EXECUTING_FAULTS_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub Faults: *const FABRIC_STRING_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EXECUTING_FAULTS_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EXECUTING_FAULTS_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { + pub Program: windows_core::PCWSTR, + pub Arguments: windows_core::PCWSTR, + pub WorkingFolder: FABRIC_EXEHOST_WORKING_FOLDER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { + pub PeriodicIntervalInSeconds: u32, + pub ConsoleRedirectionEnabled: windows::Win32::Foundation::BOOLEAN, + pub ConsoleRedirectionFileRetentionCount: u32, + pub ConsoleRedirectionFileMaxSizeInKb: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { + pub IsExternalExecutable: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EXEHOST_ENTRY_POINT_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub ApplicationPackageDownloadUri: windows_core::PCWSTR, + pub Async: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_EXTERNAL_STORE_PROVISION_APPLICATION_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_GATEWAY_INFORMATION { + pub NodeAddress: windows_core::PCWSTR, + pub NodeId: FABRIC_NODE_ID, + pub NodeInstanceId: u64, + pub NodeName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_GATEWAY_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_GATEWAY_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_GET_CHAOS_REPORT_DESCRIPTION { + pub Filter: *mut FABRIC_CHAOS_REPORT_FILTER, + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_GET_CHAOS_REPORT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_GET_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub IncludeValue: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_GET_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_GET_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVALUATION { + pub Kind: FABRIC_HEALTH_EVALUATION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVALUATION_LIST { + pub Count: u32, + pub Items: *const FABRIC_HEALTH_EVALUATION, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVALUATION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVALUATION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVENT { + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub SourceUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub LastModifiedUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub IsExpired: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVENTS_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVENTS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVENTS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVENT_EX1 { + pub LastOkTransitionAt: windows::Win32::Foundation::FILETIME, + pub LastWarningTransitionAt: windows::Win32::Foundation::FILETIME, + pub LastErrorTransitionAt: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVENT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVENT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_EVENT_LIST { + pub Count: u32, + pub Items: *const FABRIC_HEALTH_EVENT, +} +impl windows_core::TypeKind for FABRIC_HEALTH_EVENT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_EVENT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_INFORMATION { + pub SourceId: windows_core::PCWSTR, + pub Property: windows_core::PCWSTR, + pub TimeToLiveSeconds: u32, + pub State: FABRIC_HEALTH_STATE, + pub Description: windows_core::PCWSTR, + pub SequenceNumber: i64, + pub RemoveWhenExpired: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_REPORT { + pub Kind: FABRIC_HEALTH_REPORT_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_REPORT_SEND_OPTIONS { + pub Immediate: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_REPORT_SEND_OPTIONS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_REPORT_SEND_OPTIONS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_STATE_COUNT { + pub OkCount: u32, + pub WarningCount: u32, + pub ErrorCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_STATE_COUNT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_STATE_COUNT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_HEALTH_STATISTICS { + pub Count: u32, + pub Items: *const FABRIC_ENTITY_KIND_HEALTH_STATE_COUNT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_HEALTH_STATISTICS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_HEALTH_STATISTICS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_INT64_RANGE_PARTITION_INFORMATION { + pub Id: windows_core::GUID, + pub LowKey: i64, + pub HighKey: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_INT64_RANGE_PARTITION_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_INT64_RANGE_PARTITION_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_ITEM { + pub Metadata: *const FABRIC_KEY_VALUE_STORE_ITEM_METADATA, + pub Value: *mut u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_ITEM_METADATA { + pub Key: windows_core::PCWSTR, + pub ValueSizeInBytes: i32, + pub SequenceNumber: i64, + pub LastModifiedUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_ITEM_METADATA { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { + pub LastModifiedOnPrimaryUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_ITEM_METADATA_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { + pub CurrentPhase: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE, + pub State: FABRIC_KEY_VALUE_STORE_MIGRATION_STATE, + pub NextPhase: FABRIC_KEY_VALUE_STORE_MIGRATION_PHASE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { + pub TransactionDrainTimeoutInSeconds: u32, + pub SecondaryNotificationMode: FABRIC_KEY_VALUE_STORE_NOTIFICATION_MODE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { + pub EnableCopyNotificationPrefetch: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { + pub FullCopyMode: FABRIC_KEY_VALUE_STORE_FULL_COPY_MODE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { + pub LogTruncationIntervalInMinutes: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_REPLICA_SETTINGS_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { + pub InlineReopen: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { + pub EnableLsnCheck: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_RESTORE_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { + pub DatabaseRowCountEstimate: i64, + pub DatabaseLogicalSizeEstimate: i64, + pub CopyNotificationCurrentKeyFilter: windows_core::PCWSTR, + pub CopyNotificationCurrentProgress: i64, + pub StatusDetails: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { + pub ProviderKind: FABRIC_KEY_VALUE_STORE_PROVIDER_KIND, + pub MigrationStatus: *const FABRIC_KEY_VALUE_STORE_MIGRATION_QUERY_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_STATUS_QUERY_RESULT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { + pub SerializationBlockSize: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_KEY_VALUE_STORE_TRANSACTION_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOAD_METRIC { + pub Name: windows_core::PCWSTR, + pub Value: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_LOAD_METRIC_INFORMATION { + pub Name: windows_core::PCWSTR, + pub IsBalancedBefore: windows::Win32::Foundation::BOOLEAN, + pub IsBalancedAfter: windows::Win32::Foundation::BOOLEAN, + pub DeviationBefore: f64, + pub DeviationAfter: f64, + pub BalancingThreshold: f64, + pub Action: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOAD_METRIC_INFORMATION_EX1 { + pub ActivityThreshold: u32, + pub ClusterCapacity: i64, + pub ClusterLoad: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_LOAD_METRIC_INFORMATION_EX2 { + pub RemainingUnbufferedCapacity: i64, + pub NodeBufferPercentage: f64, + pub BufferedCapacity: i64, + pub RemainingBufferedCapacity: i64, + pub IsClusterCapacityViolation: windows::Win32::Foundation::BOOLEAN, + pub MinNodeLoadValue: i64, + pub MinNodeLoadNodeId: FABRIC_NODE_ID, + pub MaxNodeLoadValue: i64, + pub MaxNodeLoadNodeId: FABRIC_NODE_ID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_LOAD_METRIC_INFORMATION_EX3 { + pub CurrentClusterLoad: f64, + pub BufferedClusterCapacityRemaining: f64, + pub ClusterCapacityRemaining: f64, + pub MaximumNodeLoad: f64, + pub MinimumNodeLoad: f64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_INFORMATION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOAD_METRIC_INFORMATION_LIST { + pub Count: u32, + pub Items: *mut FABRIC_LOAD_METRIC_INFORMATION, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_INFORMATION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_INFORMATION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOAD_METRIC_REPORT { + pub Name: windows_core::PCWSTR, + pub Value: u32, + pub LastReportedUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_LOAD_METRIC_REPORT_EX1 { + pub CurrentValue: f64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_REPORT_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOAD_METRIC_REPORT_LIST { + pub Count: u32, + pub Items: *mut FABRIC_LOAD_METRIC_REPORT, +} +impl windows_core::TypeKind for FABRIC_LOAD_METRIC_REPORT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOAD_METRIC_REPORT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { + pub NetworkAddressPrefix: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOCAL_NETWORK_DESCRIPTION { + pub NetworkConfiguration: *const FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOCAL_NETWORK_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_LOCAL_NETWORK_INFORMATION { + pub NetworkName: windows_core::PCWSTR, + pub NetworkConfiguration: *const FABRIC_LOCAL_NETWORK_CONFIGURATION_DESCRIPTION, + pub NetworkStatus: FABRIC_NETWORK_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_LOCAL_NETWORK_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_LOCAL_NETWORK_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION2 { + pub Kind: FABRIC_MOVE_PRIMARY_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_PRIMARY_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { + pub NodeName: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub IgnoreConstraints: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_PRIMARY_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_PRIMARY_RESULT { + pub NodeName: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_PRIMARY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_PRIMARY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION2 { + pub Kind: FABRIC_MOVE_SECONDARY_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_SECONDARY_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { + pub CurrentNodeName: windows_core::PCWSTR, + pub NewNodeName: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub IgnoreConstraints: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_SECONDARY_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_MOVE_SECONDARY_RESULT { + pub CurrentNodeName: windows_core::PCWSTR, + pub NewNodeName: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_MOVE_SECONDARY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_MOVE_SECONDARY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_PARTITION_INFORMATION { + pub Id: windows_core::GUID, + pub Name: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_PARTITION_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_PARTITION_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { + pub PartitionCount: i32, + pub Names: *const windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_PARTITION_SCHEME_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_PROPERTY { + pub Metadata: *const FABRIC_NAMED_PROPERTY_METADATA, + pub Value: *mut u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_PROPERTY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_PROPERTY_METADATA { + pub PropertyName: windows_core::PCWSTR, + pub TypeId: FABRIC_PROPERTY_TYPE_ID, + pub ValueSize: i32, + pub SequenceNumber: i64, + pub LastModifiedUtc: windows::Win32::Foundation::FILETIME, + pub Name: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY_METADATA { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_PROPERTY_METADATA { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_PROPERTY_METADATA_EX1 { + pub CustomTypeId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_PROPERTY_METADATA_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_PROPERTY_METADATA_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NAMED_REPARTITION_DESCRIPTION { + pub NamesToAddCount: u32, + pub NamesToAdd: *const windows_core::PCWSTR, + pub NamesToRemoveCount: u32, + pub NamesToRemove: *const windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NAMED_REPARTITION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NAMED_REPARTITION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { + pub NetworkName: windows_core::PCWSTR, + pub ApplicationNameFilter: FABRIC_URI, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_APPLICATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { + pub ApplicationName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_NETWORK_APPLICATION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_APPLICATION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_DESCRIPTION { + pub NetworkType: FABRIC_NETWORK_TYPE, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_INFORMATION { + pub NetworkType: FABRIC_NETWORK_TYPE, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { + pub NetworkName: windows_core::PCWSTR, + pub NodeNameFilter: windows_core::PCWSTR, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_NODE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { + pub NodeName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_NETWORK_NODE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_NODE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_QUERY_DESCRIPTION { + pub NetworkNameFilter: windows_core::PCWSTR, + pub NetworkStatusFilter: u32, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NETWORK_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NETWORK_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_NETWORK_INFORMATION, +} +impl windows_core::TypeKind for FABRIC_NETWORK_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NETWORK_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODES_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyNodes: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODES_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODES_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_CONTEXT { + pub NodeName: windows_core::PCWSTR, + pub NodeType: windows_core::PCWSTR, + pub IPAddressOrFQDN: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub NodeId: FABRIC_NODE_ID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_CONTEXT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_CONTEXT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { + pub EffectiveIntent: FABRIC_NODE_DEACTIVATION_INTENT, + pub Status: FABRIC_NODE_DEACTIVATION_STATUS, + pub Tasks: *const FABRIC_NODE_DEACTIVATION_TASK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { + pub PendingSafetyChecks: *const FABRIC_SAFETY_CHECK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_DEACTIVATION_TASK { + pub TaskId: *const FABRIC_NODE_DEACTIVATION_TASK_ID, + pub Intent: FABRIC_NODE_DEACTIVATION_INTENT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_DEACTIVATION_TASK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_DEACTIVATION_TASK_ID { + pub Id: windows_core::PCWSTR, + pub Type: FABRIC_NODE_DEACTIVATION_TASK_TYPE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_ID { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_DEACTIVATION_TASK_ID { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_DEACTIVATION_TASK_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_DEACTIVATION_TASK, +} +impl windows_core::TypeKind for FABRIC_NODE_DEACTIVATION_TASK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_DEACTIVATION_TASK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH { + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub HealthPolicy: *const FABRIC_CLUSTER_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_REPORT { + pub NodeName: windows_core::PCWSTR, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE { + pub NodeName: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE_CHUNK { + pub NodeName: windows_core::PCWSTR, + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub NodeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_NODE_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_ID { + pub Low: u64, + pub High: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_ID { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_ID { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_LOAD_INFORMATION { + pub NodeName: windows_core::PCWSTR, + pub NodeLoadMetricInformation: *const FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_INFORMATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION { + pub Name: windows_core::PCWSTR, + pub NodeCapacity: i64, + pub NodeLoad: i64, + pub NodeRemainingCapacity: i64, + pub IsCapacityViolation: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { + pub NodeBufferedCapacity: i64, + pub NodeRemainingBufferedCapacity: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { + pub CurrentNodeLoad: f64, + pub NodeCapacityRemaining: f64, + pub BufferedNodeCapacityRemaining: f64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { + pub Count: u32, + pub Items: *mut FABRIC_NODE_LOAD_METRIC_INFORMATION, +} +impl windows_core::TypeKind for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_LOAD_METRIC_INFORMATION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_DESCRIPTION { + pub NodeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX1 { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX2 { + pub NodeStatusFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_DESCRIPTION_EX3 { + pub MaxResults: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM { + pub NodeName: windows_core::PCWSTR, + pub IpAddressOrFQDN: windows_core::PCWSTR, + pub NodeType: windows_core::PCWSTR, + pub CodeVersion: windows_core::PCWSTR, + pub ConfigVersion: windows_core::PCWSTR, + pub NodeStatus: FABRIC_QUERY_NODE_STATUS, + pub NodeUpTimeInSeconds: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub IsSeedNode: windows::Win32::Foundation::BOOLEAN, + pub UpgradeDomain: windows_core::PCWSTR, + pub FaultDomain: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { + pub NodeId: FABRIC_NODE_ID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { + pub NodeInstanceId: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { + pub NodeDeactivationInfo: *const FABRIC_NODE_DEACTIVATION_QUERY_RESULT_ITEM, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { + pub IsStopped: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { + pub NodeDownTimeInSeconds: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX5 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { + pub NodeUpAt: windows::Win32::Foundation::FILETIME, + pub NodeDownAt: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_ITEM_EX6 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_NODE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_RESULT { + pub NodeName: windows_core::PCWSTR, + pub NodeInstance: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_START_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_START_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_START_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_STOP_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub StopDurationInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_STOP_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_STOP_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_TRANSITION_DESCRIPTION { + pub NodeTransitionType: FABRIC_NODE_TRANSITION_TYPE, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_TRANSITION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_TRANSITION_PROGRESS { + pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, + pub Result: *mut FABRIC_NODE_TRANSITION_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_TRANSITION_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_TRANSITION_RESULT { + pub ErrorCode: windows_core::HRESULT, + pub NodeResult: *mut FABRIC_NODE_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_TRANSITION_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_TRANSITION_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_UPGRADE_PROGRESS { + pub NodeName: windows_core::PCWSTR, + pub UpgradePhase: FABRIC_NODE_UPGRADE_PHASE, + pub PendingSafetyChecks: *const FABRIC_UPGRADE_SAFETY_CHECK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_UPGRADE_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_NODE_UPGRADE_PROGRESS_LIST { + pub Count: u32, + pub Items: *const FABRIC_NODE_UPGRADE_PROGRESS, +} +impl windows_core::TypeKind for FABRIC_NODE_UPGRADE_PROGRESS_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_NODE_UPGRADE_PROGRESS_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_OPERATION_DATA_BUFFER { + pub BufferSize: u32, + pub Buffer: *mut u8, +} +impl windows_core::TypeKind for FABRIC_OPERATION_DATA_BUFFER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_OPERATION_DATA_BUFFER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_OPERATION_ID { + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_OPERATION_ID { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_OPERATION_ID { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_OPERATION_METADATA { + pub Type: FABRIC_OPERATION_TYPE, + pub SequenceNumber: i64, + pub AtomicGroupId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_OPERATION_METADATA { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_OPERATION_METADATA { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { + pub UpgradeState: FABRIC_UPGRADE_STATE, + pub ProgressStatus: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { + pub ConfigVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { + pub Details: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ORCHESTRATION_UPGRADE_PROGRESS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PACKAGE_SHARING_POLICY { + pub PackageName: windows_core::PCWSTR, + pub Scope: FABRIC_PACKAGE_SHARING_POLICY_SCOPE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PACKAGE_SHARING_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PACKAGE_SHARING_POLICY_LIST { + pub Count: u32, + pub Items: *const FABRIC_PACKAGE_SHARING_POLICY, +} +impl windows_core::TypeKind for FABRIC_PACKAGE_SHARING_POLICY_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PACKAGE_SHARING_POLICY_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationNameFilter: FABRIC_URI, + pub IncludeHealthState: windows::Win32::Foundation::BOOLEAN, + pub PagingDescription: *const FABRIC_QUERY_PAGING_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PAGED_DEPLOYED_APPLICATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PAGING_STATUS { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PAGING_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PAGING_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITIONS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyPartitionsPerService: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITIONS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITIONS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_DATA_LOSS_PROGRESS { + pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, + pub Result: *mut FABRIC_PARTITION_DATA_LOSS_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_DATA_LOSS_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_DATA_LOSS_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_DATA_LOSS_RESULT { + pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, + pub ErrorCode: windows_core::HRESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_DATA_LOSS_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_DATA_LOSS_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH { + pub PartitionId: windows_core::GUID, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub ReplicaHealthStates: *const FABRIC_REPLICA_HEALTH_STATE_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_EX2 { + pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub ReplicasFilter: *const FABRIC_REPLICA_HEALTH_STATES_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { + pub HealthStatisticsFilter: *const FABRIC_PARTITION_HEALTH_STATISTICS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_REPORT { + pub PartitionId: windows_core::GUID, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE { + pub PartitionId: windows_core::GUID, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE_CHUNK { + pub PartitionId: windows_core::GUID, + pub HealthState: FABRIC_HEALTH_STATE, + pub ReplicaHealthStateChunks: *const FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_PARTITION_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub PartitionIdFilter: windows_core::GUID, + pub ReplicaFilters: *const FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_PARTITION_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_PARTITION_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { + pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_HEALTH_STATISTICS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_LOAD_INFORMATION { + pub PartitionId: windows_core::GUID, + pub PrimaryLoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, + pub SecondaryLoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_LOAD_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_LOAD_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_LOAD_INFORMATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { + pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, + pub Result: *mut FABRIC_PARTITION_QUORUM_LOSS_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_QUORUM_LOSS_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_QUORUM_LOSS_RESULT { + pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, + pub ErrorCode: windows_core::HRESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_QUORUM_LOSS_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_QUORUM_LOSS_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_RESTART_PROGRESS { + pub State: FABRIC_TEST_COMMAND_PROGRESS_STATE, + pub Result: *mut FABRIC_PARTITION_RESTART_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_RESTART_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_RESTART_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_RESTART_RESULT { + pub SelectedPartition: *mut FABRIC_SELECTED_PARTITION, + pub ErrorCode: windows_core::HRESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_RESTART_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_RESTART_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_SAFETY_CHECK { + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PARTITION_SELECTOR { + pub ServiceName: FABRIC_URI, + pub PartitionSelectorType: FABRIC_PARTITION_SELECTOR_TYPE, + pub PartitionKey: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PARTITION_SELECTOR { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PARTITION_SELECTOR { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { + pub InvalidFaultDomain: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PLACEMENT_POLICY_INVALID_DOMAIN_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PLACEMENT_POLICY_NONPARTIALLY_PLACE_SERVICE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { + pub PreferredPrimaryFaultDomain: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PLACEMENT_POLICY_PREFERRED_PRIMARY_DOMAIN_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { + pub RequiredFaultDomain: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PLACEMENT_POLICY_REQUIRED_DOMAIN_DISTRIBUTION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { + pub ReplicationQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, + pub RemoteReplicators: *mut FABRIC_REMOTE_REPLICATOR_STATUS_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PRIMARY_REPLICATOR_STATUS_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROPERTY_BATCH_OPERATION { + pub Kind: FABRIC_PROPERTY_BATCH_OPERATION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROPERTY_BATCH_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROPERTY_BATCH_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { + pub CodeVersionFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { + pub CodeVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CODE_VERSION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { + pub ConfigVersionFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { + pub ConfigVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISIONED_CONFIG_VERSION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { + pub BuildPath: windows_core::PCWSTR, + pub Async: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { + pub Kind: FABRIC_PROVISION_APPLICATION_TYPE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_BASE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { + pub ApplicationPackageCleanupPolicy: FABRIC_APPLICATION_PACKAGE_CLEANUP_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PROVISION_APPLICATION_TYPE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, + pub PropertyValue: *mut core::ffi::c_void, + pub PropertyCustomTypeId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PUT_CUSTOM_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_PUT_PROPERTY_OPERATION { + pub PropertyName: windows_core::PCWSTR, + pub PropertyTypeId: FABRIC_PROPERTY_TYPE_ID, + pub PropertyValue: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_PUT_PROPERTY_OPERATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_PUT_PROPERTY_OPERATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_QUERY_PAGING_DESCRIPTION { + pub ContinuationToken: windows_core::PCWSTR, + pub MaxResults: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_QUERY_PAGING_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_QUERY_PAGING_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { + pub PreviousConfigurationRole: FABRIC_REPLICA_ROLE, + pub ReconfigurationPhase: FABRIC_RECONFIGURATION_PHASE, + pub ReconfigurationType: FABRIC_RECONFIGURATION_TYPE, + pub ReconfigurationStartTimeUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RECONFIGURATION_INFORMATION_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { + pub AverageReceiveDurationMilliseconds: i64, + pub AverageApplyDurationMilliseconds: i64, + pub NotReceivedCount: i64, + pub ReceivedAndNotAppliedCount: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { + pub CopyStreamAcknowledgementDetails: *mut FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL, + pub ReplicationStreamAcknowledgementDetails: + *mut FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_DETAIL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOTE_REPLICATOR_ACKNOWLEDGEMENT_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOTE_REPLICATOR_STATUS { + pub ReplicaId: i64, + pub LastAcknowledgementProcessedTimeUtc: windows::Win32::Foundation::FILETIME, + pub LastReceivedReplicationSequenceNumber: i64, + pub LastAppliedReplicationSequenceNumber: i64, + pub IsInBuild: windows::Win32::Foundation::BOOLEAN, + pub LastReceivedCopySequenceNumber: i64, + pub LastAppliedCopySequenceNumber: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOTE_REPLICATOR_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOTE_REPLICATOR_STATUS_LIST { + pub Count: u32, + pub Items: *mut FABRIC_REMOTE_REPLICATOR_STATUS, +} +impl windows_core::TypeKind for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOTE_REPLICATOR_STATUS_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOVE_REPLICA_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REMOVE_REPLICA_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOVE_REPLICA_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { + pub ForceRemove: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REMOVE_REPLICA_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_APPROVE_DESCRIPTION { + pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub RepairTaskId: windows_core::PCWSTR, + pub Version: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_APPROVE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_APPROVE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_CANCEL_DESCRIPTION { + pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub RepairTaskId: windows_core::PCWSTR, + pub Version: i64, + pub RequestAbort: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_CANCEL_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_CANCEL_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_DELETE_DESCRIPTION { + pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub RepairTaskId: windows_core::PCWSTR, + pub Version: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_DELETE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_DELETE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_EXECUTOR_STATE { + pub Executor: windows_core::PCWSTR, + pub ExecutorData: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_EXECUTOR_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_EXECUTOR_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_IMPACT_DESCRIPTION { + pub Kind: FABRIC_REPAIR_IMPACT_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_IMPACT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_IMPACT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_NODE_IMPACT { + pub NodeName: windows_core::PCWSTR, + pub ImpactLevel: FABRIC_REPAIR_NODE_IMPACT_LEVEL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_NODE_IMPACT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_NODE_IMPACT_LIST { + pub Count: u32, + pub Items: *const FABRIC_REPAIR_NODE_IMPACT, +} +impl windows_core::TypeKind for FABRIC_REPAIR_NODE_IMPACT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_NODE_IMPACT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_RESULT_DESCRIPTION { + pub ResultStatus: FABRIC_REPAIR_TASK_RESULT, + pub ResultCode: windows_core::HRESULT, + pub ResultDetails: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_RESULT_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_RESULT_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_SCOPE_IDENTIFIER { + pub Kind: FABRIC_REPAIR_SCOPE_IDENTIFIER_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_SCOPE_IDENTIFIER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_SCOPE_IDENTIFIER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TARGET_DESCRIPTION { + pub Kind: FABRIC_REPAIR_TARGET_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TARGET_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TARGET_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK { + pub Scope: *const FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub TaskId: windows_core::PCWSTR, + pub Version: i64, + pub Description: windows_core::PCWSTR, + pub State: FABRIC_REPAIR_TASK_STATE, + pub Flags: u32, + pub Action: windows_core::PCWSTR, + pub Target: *const FABRIC_REPAIR_TARGET_DESCRIPTION, + pub ExecutorState: *mut FABRIC_REPAIR_EXECUTOR_STATE, + pub Impact: *mut FABRIC_REPAIR_IMPACT_DESCRIPTION, + pub Result: *mut FABRIC_REPAIR_RESULT_DESCRIPTION, + pub History: *const FABRIC_REPAIR_TASK_HISTORY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_EX1 { + pub PerformPreparingHealthCheck: windows::Win32::Foundation::BOOLEAN, + pub PerformRestoringHealthCheck: windows::Win32::Foundation::BOOLEAN, + pub PreparingHealthCheckState: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE, + pub RestoringHealthCheckState: FABRIC_REPAIR_TASK_HEALTH_CHECK_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { + pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub RepairTaskId: windows_core::PCWSTR, + pub Version: i64, + pub Flags: u32, + pub PerformPreparingHealthCheck: windows::Win32::Foundation::BOOLEAN, + pub PerformRestoringHealthCheck: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_HEALTH_POLICY_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_HISTORY { + pub CreatedUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub ClaimedUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub PreparingUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub ApprovedUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub ExecutingUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub RestoringUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub CompletedUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HISTORY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_HISTORY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_HISTORY_EX1 { + pub PreparingHealthCheckStartUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub PreparingHealthCheckEndUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub RestoringHealthCheckStartUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub RestoringHealthCheckEndUtcTimestamp: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_HISTORY_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_HISTORY_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_LIST { + pub Count: u32, + pub Items: *mut FABRIC_REPAIR_TASK, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { + pub Scope: *mut FABRIC_REPAIR_SCOPE_IDENTIFIER, + pub TaskIdFilter: windows_core::PCWSTR, + pub StateFilter: u32, + pub ExecutorFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPAIR_TASK_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICAS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyReplicasPerPartition: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICAS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICAS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_QUEUE_STATUS { + pub QueueUtilizationPercentage: u32, + pub QueueMemorySize: i64, + pub FirstSequenceNumber: i64, + pub CompletedSequenceNumber: i64, + pub CommittedSequenceNumber: i64, + pub LastSequenceNumber: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_QUEUE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_QUEUE_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_SETTINGS { + pub Flags: u32, + pub RetryIntervalMilliseconds: u32, + pub BatchAcknowledgementIntervalMilliseconds: u32, + pub ReplicatorAddress: windows_core::PCWSTR, + pub RequireServiceAck: windows::Win32::Foundation::BOOLEAN, + pub InitialReplicationQueueSize: u32, + pub MaxReplicationQueueSize: u32, + pub InitialCopyQueueSize: u32, + pub MaxCopyQueueSize: u32, + pub SecurityCredentials: *const FABRIC_SECURITY_CREDENTIALS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_SETTINGS_EX1 { + pub MaxReplicationQueueMemorySize: u32, + pub SecondaryClearAcknowledgedOperations: windows::Win32::Foundation::BOOLEAN, + pub MaxReplicationMessageSize: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_SETTINGS_EX2 { + pub UseStreamFaultsAndEndOfStreamOperationAck: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_SETTINGS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_SETTINGS_EX3 { + pub InitialPrimaryReplicationQueueSize: u32, + pub MaxPrimaryReplicationQueueSize: u32, + pub MaxPrimaryReplicationQueueMemorySize: u32, + pub InitialSecondaryReplicationQueueSize: u32, + pub MaxSecondaryReplicationQueueSize: u32, + pub MaxSecondaryReplicationQueueMemorySize: u32, + pub PrimaryWaitForPendingQuorumsTimeoutMilliseconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_SETTINGS_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_SETTINGS_EX4 { + pub ReplicatorListenAddress: windows_core::PCWSTR, + pub ReplicatorPublishAddress: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_SETTINGS_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_SETTINGS_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICATOR_STATUS_QUERY_RESULT { + pub Role: FABRIC_REPLICA_ROLE, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICATOR_STATUS_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE_CHUNK { + pub ReplicaOrInstanceId: i64, + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_REPLICA_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub ReplicaOrInstanceIdFilter: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_REPLICA_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_REPLICA_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_REPLICA_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_INFORMATION { + pub Id: i64, + pub Role: FABRIC_REPLICA_ROLE, + pub Status: FABRIC_REPLICA_STATUS, + pub ReplicatorAddress: windows_core::PCWSTR, + pub CurrentProgress: i64, + pub CatchUpCapability: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_INFORMATION_EX1 { + pub MustCatchup: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_INFORMATION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_INFORMATION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_LOAD_INFORMATION { + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub LoadMetricReports: *mut FABRIC_LOAD_METRIC_REPORT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_LOAD_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_LOAD_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_LOAD_INFORMATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_SET_CONFIGURATION { + pub ReplicaCount: u32, + pub Replicas: *const FABRIC_REPLICA_INFORMATION, + pub WriteQuorum: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_SET_CONFIGURATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_SET_CONFIGURATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_REPLICA_STATUS_QUERY_RESULT { + pub Kind: FABRIC_SERVICE_REPLICA_KIND, + pub Value: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_REPLICA_STATUS_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_REPLICA_STATUS_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESOLVED_SERVICE_ENDPOINT { + pub Address: windows_core::PCWSTR, + pub Role: FABRIC_SERVICE_ENDPOINT_ROLE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESOLVED_SERVICE_ENDPOINT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESOLVED_SERVICE_ENDPOINT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESOLVED_SERVICE_PARTITION { + pub Info: FABRIC_SERVICE_PARTITION_INFORMATION, + pub EndpointCount: u32, + pub Endpoints: *mut FABRIC_RESOLVED_SERVICE_ENDPOINT, + pub ServiceName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESOLVED_SERVICE_PARTITION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESOLVED_SERVICE_PARTITION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub CodePackageInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { + pub Kind: FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { + pub NodeName: windows_core::PCWSTR, + pub ApplicationName: FABRIC_URI, + pub ServiceManifestName: windows_core::PCWSTR, + pub CodePackageName: windows_core::PCWSTR, + pub CodePackageInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { + pub ServicePackageActivationId: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind + for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 +{ + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_DEPLOYED_CODE_PACKAGE_DESCRIPTION_USING_NODE_NAME_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_NODE_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_NODE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_NODE_DESCRIPTION2 { + pub Kind: FABRIC_RESTART_NODE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_NODE_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_NODE_DESCRIPTION_EX1 { + pub CreateFabricDump: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_NODE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub ShouldCreateFabricDump: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_NODE_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_NODE_STATUS { + pub NodeResult: *mut FABRIC_NODE_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_NODE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_NODE_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RESTART_REPLICA_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub PartitionId: windows_core::GUID, + pub ReplicaOrInstanceId: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RESTART_REPLICA_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RESTART_REPLICA_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { + pub FailureAction: FABRIC_MONITORED_UPGRADE_FAILURE_ACTION, + pub HealthCheckWaitDurationInSeconds: u32, + pub HealthCheckRetryTimeoutInSeconds: u32, + pub UpgradeTimeoutInSeconds: u32, + pub UpgradeDomainTimeoutInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { + pub HealthCheckStableDurationInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_MONITORING_POLICY_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { + pub RollingUpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, + pub ForceRestart: windows::Win32::Foundation::BOOLEAN, + pub UpgradeReplicaSetCheckTimeoutInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { + pub MonitoringPolicy: *const FABRIC_ROLLING_UPGRADE_MONITORING_POLICY, + pub HealthPolicy: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { + pub EnableDeltaHealthEvaluation: windows::Win32::Foundation::BOOLEAN, + pub UpgradeHealthPolicy: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { + pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_ROLLING_UPGRADE_POLICY_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_RUNAS_POLICY_DESCRIPTION { + pub UserName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_RUNAS_POLICY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_RUNAS_POLICY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SAFETY_CHECK { + pub Kind: FABRIC_SAFETY_CHECK_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SAFETY_CHECK_LIST { + pub Count: u32, + pub Items: *const FABRIC_SAFETY_CHECK, +} +impl windows_core::TypeKind for FABRIC_SAFETY_CHECK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SAFETY_CHECK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SCALING_MECHANISM { + pub ScalingMechanismKind: FABRIC_SCALING_MECHANISM_KIND, + pub ScalingMechanismDescription: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_MECHANISM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { + pub MaximumPartitionCount: i32, + pub MinimumPartitionCount: i32, + pub ScaleIncrement: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_MECHANISM_ADD_REMOVE_INCREMENTAL_NAMED_PARTITION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { + pub MaximumInstanceCount: i32, + pub MinimumInstanceCount: i32, + pub ScaleIncrement: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_MECHANISM_PARTITION_INSTANCE_COUNT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SCALING_TRIGGER { + pub ScalingTriggerKind: FABRIC_SCALING_TRIGGER_KIND, + pub ScalingTriggerDescription: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_TRIGGER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { + pub MetricName: windows_core::PCWSTR, + pub LowerLoadThreshold: f64, + pub UpperLoadThreshold: f64, + pub ScaleIntervalInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_PARTITION_LOAD { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, PartialEq)] +pub struct FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { + pub MetricName: windows_core::PCWSTR, + pub LowerLoadThreshold: f64, + pub UpperLoadThreshold: f64, + pub ScaleIntervalInSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { + pub UseOnlyPrimaryLoad: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SCALING_TRIGGER_AVERAGE_SERVICE_LOAD_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { + pub ReplicationQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, + pub LastReplicationOperationReceivedTimeUtc: windows::Win32::Foundation::FILETIME, + pub IsInBuild: windows::Win32::Foundation::BOOLEAN, + pub CopyQueueStatus: *mut FABRIC_REPLICATOR_QUEUE_STATUS, + pub LastCopyOperationReceivedTimeUtc: windows::Win32::Foundation::FILETIME, + pub LastAcknowledgementSentTimeUtc: windows::Win32::Foundation::FILETIME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECONDARY_REPLICATOR_STATUS_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECRET { + pub Name: windows_core::PCWSTR, + pub Version: windows_core::PCWSTR, + pub Value: windows_core::PCWSTR, + pub Kind: windows_core::PCWSTR, + pub ContentType: windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_SECRET { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECRET { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECRET_LIST { + pub Count: u32, + pub Items: *mut FABRIC_SECRET, +} +impl windows_core::TypeKind for FABRIC_SECRET_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECRET_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECRET_REFERENCE { + pub Name: windows_core::PCWSTR, + pub Version: windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_SECRET_REFERENCE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECRET_REFERENCE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECRET_REFERENCE_LIST { + pub Count: u32, + pub Items: *mut FABRIC_SECRET_REFERENCE, +} +impl windows_core::TypeKind for FABRIC_SECRET_REFERENCE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECRET_REFERENCE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECURITY_CREDENTIALS { + pub Kind: FABRIC_SECURITY_CREDENTIAL_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SECURITY_CREDENTIALS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECURITY_CREDENTIALS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECURITY_GROUP_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Sid: windows_core::PCWSTR, + pub DomainGroupMembers: *const FABRIC_STRING_LIST, + pub SystemGroupMembers: *const FABRIC_STRING_LIST, + pub DomainUserMembers: *const FABRIC_STRING_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SECURITY_GROUP_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECURITY_GROUP_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SECURITY_GROUP_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECURITY_GROUP_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECURITY_USER_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Sid: windows_core::PCWSTR, + pub ParentSystemGroups: *const FABRIC_STRING_LIST, + pub ParentApplicationGroups: *const FABRIC_STRING_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SECURITY_USER_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECURITY_USER_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SECURITY_USER_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SECURITY_USER_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SECURITY_USER_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SECURITY_USER_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SEED_NODE_SAFETY_CHECK { + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SEED_NODE_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SEED_NODE_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SELECTED_PARTITION { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SELECTED_PARTITION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SELECTED_PARTITION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICES_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub ServiceTypeName: windows_core::PCWSTR, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyServices: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICES_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICES_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_CORRELATION_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub Scheme: FABRIC_SERVICE_CORRELATION_SCHEME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_CORRELATION_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_CORRELATION_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_DESCRIPTION { + pub Kind: FABRIC_SERVICE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceName: FABRIC_URI, + pub ServiceDnsName: windows_core::PCWSTR, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, + pub InitializationDataSize: u32, + pub InitializationData: *mut u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_FROM_TEMPLATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_DESCRIPTION { + pub Description: *mut FABRIC_SERVICE_DESCRIPTION, + pub MemberCount: u32, + pub MemberDescriptions: *mut FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, + pub InitializationDataSize: u32, + pub InitializationData: *mut u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_FROM_TEMPLATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { + pub ServiceType: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub InitializationDataSize: u32, + pub InitializationData: *const u8, + pub MetricCount: u32, + pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { + pub ServiceType: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceNameFilter: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub Members: *mut FABRIC_SERVICE_GROUP_MEMBER_MEMBER_QUERY_RESULT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub ServiceGroupTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { + pub ServiceGroupMemberTypeDescription: *mut FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub ServiceManifestName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_MEMBER_TYPE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { + pub Description: *const FABRIC_SERVICE_TYPE_DESCRIPTION, + pub Members: *const FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST, + pub UseImplicitFactory: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_TYPE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { + pub ServiceTypeName: windows_core::PCWSTR, + pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_TYPE_MEMBER_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { + pub Description: *mut FABRIC_SERVICE_UPDATE_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_GROUP_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH { + pub ServiceName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub PartitionHealthStates: *const FABRIC_PARTITION_HEALTH_STATE_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub ServiceName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_EX2 { + pub HealthStatistics: *const FABRIC_HEALTH_STATISTICS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub HealthPolicy: *const FABRIC_APPLICATION_HEALTH_POLICY, + pub EventsFilter: *const FABRIC_HEALTH_EVENTS_FILTER, + pub PartitionsFilter: *const FABRIC_PARTITION_HEALTH_STATES_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { + pub HealthStatisticsFilter: *const FABRIC_SERVICE_HEALTH_STATISTICS_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_REPORT { + pub ServiceName: FABRIC_URI, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE { + pub ServiceName: FABRIC_URI, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATES_FILTER { + pub HealthStateFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATES_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATES_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE_CHUNK { + pub ServiceName: FABRIC_URI, + pub HealthState: FABRIC_HEALTH_STATE, + pub PartitionHealthStateChunks: *const FABRIC_PARTITION_HEALTH_STATE_CHUNK_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_CHUNK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE_CHUNK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_HEALTH_STATE_CHUNK, + pub TotalCount: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE_CHUNK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE_FILTER { + pub HealthStateFilter: u32, + pub ServiceNameFilter: FABRIC_URI, + pub PartitionFilters: *const FABRIC_PARTITION_HEALTH_STATE_FILTER_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_HEALTH_STATE_FILTER, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE_FILTER_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATE_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_HEALTH_STATE, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATE_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATE_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { + pub ExcludeHealthStatistics: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_HEALTH_STATISTICS_FILTER { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub Weight: FABRIC_SERVICE_LOAD_METRIC_WEIGHT, + pub PrimaryDefaultLoad: u32, + pub SecondaryDefaultLoad: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_NAME_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_NAME_QUERY_RESULT { + pub ServiceName: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_NAME_QUERY_RESULT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_NAME_QUERY_RESULT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_NOTIFICATION { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub EndpointCount: u32, + pub Endpoints: *mut FABRIC_RESOLVED_SERVICE_ENDPOINT, + pub PartitionInfo: *mut FABRIC_SERVICE_PARTITION_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_NOTIFICATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { + pub Name: FABRIC_URI, + pub Flags: FABRIC_SERVICE_NOTIFICATION_FILTER_FLAGS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_NOTIFICATION_FILTER_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PARTITION_INFORMATION { + pub Kind: FABRIC_SERVICE_PARTITION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PARTITION_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub PartitionIdFilter: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PARTITION_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_PARTITION_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PARTITION_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { + pub Type: FABRIC_PLACEMENT_POLICY_TYPE, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_PLACEMENT_POLICY_LIST { + pub PolicyCount: u32, + pub Policies: *mut FABRIC_SERVICE_PLACEMENT_POLICY_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_PLACEMENT_POLICY_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceNameFilter: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { + pub ServiceTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { + pub MaxResults: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_RESULT_ITEM { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { + pub PartitionId: windows_core::GUID, + pub ReplicaIdOrInstanceIdFilter: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { + pub ReplicaStatusFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { + pub ContinuationToken: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_REPLICA_QUERY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_REPLICA_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_REPLICA_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_SCALING_POLICY { + pub ServiceScalingPolicyTrigger: FABRIC_SCALING_TRIGGER, + pub ServiceScalingPolicyMechanism: FABRIC_SCALING_MECHANISM, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_SCALING_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_SCALING_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_DESCRIPTION { + pub Kind: FABRIC_SERVICE_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { + pub Name: windows_core::PCWSTR, + pub Value: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_TYPE_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY { + pub MaxPercentUnhealthyServices: u8, + pub MaxPercentUnhealthyPartitionsPerService: u8, + pub MaxPercentUnhealthyReplicasPerPartition: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { + pub Count: u32, + pub Items: *mut FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { + pub ServiceTypeName: windows_core::PCWSTR, + pub ServiceTypeHealthPolicy: *const FABRIC_SERVICE_TYPE_HEALTH_POLICY, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_HEALTH_POLICY_MAP_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub ServiceTypeNameFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { + pub ServiceTypeDescription: *mut FABRIC_SERVICE_TYPE_DESCRIPTION, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + pub ServiceManifestName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { + pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *const FABRIC_SERVICE_TYPE_QUERY_RESULT_ITEM, +} +impl windows_core::TypeKind for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_TYPE_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SERVICE_UPDATE_DESCRIPTION { + pub Kind: FABRIC_SERVICE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SERVICE_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SERVICE_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SINGLETON_PARTITION_INFORMATION { + pub Id: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SINGLETON_PARTITION_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SINGLETON_PARTITION_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STARTED_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STARTED_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STARTED_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub ClusterConfigPath: windows_core::PCWSTR, + pub RollbackOnFailure: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_APPROVED_UPGRADES_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_CHAOS_DESCRIPTION { + pub ChaosParameters: *mut FABRIC_CHAOS_PARAMETERS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_CHAOS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_CHAOS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_NODE_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub IPAddressOrFQDN: windows_core::PCWSTR, + pub ClusterConnectionPort: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_NODE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_NODE_DESCRIPTION2 { + pub Kind: FABRIC_START_NODE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_NODE_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub IPAddressOrFQDN: windows_core::PCWSTR, + pub ClusterConnectionPort: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_NODE_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_NODE_STATUS { + pub NodeResult: *mut FABRIC_NODE_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_NODE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_NODE_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, + pub DataLossMode: FABRIC_DATA_LOSS_MODE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_PARTITION_DATA_LOSS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, + pub QuorumLossMode: FABRIC_QUORUM_LOSS_MODE, + pub QuorumLossDurationInMilliSeconds: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_PARTITION_QUORUM_LOSS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_PARTITION_RESTART_DESCRIPTION { + pub OperationId: windows_core::GUID, + pub PartitionSelector: *mut FABRIC_PARTITION_SELECTOR, + pub RestartPartitionMode: FABRIC_RESTART_PARTITION_MODE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_PARTITION_RESTART_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_PARTITION_RESTART_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_UPGRADE_DESCRIPTION { + pub ClusterConfig: windows_core::PCWSTR, + pub HealthCheckRetryTimeoutInSeconds: u32, + pub HealthCheckWaitDurationInSeconds: u32, + pub HealthCheckStableDurationInSeconds: u32, + pub UpgradeDomainTimeoutInSeconds: u32, + pub UpgradeTimeoutInSeconds: u32, + pub MaxPercentUnhealthyApplications: u8, + pub MaxPercentUnhealthyNodes: u8, + pub MaxPercentDeltaUnhealthyNodes: u8, + pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_UPGRADE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_UPGRADE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_START_UPGRADE_DESCRIPTION_EX1 { + pub ApplicationHealthPolicyMap: *const FABRIC_APPLICATION_HEALTH_POLICY_MAP, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_START_UPGRADE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub InitializationDataSize: u32, + pub InitializationData: *mut u8, + pub PartitionScheme: FABRIC_PARTITION_SCHEME, + pub PartitionSchemeDescription: *mut core::ffi::c_void, + pub TargetReplicaSetSize: i32, + pub MinReplicaSetSize: i32, + pub PlacementConstraints: windows_core::PCWSTR, + pub CorrelationCount: u32, + pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, + pub MetricCount: u32, + pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, + pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub FailoverSettings: *mut FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { + pub IsDefaultMoveCostSpecified: windows::Win32::Foundation::BOOLEAN, + pub DefaultMoveCost: FABRIC_MOVE_COST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { + pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, + pub ServiceDnsName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { + pub ScalingPolicyCount: u32, + pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_DESCRIPTION_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { + pub Flags: u32, + pub ReplicaRestartWaitDurationSeconds: u32, + pub QuorumLossWaitDurationSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { + pub StandByReplicaKeepDurationSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_FAILOVER_SETTINGS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { + pub PartitionInformation: *const FABRIC_SERVICE_PARTITION_INFORMATION, + pub TargetReplicaSetSize: u32, + pub MinReplicaSetSize: u32, + pub HealthState: FABRIC_HEALTH_STATE, + pub PartitionStatus: FABRIC_QUERY_SERVICE_PARTITION_STATUS, + pub LastQuorumLossDurationInSeconds: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { + pub PrimaryEpoch: FABRIC_EPOCH, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_PARTITION_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { + pub ServiceStatus: FABRIC_QUERY_SERVICE_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { + pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { + pub PartitionId: windows_core::GUID, + pub ReplicaId: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_HEALTH_STATE_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + pub ReplicaId: i64, + pub ReplicaRole: FABRIC_REPLICA_ROLE, + pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub ReplicaAddress: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub LastInBuildDurationInSeconds: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_REPLICA_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { + pub ServiceTypeName: windows_core::PCWSTR, + pub PlacementConstraints: windows_core::PCWSTR, + pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, + pub Extensions: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST, + pub HasPersistedState: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_TYPE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { + pub Flags: u32, + pub TargetReplicaSetSize: i32, + pub ReplicaRestartWaitDurationSeconds: u32, + pub QuorumLossWaitDurationSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { + pub StandByReplicaKeepDurationSeconds: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { + pub MinReplicaSetSize: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { + pub PlacementConstraints: windows_core::PCWSTR, + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub CorrelationCount: u32, + pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, + pub MetricCount: u32, + pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { + pub DefaultMoveCost: FABRIC_MOVE_COST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { + pub RepartitionKind: FABRIC_SERVICE_PARTITION_KIND, + pub RepartitionDescription: *mut core::ffi::c_void, + pub ScalingPolicyCount: u32, + pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATEFUL_SERVICE_UPDATE_DESCRIPTION_EX5 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION { + pub ApplicationName: FABRIC_URI, + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub InitializationDataSize: u32, + pub InitializationData: *mut u8, + pub PartitionScheme: FABRIC_PARTITION_SCHEME, + pub PartitionSchemeDescription: *mut core::ffi::c_void, + pub InstanceCount: i32, + pub PlacementConstraints: windows_core::PCWSTR, + pub CorrelationCount: u32, + pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, + pub MetricCount: u32, + pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { + pub IsDefaultMoveCostSpecified: windows::Win32::Foundation::BOOLEAN, + pub DefaultMoveCost: FABRIC_MOVE_COST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { + pub ServicePackageActivationMode: FABRIC_SERVICE_PACKAGE_ACTIVATION_MODE, + pub ServiceDnsName: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { + pub ScalingPolicyCount: u32, + pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_DESCRIPTION_EX4 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { + pub PartitionId: windows_core::GUID, + pub InstanceId: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub HealthEvents: *const FABRIC_HEALTH_EVENT_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { + pub PartitionId: windows_core::GUID, + pub InstanceId: i64, + pub HealthInformation: *const FABRIC_HEALTH_INFORMATION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_REPORT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { + pub PartitionId: windows_core::GUID, + pub InstanceId: i64, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_HEALTH_STATE_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + pub InstanceId: i64, + pub ReplicaStatus: FABRIC_QUERY_SERVICE_REPLICA_STATUS, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub ReplicaAddress: windows_core::PCWSTR, + pub NodeName: windows_core::PCWSTR, + pub LastInBuildDurationInSeconds: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_INSTANCE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { + pub PartitionInformation: *const FABRIC_SERVICE_PARTITION_INFORMATION, + pub InstanceCount: u32, + pub HealthState: FABRIC_HEALTH_STATE, + pub PartitionStatus: FABRIC_QUERY_SERVICE_PARTITION_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_PARTITION_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { + pub ServiceName: FABRIC_URI, + pub ServiceTypeName: windows_core::PCWSTR, + pub ServiceManifestVersion: windows_core::PCWSTR, + pub HealthState: FABRIC_HEALTH_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { + pub ServiceStatus: FABRIC_QUERY_SERVICE_STATUS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { + pub IsServiceGroup: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_QUERY_RESULT_ITEM_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { + pub ServiceTypeName: windows_core::PCWSTR, + pub PlacementConstraints: windows_core::PCWSTR, + pub LoadMetrics: *const FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION_LIST, + pub Extensions: *const FABRIC_SERVICE_TYPE_DESCRIPTION_EXTENSION_LIST, + pub UseImplicitHost: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_TYPE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { + pub Flags: u32, + pub InstanceCount: i32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { + pub PlacementConstraints: windows_core::PCWSTR, + pub PolicyList: *mut FABRIC_SERVICE_PLACEMENT_POLICY_LIST, + pub CorrelationCount: u32, + pub Correlations: *mut FABRIC_SERVICE_CORRELATION_DESCRIPTION, + pub MetricCount: u32, + pub Metrics: *mut FABRIC_SERVICE_LOAD_METRIC_DESCRIPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { + pub DefaultMoveCost: FABRIC_MOVE_COST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { + pub RepartitionKind: FABRIC_SERVICE_PARTITION_KIND, + pub RepartitionDescription: *mut core::ffi::c_void, + pub ScalingPolicyCount: u32, + pub ServiceScalingPolicies: *mut FABRIC_SERVICE_SCALING_POLICY, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STATELESS_SERVICE_UPDATE_DESCRIPTION_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STOPPED_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub Reason: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STOPPED_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STOPPED_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STOP_NODE_DESCRIPTION { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STOP_NODE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STOP_NODE_DESCRIPTION2 { + pub Kind: FABRIC_STOP_NODE_DESCRIPTION_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STOP_NODE_DESCRIPTION2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { + pub NodeName: windows_core::PCWSTR, + pub NodeInstanceId: u64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STOP_NODE_DESCRIPTION_USING_NODE_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STOP_NODE_STATUS { + pub NodeResult: *mut FABRIC_NODE_RESULT, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STOP_NODE_STATUS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STOP_NODE_STATUS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STORE_BACKUP_INFO { + pub BackupFolder: windows_core::PCWSTR, + pub BackupOption: FABRIC_STORE_BACKUP_OPTION, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STORE_BACKUP_INFO { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STORE_BACKUP_INFO { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STORE_BACKUP_INFO_EX1 { + pub BackupChainId: windows_core::GUID, + pub BackupIndex: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_STORE_BACKUP_INFO_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STORE_BACKUP_INFO_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STRING_LIST { + pub Count: u32, + pub Items: *const windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_STRING_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STRING_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_STRING_MAP { + pub Count: u32, + pub Items: *const FABRIC_APPLICATION_PARAMETER, +} +impl windows_core::TypeKind for FABRIC_STRING_MAP { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_STRING_MAP { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SYSTEM_APPLICATION_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { + pub SystemServiceNameFilter: FABRIC_URI, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_SYSTEM_SERVICE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_TEST_COMMAND_LIST_DESCRIPTION { + pub TestCommandStateFilter: FABRIC_TEST_COMMAND_STATE_FILTER, + pub TestCommandTypeFilter: FABRIC_TEST_COMMAND_TYPE_FILTER, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_TEST_COMMAND_LIST_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_TEST_ERROR_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub Reason: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_TEST_ERROR_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_TEST_ERROR_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { + pub PartitionCount: i32, + pub LowKey: i64, + pub HighKey: i64, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UNIFORM_INT64_RANGE_PARTITION_SCHEME_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UNPLACED_REPLICA_INFORMATION { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub UnplacedReplicaReasons: *const FABRIC_STRING_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { + pub Count: u32, + pub Items: *const windows_core::PCWSTR, +} +impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { + pub ServiceName: FABRIC_URI, + pub PartitionId: windows_core::GUID, + pub OnlyQueryPrimaries: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UNPLACED_REPLICA_INFORMATION_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { + pub ApplicationTypeName: windows_core::PCWSTR, + pub ApplicationTypeVersion: windows_core::PCWSTR, + pub Async: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UNPROVISION_APPLICATION_TYPE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DESCRIPTION { + pub CodeVersion: windows_core::PCWSTR, + pub ConfigVersion: windows_core::PCWSTR, + pub UpgradeKind: FABRIC_UPGRADE_KIND, + pub UpgradePolicyDescription: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UpgradeDomainName: windows_core::PCWSTR, + pub BaselineErrorCount: u32, + pub BaselineTotalCount: u32, + pub TotalCount: u32, + pub MaxPercentUpgradeDomainDeltaUnhealthyNodes: u8, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_DELTA_NODES_CHECK_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UpgradeDomainName: windows_core::PCWSTR, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyDeployedApplications: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_DEPLOYED_APPLICATIONS_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { + pub Description: windows_core::PCWSTR, + pub AggregatedHealthState: FABRIC_HEALTH_STATE, + pub UpgradeDomainName: windows_core::PCWSTR, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub TotalCount: u32, + pub MaxPercentUnhealthyNodes: u8, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_NODES_HEALTH_EVALUATION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_PROGRESS { + pub UpgradeDomainName: windows_core::PCWSTR, + pub NodeProgressList: *mut FABRIC_NODE_UPGRADE_PROGRESS_LIST, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { + pub Name: windows_core::PCWSTR, + pub State: FABRIC_UPGRADE_DOMAIN_STATE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { + pub Count: u32, + pub Items: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { + pub CurrentCodeVersion: windows_core::PCWSTR, + pub CurrentManifestVersion: windows_core::PCWSTR, + pub TargetCodeVersion: windows_core::PCWSTR, + pub TargetManifestVersion: windows_core::PCWSTR, + pub PendingUpgradeType: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_ORCHESTRATION_SERVICE_STATE { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { + pub PartitionId: windows_core::GUID, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_PARTITION_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_PROGRESS { + pub UpgradeDescription: *const FABRIC_UPGRADE_DESCRIPTION, + pub UpgradeState: FABRIC_UPGRADE_STATE, + pub UpgradeMode: FABRIC_ROLLING_UPGRADE_MODE, + pub NextUpgradeDomain: windows_core::PCWSTR, + pub UpgradeDomains: *const FABRIC_UPGRADE_DOMAIN_STATUS_DESCRIPTION_LIST, + pub UpgradeDurationInSeconds: u32, + pub CurrentUpgradeDomainDurationInSeconds: u32, + pub UnhealthyEvaluations: *const FABRIC_HEALTH_EVALUATION_LIST, + pub CurrentUpgradeDomainProgress: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_PROGRESS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_PROGRESS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_PROGRESS_EX1 { + pub StartTimestampUtc: windows::Win32::Foundation::FILETIME, + pub FailureTimestampUtc: windows::Win32::Foundation::FILETIME, + pub FailureReason: FABRIC_UPGRADE_FAILURE_REASON, + pub UpgradeDomainProgressAtFailure: *const FABRIC_UPGRADE_DOMAIN_PROGRESS, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_PROGRESS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_PROGRESS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_SAFETY_CHECK { + pub Kind: FABRIC_UPGRADE_SAFETY_CHECK_KIND, + pub Value: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_SAFETY_CHECK_LIST { + pub Count: u32, + pub Items: *const FABRIC_UPGRADE_SAFETY_CHECK, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_SAFETY_CHECK_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_SAFETY_CHECK_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_SEED_NODE_SAFETY_CHECK { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_UPGRADE_UPDATE_DESCRIPTION { + pub UpgradeKind: FABRIC_UPGRADE_KIND, + pub UpdateFlags: u32, + pub UpgradePolicyDescription: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_UPGRADE_UPDATE_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_UPGRADE_UPDATE_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub struct FABRIC_URI(pub *mut u16); +impl FABRIC_URI { + pub fn is_invalid(&self) -> bool { + self.0.is_null() + } +} +impl Default for FABRIC_URI { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +impl windows_core::TypeKind for FABRIC_URI { + type TypeKind = windows_core::CopyType; +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_VALIDATION_FAILED_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub Reason: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_VALIDATION_FAILED_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_VALIDATION_FAILED_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_WAITING_EVENT { + pub TimeStampUtc: windows::Win32::Foundation::FILETIME, + pub Reason: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_WAITING_EVENT { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_WAITING_EVENT { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_WINDOWS_CREDENTIALS { + pub RemoteSpn: windows_core::PCWSTR, + pub RemoteIdentityCount: u32, + pub RemoteIdentities: *const windows_core::PCWSTR, + pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_WINDOWS_CREDENTIALS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_WINDOWS_CREDENTIALS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_CREDENTIALS { + pub AllowedCommonNameCount: u32, + pub AllowedCommonNames: *const windows_core::PCWSTR, + pub FindType: FABRIC_X509_FIND_TYPE, + pub FindValue: *mut core::ffi::c_void, + pub StoreLocation: FABRIC_X509_STORE_LOCATION, + pub StoreName: windows_core::PCWSTR, + pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_CREDENTIALS { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_CREDENTIALS2 { + pub CertLoadPath: windows_core::PCWSTR, + pub RemoteCertThumbprintCount: u32, + pub RemoteCertThumbprints: *const windows_core::PCWSTR, + pub RemoteX509NameCount: u32, + pub RemoteX509Names: *mut FABRIC_X509_NAME, + pub ProtectionLevel: FABRIC_PROTECTION_LEVEL, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_CREDENTIALS2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_CREDENTIALS_EX1 { + pub IssuerThumbprintCount: u32, + pub IssuerThumbprints: *const windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_CREDENTIALS_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_CREDENTIALS_EX2 { + pub RemoteCertThumbprintCount: u32, + pub RemoteCertThumbprints: *const windows_core::PCWSTR, + pub RemoteX509NameCount: u32, + pub RemoteX509Names: *mut FABRIC_X509_NAME, + pub FindValueSecondary: *mut core::ffi::c_void, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_CREDENTIALS_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_CREDENTIALS_EX3 { + pub RemoteCertIssuerCount: u32, + pub RemoteCertIssuers: *mut FABRIC_X509_ISSUER_NAME, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_CREDENTIALS_EX3 { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_CREDENTIALS_EX3 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_ISSUER_NAME { + pub Name: windows_core::PCWSTR, + pub IssuerStoreCount: u32, + pub IssuerStores: *const windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_ISSUER_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_ISSUER_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct FABRIC_X509_NAME { + pub Name: windows_core::PCWSTR, + pub IssuerCertThumbprint: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for FABRIC_X509_NAME { + type TypeKind = windows_core::CopyType; +} +impl Default for FABRIC_X509_NAME { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + pub ApplicationTypeNameFilter: windows_core::PCWSTR, + pub MaxResults: i32, + pub ContinuationToken: windows_core::PCWSTR, + pub ExcludeApplicationParameters: windows::Win32::Foundation::BOOLEAN, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + type TypeKind = windows_core::CopyType; +} +impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { + pub ApplicationTypeVersionFilter: windows_core::PCWSTR, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { + type TypeKind = windows_core::CopyType; +} +impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX1 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { + pub ApplicationTypeDefinitionKindFilter: u32, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { + type TypeKind = windows_core::CopyType; +} +impl Default for PAGED_FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION_EX2 { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct TEST_COMMAND_QUERY_RESULT_ITEM { + pub OperationId: windows_core::GUID, + pub TestCommandState: FABRIC_TEST_COMMAND_PROGRESS_STATE, + pub TestCommandType: FABRIC_TEST_COMMAND_TYPE, + pub Reserved: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for TEST_COMMAND_QUERY_RESULT_ITEM { + type TypeKind = windows_core::CopyType; +} +impl Default for TEST_COMMAND_QUERY_RESULT_ITEM { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} +#[repr(C)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] +pub struct TEST_COMMAND_QUERY_RESULT_LIST { + pub Count: u32, + pub Items: *mut core::ffi::c_void, +} +impl windows_core::TypeKind for TEST_COMMAND_QUERY_RESULT_LIST { + type TypeKind = windows_core::CopyType; +} +impl Default for TEST_COMMAND_QUERY_RESULT_LIST { + fn default() -> Self { + unsafe { core::mem::zeroed() } + } +} diff --git a/crates/libs/com/src/ServiceFabric/mod.rs b/crates/libs/com/src/ServiceFabric/mod.rs new file mode 100644 index 00000000..8bc86580 --- /dev/null +++ b/crates/libs/com/src/ServiceFabric/mod.rs @@ -0,0 +1,9 @@ +pub mod FabricClient; +pub mod FabricCommon; +pub mod FabricRuntime; +pub mod FabricTransport; +pub mod FabricTypes; + +// hack to make generated code link together +use FabricCommon::*; +use FabricTypes::*; diff --git a/crates/libs/com/src/lib.rs b/crates/libs/com/src/lib.rs index 4a9d529a..5847145d 100644 --- a/crates/libs/com/src/lib.rs +++ b/crates/libs/com/src/lib.rs @@ -4,24 +4,15 @@ // ------------------------------------------------------------ #![doc(html_no_source)] +// extern crate windows; +#![allow(non_snake_case)] +pub mod ServiceFabric; -extern crate windows; +// expose mod directly +pub use ServiceFabric::*; -#[allow( - non_camel_case_types, - non_snake_case, - non_upper_case_globals, - clippy::derivable_impls, - clippy::missing_safety_doc, - clippy::too_many_arguments, - clippy::extra_unused_lifetimes, - clippy::useless_transmute, - clippy::missing_transmute_annotations // winbindgen needs to fix this -)] -pub mod Microsoft; - -#[cfg(feature = "ServiceFabric")] -pub use Microsoft::ServiceFabric::*; +// hack to make generated code link together +use ServiceFabric::FabricTypes::*; #[cfg(target_os = "windows")] pub use mssf_metadata; diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 35c2a71e..c179a12f 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -24,7 +24,7 @@ config_source = ["config"] [dependencies] tracing.workspace = true tokio = { version = "1", features = ["sync" , "rt-multi-thread", "rt", "macros"], optional = true } -windows-core = "0.56" +windows-core = "0.57" ctrlc = { version = "3.0", features = ["termination"], optional = true } trait-variant = "0.1.1" bitflags = "2.5.0" @@ -34,7 +34,7 @@ config = { version = "0.14.0", default-features = false, optional = true } paste = "1.0" [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "implement", "Win32_System_Com", @@ -46,15 +46,6 @@ features = [ [dependencies.mssf-com] path = "../com" version = "0.0.6" -features = [ - "implement", - "Foundation", - "Win32_Foundation", - "ServiceFabric", - "ServiceFabric_FabricCommon", - "ServiceFabric_FabricCommon_FabricClient", - "ServiceFabric_FabricCommon_FabricRuntime" -] # requires return impl trait feature [package.metadata] diff --git a/crates/libs/core/src/client/mod.rs b/crates/libs/core/src/client/mod.rs index ebea1c86..f2b80029 100644 --- a/crates/libs/core/src/client/mod.rs +++ b/crates/libs/core/src/client/mod.rs @@ -3,7 +3,7 @@ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ -use mssf_com::FabricCommon::FabricClient::{ +use mssf_com::FabricClient::{ IFabricPropertyManagementClient2, IFabricQueryClient10, IFabricServiceManagementClient6, }; use windows_core::Interface; @@ -21,7 +21,7 @@ mod tests; // https://github.com/microsoft/service-fabric/blob/master/src/prod/src/managed/Api/src/System/Fabric/FabricClient.cs pub struct FabricClient { - com_property_client: IFabricPropertyManagementClient2, + _com_property_client: IFabricPropertyManagementClient2, com_service_client: IFabricServiceManagementClient6, com_query_client: IFabricQueryClient10, } @@ -49,7 +49,7 @@ impl FabricClient { .unwrap(); let com_query_client = com.clone().cast::().unwrap(); Self { - com_property_client, + _com_property_client: com_property_client, com_service_client, com_query_client, } @@ -58,7 +58,7 @@ impl FabricClient { // Get the client for managing Fabric Properties in Naming Service pub fn get_property_manager(&self) -> PropertyManagementClient { PropertyManagementClient { - _com: self.com_property_client.clone(), + _com: self._com_property_client.clone(), } } diff --git a/crates/libs/core/src/client/query_client.rs b/crates/libs/core/src/client/query_client.rs index 7699b103..1e0f10c6 100644 --- a/crates/libs/core/src/client/query_client.rs +++ b/crates/libs/core/src/client/query_client.rs @@ -6,15 +6,18 @@ use crate::{ }; use bitflags::bitflags; use mssf_com::{ - FabricCommon::FabricClient::{IFabricGetNodeListResult2, IFabricQueryClient10}, - FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_DESCRIPTION_EX1, - FABRIC_NODE_QUERY_DESCRIPTION_EX2, FABRIC_NODE_QUERY_DESCRIPTION_EX3, - FABRIC_NODE_QUERY_RESULT_ITEM, FABRIC_NODE_QUERY_RESULT_ITEM_EX1, - FABRIC_NODE_QUERY_RESULT_ITEM_EX2, FABRIC_PAGING_STATUS, FABRIC_QUERY_NODE_STATUS_FILTER_ALL, - FABRIC_QUERY_NODE_STATUS_FILTER_DEFAULT, FABRIC_QUERY_NODE_STATUS_FILTER_DISABLED, - FABRIC_QUERY_NODE_STATUS_FILTER_DISABLING, FABRIC_QUERY_NODE_STATUS_FILTER_DOWN, - FABRIC_QUERY_NODE_STATUS_FILTER_ENABLING, FABRIC_QUERY_NODE_STATUS_FILTER_REMOVED, - FABRIC_QUERY_NODE_STATUS_FILTER_UNKNOWN, FABRIC_QUERY_NODE_STATUS_FILTER_UP, + FabricClient::{IFabricGetNodeListResult2, IFabricQueryClient10}, + FabricTypes::{ + FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_DESCRIPTION_EX1, + FABRIC_NODE_QUERY_DESCRIPTION_EX2, FABRIC_NODE_QUERY_DESCRIPTION_EX3, + FABRIC_NODE_QUERY_RESULT_ITEM, FABRIC_NODE_QUERY_RESULT_ITEM_EX1, + FABRIC_NODE_QUERY_RESULT_ITEM_EX2, FABRIC_PAGING_STATUS, + FABRIC_QUERY_NODE_STATUS_FILTER_ALL, FABRIC_QUERY_NODE_STATUS_FILTER_DEFAULT, + FABRIC_QUERY_NODE_STATUS_FILTER_DISABLED, FABRIC_QUERY_NODE_STATUS_FILTER_DISABLING, + FABRIC_QUERY_NODE_STATUS_FILTER_DOWN, FABRIC_QUERY_NODE_STATUS_FILTER_ENABLING, + FABRIC_QUERY_NODE_STATUS_FILTER_REMOVED, FABRIC_QUERY_NODE_STATUS_FILTER_UNKNOWN, + FABRIC_QUERY_NODE_STATUS_FILTER_UP, + }, }; use windows_core::{HSTRING, PCWSTR}; @@ -34,9 +37,10 @@ impl QueryClient { timeoutMilliseconds: u32, ) -> crate::sync::FabricReceiver<::windows_core::Result> { let (tx, rx) = crate::sync::oneshot_channel(); + let com_cp = self.com.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { // Note we use the v2 api - let res = unsafe { self.com.EndGetNodeList2(ctx) }; + let res = unsafe { com_cp.EndGetNodeList2(ctx) }; tx.send(res); }); let ctx = unsafe { diff --git a/crates/libs/core/src/client/svc_mgmt_client.rs b/crates/libs/core/src/client/svc_mgmt_client.rs index 58eb9fcd..f3318c8f 100644 --- a/crates/libs/core/src/client/svc_mgmt_client.rs +++ b/crates/libs/core/src/client/svc_mgmt_client.rs @@ -6,16 +6,17 @@ use std::{ffi::c_void, time::Duration}; use mssf_com::{ - FabricCommon::FabricClient::{ - IFabricResolvedServicePartitionResult, IFabricServiceManagementClient6, + FabricClient::{IFabricResolvedServicePartitionResult, IFabricServiceManagementClient6}, + FabricTypes::{ + FABRIC_PARTITION_KEY_TYPE, FABRIC_PARTITION_KEY_TYPE_INT64, + FABRIC_PARTITION_KEY_TYPE_INVALID, FABRIC_PARTITION_KEY_TYPE_NONE, + FABRIC_PARTITION_KEY_TYPE_STRING, FABRIC_RESOLVED_SERVICE_ENDPOINT, + FABRIC_SERVICE_ENDPOINT_ROLE, FABRIC_SERVICE_PARTITION_KIND, + FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE, FABRIC_SERVICE_PARTITION_KIND_INVALID, + FABRIC_SERVICE_PARTITION_KIND_NAMED, FABRIC_SERVICE_PARTITION_KIND_SINGLETON, + FABRIC_SERVICE_ROLE_INVALID, FABRIC_SERVICE_ROLE_STATEFUL_PRIMARY, + FABRIC_SERVICE_ROLE_STATEFUL_SECONDARY, FABRIC_SERVICE_ROLE_STATELESS, FABRIC_URI, }, - FABRIC_PARTITION_KEY_TYPE, FABRIC_PARTITION_KEY_TYPE_INT64, FABRIC_PARTITION_KEY_TYPE_INVALID, - FABRIC_PARTITION_KEY_TYPE_NONE, FABRIC_PARTITION_KEY_TYPE_STRING, - FABRIC_RESOLVED_SERVICE_ENDPOINT, FABRIC_SERVICE_ENDPOINT_ROLE, FABRIC_SERVICE_PARTITION_KIND, - FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE, FABRIC_SERVICE_PARTITION_KIND_INVALID, - FABRIC_SERVICE_PARTITION_KIND_NAMED, FABRIC_SERVICE_PARTITION_KIND_SINGLETON, - FABRIC_SERVICE_ROLE_INVALID, FABRIC_SERVICE_ROLE_STATEFUL_PRIMARY, - FABRIC_SERVICE_ROLE_STATEFUL_SECONDARY, FABRIC_SERVICE_ROLE_STATELESS, FABRIC_URI, }; use windows_core::{HSTRING, PCWSTR}; @@ -41,8 +42,9 @@ impl ServiceManagementClient { ) -> crate::sync::FabricReceiver<::windows_core::Result> { let (tx, rx) = crate::sync::oneshot_channel(); + let com_cp = self.com.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com.EndResolveServicePartition(ctx) }; + let res = unsafe { com_cp.EndResolveServicePartition(ctx) }; tx.send(res); }); let ctx = unsafe { diff --git a/crates/libs/core/src/client/tests.rs b/crates/libs/core/src/client/tests.rs index b7e7c481..e5266060 100644 --- a/crates/libs/core/src/client/tests.rs +++ b/crates/libs/core/src/client/tests.rs @@ -7,7 +7,7 @@ use std::time::Duration; -use mssf_com::{FABRIC_E_SERVICE_DOES_NOT_EXIST, FABRIC_NODE_QUERY_DESCRIPTION}; +use mssf_com::FabricTypes::FABRIC_E_SERVICE_DOES_NOT_EXIST; use windows_core::HSTRING; use crate::client::{ @@ -84,7 +84,9 @@ async fn test_fabric_client() { assert!( e.code() == windows_core::HRESULT(FABRIC_E_SERVICE_DOES_NOT_EXIST.0) || e.code() - == windows_core::HRESULT(mssf_com::FABRIC_E_SERVICE_OFFLINE.0) + == windows_core::HRESULT( + mssf_com::FabricTypes::FABRIC_E_SERVICE_OFFLINE.0 + ) ); } else { assert_eq!( diff --git a/crates/libs/core/src/runtime/bridge.rs b/crates/libs/core/src/runtime/bridge.rs index 7f4c8d2b..6992c475 100644 --- a/crates/libs/core/src/runtime/bridge.rs +++ b/crates/libs/core/src/runtime/bridge.rs @@ -14,7 +14,10 @@ use windows_core::implement; // Begin to End operation, when implementing Rust async to COM api // exposed to SF COM layer. #[implement(IFabricAsyncOperationContext)] -pub struct BridgeContext { +pub struct BridgeContext +where + T: 'static, +{ content: Cell>, is_completed: Cell, is_completed_synchronously: bool, diff --git a/crates/libs/core/src/runtime/config.rs b/crates/libs/core/src/runtime/config.rs index e795498a..8863b065 100644 --- a/crates/libs/core/src/runtime/config.rs +++ b/crates/libs/core/src/runtime/config.rs @@ -4,9 +4,12 @@ // ------------------------------------------------------------ use mssf_com::{ - FabricCommon::FabricRuntime::IFabricConfigurationPackage, FABRIC_CONFIGURATION_PARAMETER, - FABRIC_CONFIGURATION_PARAMETER_EX1, FABRIC_CONFIGURATION_PARAMETER_LIST, - FABRIC_CONFIGURATION_SECTION, FABRIC_CONFIGURATION_SECTION_LIST, + FabricRuntime::IFabricConfigurationPackage, + FabricTypes::{ + FABRIC_CONFIGURATION_PARAMETER, FABRIC_CONFIGURATION_PARAMETER_EX1, + FABRIC_CONFIGURATION_PARAMETER_LIST, FABRIC_CONFIGURATION_SECTION, + FABRIC_CONFIGURATION_SECTION_LIST, + }, }; use windows::Win32::Foundation::{BOOLEAN, E_POINTER}; use windows_core::HSTRING; diff --git a/crates/libs/core/src/runtime/error.rs b/crates/libs/core/src/runtime/error.rs index 9ec59ecf..1f6e5909 100644 --- a/crates/libs/core/src/runtime/error.rs +++ b/crates/libs/core/src/runtime/error.rs @@ -29,7 +29,7 @@ pub fn fill_fabric_error(e: Error) -> Error { #[cfg(test)] #[cfg(windows)] // linux error propagate is not working yet mod test { - use mssf_com::FABRIC_E_GATEWAY_NOT_REACHABLE; + use mssf_com::FabricTypes::FABRIC_E_GATEWAY_NOT_REACHABLE; use windows_core::{Error, HSTRING}; #[test] diff --git a/crates/libs/core/src/runtime/mod.rs b/crates/libs/core/src/runtime/mod.rs index 26ccc599..94834346 100644 --- a/crates/libs/core/src/runtime/mod.rs +++ b/crates/libs/core/src/runtime/mod.rs @@ -4,11 +4,11 @@ // ------------------------------------------------------------ use mssf_com::{ - FabricCommon::FabricRuntime::{ + FabricRuntime::{ FabricCreateRuntime, FabricGetActivationContext, IFabricCodePackageActivationContext, IFabricRuntime, }, - FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, + FabricTypes::FABRIC_ENDPOINT_RESOURCE_DESCRIPTION, }; use windows_core::{Error, Interface, HSTRING, PCWSTR}; diff --git a/crates/libs/core/src/runtime/node_context.rs b/crates/libs/core/src/runtime/node_context.rs index 775b2ad8..6126f792 100644 --- a/crates/libs/core/src/runtime/node_context.rs +++ b/crates/libs/core/src/runtime/node_context.rs @@ -1,6 +1,6 @@ use std::time::Duration; -use mssf_com::FabricCommon::FabricRuntime::{ +use mssf_com::FabricRuntime::{ FabricBeginGetNodeContext, FabricEndGetNodeContext, IFabricNodeContextResult, IFabricNodeContextResult2, }; diff --git a/crates/libs/core/src/runtime/runtime_wrapper.rs b/crates/libs/core/src/runtime/runtime_wrapper.rs index 1fb56183..fab59a42 100644 --- a/crates/libs/core/src/runtime/runtime_wrapper.rs +++ b/crates/libs/core/src/runtime/runtime_wrapper.rs @@ -1,6 +1,6 @@ use crate::HSTRING; /// safe wrapping for runtime -use mssf_com::FabricCommon::FabricRuntime::{ +use mssf_com::FabricRuntime::{ IFabricRuntime, IFabricStatefulServiceFactory, IFabricStatelessServiceFactory, }; @@ -32,7 +32,7 @@ where factory: F, ) -> windows_core::Result<()> where - F: StatelessServiceFactory, + F: StatelessServiceFactory + 'static, { let rt_cp = self.rt.clone(); let bridge: IFabricStatelessServiceFactory = @@ -46,7 +46,7 @@ where pub fn register_stateful_service_factory( &self, servicetypename: &HSTRING, - factory: impl StatefulServiceFactory, + factory: impl StatefulServiceFactory + 'static, ) -> windows_core::Result<()> { let rt_cp = self.rt.clone(); let bridge: IFabricStatefulServiceFactory = diff --git a/crates/libs/core/src/runtime/stateful.rs b/crates/libs/core/src/runtime/stateful.rs index c5cddcd4..3b93bc63 100644 --- a/crates/libs/core/src/runtime/stateful.rs +++ b/crates/libs/core/src/runtime/stateful.rs @@ -5,7 +5,7 @@ // stateful contains rs definition of stateful traits that user needs to implement -use mssf_com::FabricCommon::FabricRuntime::IFabricStatefulServicePartition; +use mssf_com::FabricRuntime::IFabricStatefulServicePartition; use windows_core::{Error, HSTRING}; use super::stateful_types::{ diff --git a/crates/libs/core/src/runtime/stateful_bridge.rs b/crates/libs/core/src/runtime/stateful_bridge.rs index 1dca2ceb..5cdb7296 100644 --- a/crates/libs/core/src/runtime/stateful_bridge.rs +++ b/crates/libs/core/src/runtime/stateful_bridge.rs @@ -13,16 +13,18 @@ use windows_core::{AsImpl, Error, Interface, HSTRING}; use mssf_com::{ FabricCommon::{ - FabricRuntime::{ - IFabricPrimaryReplicator, IFabricPrimaryReplicator_Impl, IFabricReplicator, - IFabricReplicator_Impl, IFabricStatefulServiceFactory, - IFabricStatefulServiceFactory_Impl, IFabricStatefulServicePartition, - IFabricStatefulServiceReplica, IFabricStatefulServiceReplica_Impl, - }, IFabricAsyncOperationContext, IFabricAsyncOperationContext_Impl, IFabricStringResult, }, - FABRIC_EPOCH, FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_OPEN_MODE, FABRIC_REPLICA_ROLE, - FABRIC_REPLICA_SET_CONFIGURATION, FABRIC_REPLICA_SET_QUORUM_MODE, FABRIC_URI, + FabricRuntime::{ + IFabricPrimaryReplicator, IFabricPrimaryReplicator_Impl, IFabricReplicator, + IFabricReplicator_Impl, IFabricStatefulServiceFactory, IFabricStatefulServiceFactory_Impl, + IFabricStatefulServicePartition, IFabricStatefulServiceReplica, + IFabricStatefulServiceReplica_Impl, + }, + FabricTypes::{ + FABRIC_EPOCH, FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_OPEN_MODE, FABRIC_REPLICA_ROLE, + FABRIC_REPLICA_SET_CONFIGURATION, FABRIC_REPLICA_SET_QUORUM_MODE, FABRIC_URI, + }, }; use crate::{ @@ -42,8 +44,8 @@ use super::{ #[implement(IFabricStatefulServiceFactory)] pub struct StatefulServiceFactoryBridge where - E: Executor, - F: StatefulServiceFactory, + E: Executor + 'static, + F: StatefulServiceFactory + 'static, { inner: F, rt: E, diff --git a/crates/libs/core/src/runtime/stateful_proxy.rs b/crates/libs/core/src/runtime/stateful_proxy.rs index 43d4dd7d..4b07cdf5 100644 --- a/crates/libs/core/src/runtime/stateful_proxy.rs +++ b/crates/libs/core/src/runtime/stateful_proxy.rs @@ -9,10 +9,8 @@ use std::ffi::c_void; use mssf_com::{ - FabricCommon::FabricRuntime::{ - IFabricPrimaryReplicator, IFabricReplicator, IFabricStatefulServiceReplica, - }, - FABRIC_EPOCH, + FabricRuntime::{IFabricPrimaryReplicator, IFabricReplicator, IFabricStatefulServiceReplica}, + FabricTypes::FABRIC_EPOCH, }; use tracing::info; use windows_core::{Interface, HSTRING}; @@ -43,8 +41,9 @@ impl StatefulServiceReplica for StatefulServiceReplicaProxy { info!("StatefulServiceReplicaProxy::open with mode {:?}", openmode); // replicator address let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndOpen(ctx) }; + let res = unsafe { com_cp.EndOpen(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -65,8 +64,9 @@ impl StatefulServiceReplica for StatefulServiceReplicaProxy { // replica address info!("StatefulServiceReplicaProxy::change_role {:?}", newrole); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndChangeRole(ctx) }; + let res = unsafe { com_cp.EndChangeRole(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -79,8 +79,9 @@ impl StatefulServiceReplica for StatefulServiceReplicaProxy { async fn close(&self) -> windows::core::Result<()> { info!("StatefulServiceReplicaProxy::close"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndClose(ctx) }; + let res = unsafe { com_cp.EndClose(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -111,8 +112,9 @@ impl Replicator for ReplicatorProxy { info!("ReplicatorProxy::open"); // replicator address let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndOpen(ctx) }; + let res = unsafe { com_cp.EndOpen(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -124,8 +126,9 @@ impl Replicator for ReplicatorProxy { async fn close(&self) -> ::windows_core::Result<()> { info!("ReplicatorProxy::close"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndClose(ctx) }; + let res = unsafe { com_cp.EndClose(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -136,8 +139,9 @@ impl Replicator for ReplicatorProxy { async fn change_role(&self, epoch: &Epoch, role: &Role) -> ::windows_core::Result<()> { info!("ReplicatorProxy::change_role"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndChangeRole(ctx) }; + let res = unsafe { com_cp.EndChangeRole(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -154,8 +158,9 @@ impl Replicator for ReplicatorProxy { async fn update_epoch(&self, epoch: &Epoch) -> ::windows_core::Result<()> { info!("ReplicatorProxy::update_epoch"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndUpdateEpoch(ctx) }; + let res = unsafe { com_cp.EndUpdateEpoch(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -220,8 +225,9 @@ impl PrimaryReplicator for PrimaryReplicatorProxy { async fn on_data_loss(&self) -> ::windows_core::Result { info!("PrimaryReplicatorProxy::on_data_loss"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndOnDataLoss(ctx) }; + let res = unsafe { com_cp.EndOnDataLoss(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -250,8 +256,9 @@ impl PrimaryReplicator for PrimaryReplicatorProxy { ) -> ::windows_core::Result<()> { info!("PrimaryReplicatorProxy::wait_for_catch_up_quorum"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndWaitForCatchUpQuorum(ctx) }; + let res = unsafe { com_cp.EndWaitForCatchUpQuorum(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } @@ -277,8 +284,9 @@ impl PrimaryReplicator for PrimaryReplicatorProxy { async fn build_replica(&self, replica: &ReplicaInfo) -> ::windows_core::Result<()> { info!("PrimaryReplicatorProxy::build_replica"); let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndBuildReplica(ctx) }; + let res = unsafe { com_cp.EndBuildReplica(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } diff --git a/crates/libs/core/src/runtime/stateful_types.rs b/crates/libs/core/src/runtime/stateful_types.rs index 2fa5a6df..cefab42c 100644 --- a/crates/libs/core/src/runtime/stateful_types.rs +++ b/crates/libs/core/src/runtime/stateful_types.rs @@ -7,7 +7,7 @@ use std::{ffi::c_void, marker::PhantomData}; -use mssf_com::{ +use mssf_com::FabricTypes::{ FABRIC_EPOCH, FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_INFORMATION_EX1, FABRIC_REPLICA_OPEN_MODE, FABRIC_REPLICA_OPEN_MODE_EXISTING, FABRIC_REPLICA_OPEN_MODE_INVALID, FABRIC_REPLICA_OPEN_MODE_NEW, FABRIC_REPLICA_ROLE, FABRIC_REPLICA_ROLE_ACTIVE_SECONDARY, @@ -297,7 +297,10 @@ impl From for FABRIC_REPLICA_SET_QUORUM_MODE { mod test { use std::ffi::c_void; - use mssf_com::{FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_INFORMATION_EX1}; + use mssf_com::FabricTypes::{ + FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_INFORMATION_EX1, FABRIC_REPLICA_ROLE_PRIMARY, + FABRIC_REPLICA_STATUS_UP, + }; use windows_core::HSTRING; use super::{ReplicaInfo, ReplicaSetConfig}; @@ -310,8 +313,8 @@ mod test { }; let info = FABRIC_REPLICA_INFORMATION { Id: id, - Role: mssf_com::FABRIC_REPLICA_ROLE_PRIMARY, - Status: mssf_com::FABRIC_REPLICA_STATUS_UP, + Role: FABRIC_REPLICA_ROLE_PRIMARY, + Status: FABRIC_REPLICA_STATUS_UP, ReplicatorAddress: windows_core::PCWSTR::null(), CurrentProgress: 123, CatchUpCapability: 123, diff --git a/crates/libs/core/src/runtime/stateless.rs b/crates/libs/core/src/runtime/stateless.rs index ec1190f2..733ec877 100644 --- a/crates/libs/core/src/runtime/stateless.rs +++ b/crates/libs/core/src/runtime/stateless.rs @@ -6,11 +6,13 @@ #![deny(non_snake_case)] // this file is safe rust use mssf_com::{ - FabricCommon::FabricRuntime::IFabricStatelessServicePartition, - FABRIC_INT64_RANGE_PARTITION_INFORMATION, FABRIC_NAMED_PARTITION_INFORMATION, - FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE, FABRIC_SERVICE_PARTITION_KIND_INVALID, - FABRIC_SERVICE_PARTITION_KIND_NAMED, FABRIC_SERVICE_PARTITION_KIND_SINGLETON, - FABRIC_SINGLETON_PARTITION_INFORMATION, + FabricRuntime::IFabricStatelessServicePartition, + FabricTypes::{ + FABRIC_INT64_RANGE_PARTITION_INFORMATION, FABRIC_NAMED_PARTITION_INFORMATION, + FABRIC_SERVICE_PARTITION_KIND_INT64_RANGE, FABRIC_SERVICE_PARTITION_KIND_INVALID, + FABRIC_SERVICE_PARTITION_KIND_NAMED, FABRIC_SERVICE_PARTITION_KIND_SINGLETON, + FABRIC_SINGLETON_PARTITION_INFORMATION, + }, }; use windows_core::HSTRING; diff --git a/crates/libs/core/src/runtime/stateless_bridge.rs b/crates/libs/core/src/runtime/stateless_bridge.rs index 586d7449..167175d9 100644 --- a/crates/libs/core/src/runtime/stateless_bridge.rs +++ b/crates/libs/core/src/runtime/stateless_bridge.rs @@ -13,14 +13,14 @@ use crate::{ }; use mssf_com::{ FabricCommon::{ - FabricRuntime::{ - IFabricStatelessServiceFactory, IFabricStatelessServiceFactory_Impl, - IFabricStatelessServiceInstance, IFabricStatelessServiceInstance_Impl, - IFabricStatelessServicePartition, - }, IFabricAsyncOperationContext, IFabricAsyncOperationContext_Impl, IFabricStringResult, }, - FABRIC_URI, + FabricRuntime::{ + IFabricStatelessServiceFactory, IFabricStatelessServiceFactory_Impl, + IFabricStatelessServiceInstance, IFabricStatelessServiceInstance_Impl, + IFabricStatelessServicePartition, + }, + FabricTypes::FABRIC_URI, }; use tracing::info; use windows::core::implement; @@ -34,8 +34,8 @@ use super::{ #[implement(IFabricStatelessServiceFactory)] pub struct StatelessServiceFactoryBridge where - E: Executor, - F: StatelessServiceFactory, + E: Executor + 'static, + F: StatelessServiceFactory + 'static, { inner: F, rt: E, diff --git a/crates/libs/core/src/runtime/store.rs b/crates/libs/core/src/runtime/store.rs index 004bc92f..e429b71d 100644 --- a/crates/libs/core/src/runtime/store.rs +++ b/crates/libs/core/src/runtime/store.rs @@ -6,11 +6,11 @@ use std::ffi::c_void; use mssf_com::{ - FabricCommon::FabricRuntime::{ + FabricRuntime::{ FabricCreateKeyValueStoreReplica, IFabricKeyValueStoreReplica2, IFabricStoreEventHandler, IFabricStoreEventHandler_Impl, }, - FABRIC_ESE_LOCAL_STORE_SETTINGS, FABRIC_LOCAL_STORE_KIND, + FabricTypes::{FABRIC_ESE_LOCAL_STORE_SETTINGS, FABRIC_LOCAL_STORE_KIND}, }; use tracing::info; use windows::core::implement; diff --git a/crates/libs/core/src/runtime/store_proxy.rs b/crates/libs/core/src/runtime/store_proxy.rs index 5339c263..0b9b7598 100644 --- a/crates/libs/core/src/runtime/store_proxy.rs +++ b/crates/libs/core/src/runtime/store_proxy.rs @@ -4,10 +4,10 @@ // ------------------------------------------------------------ use mssf_com::{ - FabricCommon::FabricRuntime::{ + FabricRuntime::{ IFabricKeyValueStoreItemResult, IFabricKeyValueStoreReplica2, IFabricTransaction, }, - FABRIC_KEY_VALUE_STORE_ITEM, FABRIC_KEY_VALUE_STORE_ITEM_METADATA, + FabricTypes::{FABRIC_KEY_VALUE_STORE_ITEM, FABRIC_KEY_VALUE_STORE_ITEM_METADATA}, }; use tracing::info; use windows_core::PCWSTR; @@ -115,8 +115,9 @@ impl TransactionProxy { info!("TransactionProxy::commit"); // replicator address let (tx, rx) = tokio::sync::oneshot::channel(); + let com_cp = self.com_impl.clone(); let callback = crate::sync::AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com_impl.EndCommit(ctx) }; + let res = unsafe { com_cp.EndCommit(ctx) }; if tx.send(res).is_err() { debug_assert!(false, "Receiver is dropped."); } diff --git a/crates/libs/core/src/runtime/store_types.rs b/crates/libs/core/src/runtime/store_types.rs index e8626c16..8cf4515e 100644 --- a/crates/libs/core/src/runtime/store_types.rs +++ b/crates/libs/core/src/runtime/store_types.rs @@ -3,7 +3,7 @@ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ -use mssf_com::{ +use mssf_com::FabricTypes::{ FABRIC_ESE_LOCAL_STORE_SETTINGS, FABRIC_LOCAL_STORE_KIND, FABRIC_LOCAL_STORE_KIND_ESE, FABRIC_LOCAL_STORE_KIND_INVALID, FABRIC_REPLICATOR_SETTINGS, FABRIC_TRANSACTION_ISOLATION_LEVEL, FABRIC_TRANSACTION_ISOLATION_LEVEL_DEFAULT, diff --git a/crates/libs/core/src/sync/mod.rs b/crates/libs/core/src/sync/mod.rs index d1a9d4b2..9611ddba 100644 --- a/crates/libs/core/src/sync/mod.rs +++ b/crates/libs/core/src/sync/mod.rs @@ -13,9 +13,12 @@ use std::{ task::{Context, Poll}, }; -use mssf_com::FabricCommon::{ - FabricClient::FabricCreateLocalClient, IFabricAsyncOperationCallback, - IFabricAsyncOperationCallback_Impl, IFabricAsyncOperationContext, +use mssf_com::{ + FabricClient::FabricCreateLocalClient, + FabricCommon::{ + IFabricAsyncOperationCallback, IFabricAsyncOperationCallback_Impl, + IFabricAsyncOperationContext, + }, }; use tokio::sync::oneshot::Receiver; use windows::core::implement; @@ -30,8 +33,11 @@ pub fn CreateLocalClient() -> T { unsafe { T::from_raw(FabricCreateLocalClient(&T::IID).expect("cannot get localclient")) } } -pub trait Callback: FnOnce(::core::option::Option<&IFabricAsyncOperationContext>) {} -impl)> Callback for T {} +pub trait Callback: + FnOnce(::core::option::Option<&IFabricAsyncOperationContext>) + 'static +{ +} +impl) + 'static> Callback for T {} // TODO: rename. // Fabric Callback that wraps an arbitrary Fn closure. @@ -152,15 +158,17 @@ mod tests { use std::cell::Cell; use mssf_com::{ + FabricClient::{ + IFabricClusterManagementClient3, IFabricGetNodeListResult, IFabricQueryClient, + }, FabricCommon::{ - FabricClient::{ - IFabricClusterManagementClient3, IFabricGetNodeListResult, IFabricQueryClient, - }, IFabricAsyncOperationCallback, IFabricAsyncOperationCallback_Impl, IFabricAsyncOperationContext, }, - FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, FABRIC_CLUSTER_HEALTH_POLICY, - FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_RESULT_ITEM, + FabricTypes::{ + FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, FABRIC_CLUSTER_HEALTH_POLICY, + FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_RESULT_ITEM, + }, }; use tokio::sync::oneshot::Sender; @@ -205,34 +213,34 @@ mod tests { type AwaitableToken = super::FabricReceiver<()>; macro_rules! beginmyclient { - ($name: ident) => { - paste::item! { - pub struct $name { - com: mssf_com::FabricCommon::FabricClient::[], - } - } + ($name: ident) => { + paste::item! { + pub struct $name { + com: mssf_com::FabricClient::[], + } + } - // both are needed. But should be safe because COM ptr always lives on heap. - unsafe impl Send for $name {} - unsafe impl Sync for $name {} + // both are needed. But should be safe because COM ptr always lives on heap. + unsafe impl Send for $name {} + unsafe impl Sync for $name {} - impl Default for $name { - fn default() -> Self { - Self::new() + impl Default for $name { + fn default() -> Self { + Self::new() + } } - } - impl $name { - pub fn new() -> $name { - return $name { - com: paste::item! { - crate::sync::CreateLocalClient::]>() - } - }; - } - } // impl - }; -} + impl $name { + pub fn new() -> $name { + return $name { + com: paste::item! { + crate::sync::CreateLocalClient::]>() + }, + }; + } + } // impl + }; + } // macros for impl async fn macro_rules! myasyncfunc { @@ -288,15 +296,15 @@ mod tests { myasyncfunc!( get_cluster_health, GetClusterHealth, - mssf_com::FABRIC_CLUSTER_HEALTH_POLICY, - mssf_com::FabricCommon::FabricClient::IFabricClusterHealthResult, + mssf_com::FabricTypes::FABRIC_CLUSTER_HEALTH_POLICY, + mssf_com::FabricClient::IFabricClusterHealthResult, ); // get node health does not work because it requires node id as additional argument myasyncfunc!( get_node_health, GetNodeHealth, - mssf_com::FABRIC_CLUSTER_HEALTH_POLICY, - mssf_com::FabricCommon::FabricClient::IFabricNodeHealthResult, + mssf_com::FabricTypes::FABRIC_CLUSTER_HEALTH_POLICY, + mssf_com::FabricClient::IFabricNodeHealthResult, HSTRING ); } @@ -328,15 +336,15 @@ mod tests { myasyncfunc!( get_application_type_list, GetApplicationTypeList, - mssf_com::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, - mssf_com::FabricCommon::FabricClient::IFabricGetApplicationTypeListResult, + mssf_com::FabricTypes::FABRIC_APPLICATION_TYPE_QUERY_DESCRIPTION, + mssf_com::FabricClient::IFabricGetApplicationTypeListResult, ); myasyncfunc!( get_service_type_list, GetServiceTypeList, - mssf_com::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, - mssf_com::FabricCommon::FabricClient::IFabricGetServiceTypeListResult, + mssf_com::FabricTypes::FABRIC_SERVICE_TYPE_QUERY_DESCRIPTION, + mssf_com::FabricClient::IFabricGetServiceTypeListResult, ); // example of not using macro. // param is SBox because it crosses await boundary. @@ -369,8 +377,9 @@ mod tests { ) -> FabricReceiver<::windows::core::Result> { let (tx, rx) = oneshot_channel(); + let com_cp = self.com.clone(); let callback = AwaitableCallback2::i_new(move |ctx| { - let res = unsafe { self.com.EndGetNodeList(ctx) }; + let res = unsafe { com_cp.EndGetNodeList(ctx) }; tx.send(res); }); let ctx = unsafe { self.com.BeginGetNodeList(querydescription, 1000, &callback) }; diff --git a/crates/libs/pal/Cargo.toml b/crates/libs/pal/Cargo.toml index 0d620c0b..3b0b69bf 100644 --- a/crates/libs/pal/Cargo.toml +++ b/crates/libs/pal/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "Win32_Foundation" ] diff --git a/crates/samples/client/Cargo.toml b/crates/samples/client/Cargo.toml index a4baed42..8bd1d045 100644 --- a/crates/samples/client/Cargo.toml +++ b/crates/samples/client/Cargo.toml @@ -4,19 +4,16 @@ version = "0.0.1" edition = "2018" [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "implement" ] [dependencies.mssf-com] path = "../../libs/com" -features = [ - "implement" -] [dependencies.mssf-core] path = "../../libs/core" [dependencies] -windows-core = "0.56" \ No newline at end of file +windows-core = "0.57" \ No newline at end of file diff --git a/crates/samples/client/src/main.rs b/crates/samples/client/src/main.rs index c00b723d..535ae9b4 100644 --- a/crates/samples/client/src/main.rs +++ b/crates/samples/client/src/main.rs @@ -3,8 +3,9 @@ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ -use mssf_com::FabricCommon::{FabricClient::*, IFabricAsyncOperationCallback}; -use mssf_com::{FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_RESULT_ITEM}; +use mssf_com::FabricClient::{FabricCreateLocalClient, IFabricQueryClient}; +use mssf_com::FabricCommon::IFabricAsyncOperationCallback; +use mssf_com::FabricTypes::{FABRIC_NODE_QUERY_DESCRIPTION, FABRIC_NODE_QUERY_RESULT_ITEM}; use mssf_core::sync::wait::WaitableCallback; use windows_core::Interface; diff --git a/crates/samples/echomain-stateful/Cargo.toml b/crates/samples/echomain-stateful/Cargo.toml index b60dd1cf..fcc2007b 100644 --- a/crates/samples/echomain-stateful/Cargo.toml +++ b/crates/samples/echomain-stateful/Cargo.toml @@ -8,22 +8,16 @@ tracing.workspace = true tracing-subscriber.workspace = true ctrlc = { version = "3.0", features = ["termination"] } tokio = { version = "1", features = ["full"] } -windows-core = "0.56" +windows-core = "0.57" [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "implement" ] [dependencies.mssf-com] path = "../../libs/com" -features = [ - "implement", - "ServiceFabric", - "ServiceFabric_FabricCommon", - "ServiceFabric_FabricCommon_FabricRuntime" -] [dependencies.mssf-core] path = "../../libs/core" diff --git a/crates/samples/echomain-stateful/src/app.rs b/crates/samples/echomain-stateful/src/app.rs index 1b594cbd..ca173768 100644 --- a/crates/samples/echomain-stateful/src/app.rs +++ b/crates/samples/echomain-stateful/src/app.rs @@ -10,16 +10,20 @@ use std::convert::TryInto; use std::io::Error; use std::thread::JoinHandle; -use mssf_com::FabricCommon::FabricRuntime::{ +use mssf_com::FabricCommon::{ + IFabricAsyncOperationCallback, IFabricAsyncOperationContext, IFabricStringResult, +}; +use mssf_com::FabricRuntime::{ IFabricPrimaryReplicator, IFabricPrimaryReplicator_Impl, IFabricReplicator, IFabricReplicator_Impl, IFabricRuntime, IFabricStatefulServiceFactory, IFabricStatefulServiceFactory_Impl, IFabricStatefulServicePartition, IFabricStatefulServiceReplica, IFabricStatefulServiceReplica_Impl, }; -use mssf_com::FabricCommon::{ - IFabricAsyncOperationCallback, IFabricAsyncOperationContext, IFabricStringResult, +use mssf_com::FabricTypes::{ + FABRIC_EPOCH, FABRIC_REPLICA_INFORMATION, FABRIC_REPLICA_OPEN_MODE, + FABRIC_REPLICA_OPEN_MODE_INVALID, FABRIC_REPLICA_ROLE, FABRIC_REPLICA_SET_CONFIGURATION, + FABRIC_REPLICA_SET_QUORUM_MODE, FABRIC_URI, }; -use mssf_com::FABRIC_URI; use mssf_core::{strings::HSTRINGWrap, sync::wait::AsyncContext}; use tokio::sync::oneshot::{self, Sender}; use tracing::info; @@ -131,8 +135,8 @@ impl IFabricReplicator_Impl for AppFabricReplicator { fn BeginChangeRole( &self, - _epoch: *const mssf_com::FABRIC_EPOCH, - _role: mssf_com::FABRIC_REPLICA_ROLE, + _epoch: *const FABRIC_EPOCH, + _role: FABRIC_REPLICA_ROLE, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> windows_core::Result { info!("AppFabricReplicator::BeginChangeRole"); @@ -152,7 +156,7 @@ impl IFabricReplicator_Impl for AppFabricReplicator { fn BeginUpdateEpoch( &self, - _epoch: *const mssf_com::FABRIC_EPOCH, + _epoch: *const FABRIC_EPOCH, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> windows_core::Result { info!("AppFabricReplicator::BeginUpdateEpoch"); @@ -222,15 +226,15 @@ impl IFabricPrimaryReplicator_Impl for AppFabricReplicator { } fn UpdateCatchUpReplicaSetConfiguration( &self, - _currentconfiguration: *const mssf_com::FABRIC_REPLICA_SET_CONFIGURATION, - _previousconfiguration: *const mssf_com::FABRIC_REPLICA_SET_CONFIGURATION, + _currentconfiguration: *const FABRIC_REPLICA_SET_CONFIGURATION, + _previousconfiguration: *const FABRIC_REPLICA_SET_CONFIGURATION, ) -> ::windows_core::Result<()> { info!("AppFabricReplicator::UpdateCatchUpReplicaSetConfiguration"); Ok(()) } fn BeginWaitForCatchUpQuorum( &self, - _catchupmode: mssf_com::FABRIC_REPLICA_SET_QUORUM_MODE, + _catchupmode: FABRIC_REPLICA_SET_QUORUM_MODE, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> ::windows_core::Result { info!("AppFabricReplicator::BeginWaitForCatchUpQuorum"); @@ -248,14 +252,14 @@ impl IFabricPrimaryReplicator_Impl for AppFabricReplicator { } fn UpdateCurrentReplicaSetConfiguration( &self, - _currentconfiguration: *const mssf_com::FABRIC_REPLICA_SET_CONFIGURATION, + _currentconfiguration: *const FABRIC_REPLICA_SET_CONFIGURATION, ) -> ::windows_core::Result<()> { info!("AppFabricReplicator::UpdateCurrentReplicaSetConfiguration"); Ok(()) } fn BeginBuildReplica( &self, - _replica: *const mssf_com::FABRIC_REPLICA_INFORMATION, + _replica: *const FABRIC_REPLICA_INFORMATION, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> ::windows_core::Result { info!("AppFabricReplicator::BeginBuildReplica"); @@ -307,13 +311,13 @@ impl AppInstance { impl IFabricStatefulServiceReplica_Impl for AppInstance { fn BeginOpen( &self, - openmode: mssf_com::FABRIC_REPLICA_OPEN_MODE, + openmode: FABRIC_REPLICA_OPEN_MODE, partition: ::core::option::Option<&IFabricStatefulServicePartition>, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> ::windows_core::Result { info!("echo_replica::BeginOpen"); - if openmode == mssf_com::FABRIC_REPLICA_OPEN_MODE_INVALID { + if openmode == FABRIC_REPLICA_OPEN_MODE_INVALID { //TODO: return error } @@ -422,7 +426,7 @@ impl IFabricStatefulServiceReplica_Impl for AppInstance { fn BeginChangeRole( &self, - _newrole: mssf_com::FABRIC_REPLICA_ROLE, + _newrole: FABRIC_REPLICA_ROLE, callback: ::core::option::Option<&IFabricAsyncOperationCallback>, ) -> ::windows_core::Result { info!("AppInstance::BeginChangeRole"); diff --git a/crates/samples/echomain-stateful/src/main.rs b/crates/samples/echomain-stateful/src/main.rs index 824e3dcc..5827754b 100644 --- a/crates/samples/echomain-stateful/src/main.rs +++ b/crates/samples/echomain-stateful/src/main.rs @@ -3,12 +3,12 @@ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ -use mssf_com::FabricCommon::FabricRuntime::{ +use mssf_com::FabricCommon::IFabricAsyncOperationCallback; +use mssf_com::FabricRuntime::{ FabricBeginGetNodeContext, FabricCreateRuntime, FabricEndGetNodeContext, FabricGetActivationContext, IFabricCodePackageActivationContext, IFabricNodeContextResult, IFabricRuntime, }; -use mssf_com::FabricCommon::IFabricAsyncOperationCallback; use mssf_core::sync::wait::WaitableCallback; use std::sync::mpsc::channel; use tracing::info; diff --git a/crates/samples/echomain-stateful2/Cargo.toml b/crates/samples/echomain-stateful2/Cargo.toml index e4eebd94..c3402b48 100644 --- a/crates/samples/echomain-stateful2/Cargo.toml +++ b/crates/samples/echomain-stateful2/Cargo.toml @@ -9,23 +9,17 @@ edition = "2021" tracing.workspace = true tracing-subscriber.workspace = true tokio = { version = "1", features = ["full"] } -windows-core = "0.56" +windows-core = "0.57" trait-variant = "0.1.1" [dependencies.windows] -version = "0.56" +version = "0.57" features = [ "implement" ] [dependencies.mssf-com] path = "../../libs/com" -features = [ - "implement", - "ServiceFabric", - "ServiceFabric_FabricCommon", - "ServiceFabric_FabricCommon_FabricRuntime" -] [dependencies.mssf-core] path = "../../libs/core" \ No newline at end of file diff --git a/crates/samples/echomain-stateful2/src/main.rs b/crates/samples/echomain-stateful2/src/main.rs index 4bce65c0..afc0e8c8 100644 --- a/crates/samples/echomain-stateful2/src/main.rs +++ b/crates/samples/echomain-stateful2/src/main.rs @@ -4,9 +4,9 @@ // ------------------------------------------------------------ use crate::statefulstore::Factory; -use mssf_com::FabricCommon::{ +use mssf_com::{ + FabricCommon::IFabricAsyncOperationCallback, FabricRuntime::{FabricBeginGetNodeContext, FabricEndGetNodeContext, IFabricNodeContextResult}, - IFabricAsyncOperationCallback, }; use mssf_core::{ runtime::{ diff --git a/crates/samples/echomain-stateful2/src/statefulstore.rs b/crates/samples/echomain-stateful2/src/statefulstore.rs index 98fe5099..c136606e 100644 --- a/crates/samples/echomain-stateful2/src/statefulstore.rs +++ b/crates/samples/echomain-stateful2/src/statefulstore.rs @@ -3,7 +3,7 @@ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ -use mssf_com::FABRIC_REPLICATOR_ADDRESS; +use mssf_com::FabricTypes::FABRIC_REPLICATOR_ADDRESS; use mssf_core::runtime::{ executor::DefaultExecutor, stateful::{ diff --git a/crates/samples/kvstore/Cargo.toml b/crates/samples/kvstore/Cargo.toml index 15821ffb..3e748d94 100644 --- a/crates/samples/kvstore/Cargo.toml +++ b/crates/samples/kvstore/Cargo.toml @@ -9,16 +9,10 @@ edition = "2021" tracing.workspace = true tracing-subscriber.workspace = true tokio = { version = "1", features = ["full"] } -windows-core = "0.56" +windows-core = "0.57" [dependencies.mssf-com] path = "../../libs/com" -features = [ - "implement", - "ServiceFabric", - "ServiceFabric_FabricCommon", - "ServiceFabric_FabricCommon_FabricRuntime" -] [dependencies.mssf-core] path = "../../libs/core" \ No newline at end of file diff --git a/crates/samples/kvstore/src/kvstore.rs b/crates/samples/kvstore/src/kvstore.rs index 3d6a1ef6..e5f42ed4 100644 --- a/crates/samples/kvstore/src/kvstore.rs +++ b/crates/samples/kvstore/src/kvstore.rs @@ -1,10 +1,10 @@ use std::{cell::Cell, sync::Mutex}; use mssf_com::{ - FabricCommon::FabricRuntime::{ + FabricRuntime::{ IFabricKeyValueStoreReplica2, IFabricStatefulServiceReplica, IFabricStoreEventHandler, }, - FABRIC_REPLICATOR_ADDRESS, + FabricTypes::FABRIC_REPLICATOR_ADDRESS, }; use mssf_core::{ runtime::{ diff --git a/crates/tools/api/Cargo.toml b/crates/tools/api/Cargo.toml index 0a345a44..b12eac9c 100644 --- a/crates/tools/api/Cargo.toml +++ b/crates/tools/api/Cargo.toml @@ -5,5 +5,4 @@ edition = "2018" publish = false [dependencies] -windows-bindgen = "0.56" -windows-metadata = "0.56" +windows-bindgen = "0.57" diff --git a/crates/tools/api/README.md b/crates/tools/api/README.md index 3bc98530..5f0eaeee 100644 --- a/crates/tools/api/README.md +++ b/crates/tools/api/README.md @@ -1,2 +1,2 @@ # tool_api -This crate provides a single executable to generate fabric_base crate. \ No newline at end of file +This crate provides a single executable to generate mssf-com crate. \ No newline at end of file diff --git a/crates/tools/api/src/main.rs b/crates/tools/api/src/main.rs index da00c6b6..66016e73 100644 --- a/crates/tools/api/src/main.rs +++ b/crates/tools/api/src/main.rs @@ -2,11 +2,150 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ +use std::{ + fs::{self, File}, + io::{self, BufRead, Write}, +}; use windows_bindgen::{bindgen, Result}; fn main() -> Result<()> { - let log = bindgen(["--etc", "bindings.txt"])?; - println!("{}", log); + let winmd = "./build/_deps/fabric_metadata-src/.windows/winmd/Microsoft.ServiceFabric.winmd"; + // create output dir if not exist + fs::create_dir_all("crates/libs/com/src/ServiceFabric/").unwrap(); + // Generate FabricTypes + { + let out_file = "crates/libs/com/src/ServiceFabric/FabricTypes.rs"; + let log = bindgen([ + "--in", + winmd, + "--out", + out_file, + "--filter", + "Microsoft.ServiceFabric", // include fabric types + "--filter", + "!Microsoft.ServiceFabric.FabricCommon", // exclude other contents + "--config", + "implement", + ])?; + println!("{}", log); + // TODO: need to modify the generated files. + let mut lines = read_file_as_lines(out_file); + remove_namespace(&mut lines, "pub mod ServiceFabric "); + write_content(out_file, lines); + } + // Generate FabricCommon + { + let out_file = "crates/libs/com/src/ServiceFabric/FabricCommon.rs"; + let log = bindgen([ + "--in", + winmd, + "--out", + out_file, + // include types + "--filter", + "Microsoft.ServiceFabric.FabricCommon", + "--filter", + // exclude types + "!Microsoft.ServiceFabric.FabricCommon.FabricClient", + "--filter", + "!Microsoft.ServiceFabric.FabricCommon.FabricRuntime", + "--filter", + "!Microsoft.ServiceFabric.FabricCommon.FabricTransport", + "--config", + "implement", + ])?; + println!("{}", log); + let mut lines = read_file_as_lines(out_file); + remove_namespace(&mut lines, "pub mod ServiceFabric"); + remove_namespace(&mut lines, "pub mod FabricCommon"); + write_content(out_file, lines); + } + // Generate FabricRuntime + { + let out_file = "crates/libs/com/src/ServiceFabric/FabricRuntime.rs"; + let log = bindgen([ + "--in", + winmd, + "--out", + out_file, + "--filter", + "Microsoft.ServiceFabric.FabricCommon.FabricRuntime", // include fabric types + "--config", + "implement", + ])?; + println!("{}", log); + let mut lines = read_file_as_lines(out_file); + remove_namespace(&mut lines, "pub mod ServiceFabric"); + remove_namespace(&mut lines, "pub mod FabricCommon"); + remove_namespace(&mut lines, "pub mod FabricRuntime"); + write_content(out_file, lines); + } + + // Generate FabricClient + { + let out_file = "crates/libs/com/src/ServiceFabric/FabricClient.rs"; + let log = bindgen([ + "--in", + winmd, + "--out", + out_file, + "--filter", + "Microsoft.ServiceFabric.FabricCommon.FabricClient", // include fabric types + "--config", + "implement", + ])?; + println!("{}", log); + let mut lines = read_file_as_lines(out_file); + remove_namespace(&mut lines, "pub mod ServiceFabric"); + remove_namespace(&mut lines, "pub mod FabricCommon"); + remove_namespace(&mut lines, "pub mod FabricClient"); + write_content(out_file, lines); + } + + // Generate FabricTransport + { + let out_file = "crates/libs/com/src/ServiceFabric/FabricTransport.rs"; + let log = bindgen([ + "--in", + winmd, + "--out", + out_file, + "--filter", + "Microsoft.ServiceFabric.FabricCommon.FabricTransport", // include fabric types + "--config", + "implement", + ])?; + println!("{}", log); + let mut lines = read_file_as_lines(out_file); + remove_namespace(&mut lines, "pub mod ServiceFabric"); + remove_namespace(&mut lines, "pub mod FabricCommon"); + remove_namespace(&mut lines, "pub mod FabricTransport"); + write_content(out_file, lines); + } Ok(()) } + +fn read_file_as_lines(path: &str) -> Vec { + let r = File::open(path).unwrap(); + let reader = io::BufReader::new(r); + // process each line and skip the lines targeted + reader.lines().map(|x| x.unwrap()).collect::>() +} + +fn remove_namespace(lines: &mut Vec, skip_str: &str) { + lines.retain(|line| { + if line.contains(skip_str) { + return false; + } + true + }); + lines.pop(); +} + +fn write_content(path: &str, lines: Vec) { + File::create(path) + .unwrap() + .write_all(lines.join("\n").as_bytes()) + .unwrap(); +}