-
Notifications
You must be signed in to change notification settings - Fork 2
Update Rust crate wmi to 0.17.0 #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request updates the Sequence diagram for executing a WMI class methodsequenceDiagram
participant Client
participant WMIConnection
participant IWbemClassWrapper
participant WMI
Client->>WMIConnection: exec_class_method::<Win32_Process, _>("Create", in_params)
WMIConnection->>IWbemClassWrapper: get_object("Win32_Process")
IWbemClassWrapper->>WMI: Get class object
WMI-->>IWbemClassWrapper: Returns class object
IWbemClassWrapper-->>WMIConnection: Returns IWbemClassObject
WMIConnection->>IWbemClassWrapper: get_method("Create")
IWbemClassWrapper->>WMI: Get method object
WMI-->>IWbemClassWrapper: Returns method object
IWbemClassWrapper-->>WMIConnection: Returns IWbemClassObject
WMIConnection->>IWbemClassWrapper: spawn_instance()
IWbemClassWrapper->>WMI: Create instance
WMI-->>IWbemClassWrapper: Returns instance
IWbemClassWrapper-->>WMIConnection: Returns IWbemClassObject
WMIConnection->>IWbemClassWrapper: put_property("CommandLine", "explorer.exe")
IWbemClassWrapper->>WMI: Set property
WMI-->>IWbemClassWrapper: Success
WMIConnection->>WMIConnection: exec_method("Win32_Process", "Create", in_params)
WMIConnection->>WMI: Execute method
WMI-->>WMIConnection: Returns result
WMIConnection-->>Client: Returns CreateOutput
Updated class diagram for WMI method callingclassDiagram
class WMIConnection {
+exec_class_method<Class, Out>(method_name: &str, in_params: In) Out
+exec_instance_method<Class, Out>(path: &str, method_name: &str, in_params: In) Out
}
note for WMIConnection "The generics for exec_class_method and exec_instance_method have changed."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
39e5ec1
to
f5f5424
Compare
This PR contains the following updates:
0.15.0
->0.17.0
Release Notes
ohadravid/wmi-rs (wmi)
v0.17.0
Compare Source
What's Changed
Breaking Changes
SafeArrayAccessor::new
now accepts aNonNull<SAFEARRAY>
instead of a reference, in https://github.com/ohadravid/wmi-rs/pull/124New Contributors
Full Changelog: ohadravid/wmi-rs@v0.16.0...v0.17.0
v0.16.0
Compare Source
This version adds support for more serialization inputs (nested structures, array), and changes the public API to be more cohesive.
New Features
Nested structrure can be serialized when provided as method parameters (#120):
Arrays can be serialized when provided as method parameters (#121):
More lower-level API functions are exposed for
IWbemClassWrapper
:Breaking Changes
_native
) methods to match the original names (exec_method_native_wrapper
->exec_method
,exec_query_native_wrapper
->exec_query
, etc.)What's Changed
IWbemClassWrapper
andWMIConnection
, rename lower-level functions by @ohadravid in https://github.com/ohadravid/wmi-rs/pull/120Full Changelog: ohadravid/wmi-rs@v0.15.2...v0.16.0
v0.15.2
Compare Source
What's Changed
put_property
method forIWbemClassWrapper
by @ohadravid in https://github.com/ohadravid/wmi-rs/pull/119Full Changelog: ohadravid/wmi-rs@v0.15.1...v0.15.2
v0.15.1
Compare Source
What's Changed
windows
andwindows-core
crates to version 0.60Full Changelog: ohadravid/wmi-rs@v0.15.0...v0.15.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.