mullvad / windows-service-rs

Windows services in Rust
Apache License 2.0
521 stars 85 forks source link

Add `Service.set_preshutdown_timeout` #97

Closed citreae535 closed 1 year ago

citreae535 commented 1 year ago

This function wraps the Win32 API which configures the pre-shutdown timeout value of a service. The timeout is only relevant for services that accept and handle ServiceControl::Preshutdown control code.


This change is Reviewable