Skip to content

update windows-sys to v0.60 #139

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bitflags = "2.3"
widestring = "1"

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59.0"
version = "0.60"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
Expand Down
16 changes: 8 additions & 8 deletions examples/notify_service.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// This is an example program that demonstrates how to send a user-defined control code to a given service.
///
/// Run in command prompt as admin:
///
/// `notify_service.exe SERVICE_NAME`
///
/// Replace the `SERVICE_NAME` placeholder above with the name of the service that the program
/// should notify.
//! This is an example program that demonstrates how to send a user-defined control code to a given service.
//!
//! Run in command prompt as admin:
//!
//! `notify_service.exe SERVICE_NAME`
//!
//! Replace the `SERVICE_NAME` placeholder above with the name of the service that the program
//! should notify.

#[cfg(windows)]
fn main() -> windows_service::Result<()> {
Expand Down
18 changes: 9 additions & 9 deletions examples/pause_continue.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/// This is an example program that demonstrates how to pause and resume a given service.
///
/// Run in command prompt as admin:
///
/// `pause_continue.exe SERVICE_NAME`
///
/// Replace the `SERVICE_NAME` placeholder above with the name of the service that the program
/// should manipulate. By default the program manipulates a WMI system service (Winmgmt) when the
/// first argument is omitted.
//! This is an example program that demonstrates how to pause and resume a given service.
//!
//! Run in command prompt as admin:
//!
//! `pause_continue.exe SERVICE_NAME`
//!
//! Replace the `SERVICE_NAME` placeholder above with the name of the service that the program
//! should manipulate. By default the program manipulates a WMI system service (Winmgmt) when the
//! first argument is omitted.

#[cfg(windows)]
fn main() -> windows_service::Result<()> {
Expand Down