Docs.rs
windows-sys-0.59.0
windows-sys 0.59.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kennykerr
Dependencies
windows-targets ^0.52.6
normal
Versions
100%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
windows_sys
0.59.0
Module Shutdown
Constants
Functions
Type Aliases
In windows_sys::Win32::System
Module
windows_sys
::
Win32
::
System
::
Shutdown
Copy item path
[
−
]
Constants
§
EWX_ARSO
EWX_BOOTOPTIONS
EWX_CHECK_SAFE_FOR_SERVER
EWX_FORCE
EWX_FORCEIFHUNG
EWX_HYBRID_SHUTDOWN
EWX_LOGOFF
EWX_POWEROFF
EWX_QUICKRESOLVE
EWX_REBOOT
EWX_RESTARTAPPS
EWX_SHUTDOWN
EWX_SYSTEM_INITIATED
MAX_NUM_REASONS
MAX_REASON_BUGID_LEN
MAX_REASON_COMMENT_LEN
MAX_REASON_DESC_LEN
MAX_REASON_NAME_LEN
POLICY_SHOWREASONUI_ALWAYS
POLICY_SHOWREASONUI_NEVER
POLICY_SHOWREASONUI_SERVERONLY
POLICY_SHOWREASONUI_WORKSTATIONONLY
SHTDN_REASON_FLAG_CLEAN_UI
SHTDN_REASON_FLAG_COMMENT_REQUIRED
SHTDN_REASON_FLAG_DIRTY_PROBLEM_ID_REQUIRED
SHTDN_REASON_FLAG_DIRTY_UI
SHTDN_REASON_FLAG_MOBILE_UI_RESERVED
SHTDN_REASON_FLAG_PLANNED
SHTDN_REASON_FLAG_USER_DEFINED
SHTDN_REASON_LEGACY_API
SHTDN_REASON_MAJOR_APPLICATION
SHTDN_REASON_MAJOR_HARDWARE
SHTDN_REASON_MAJOR_LEGACY_API
SHTDN_REASON_MAJOR_NONE
SHTDN_REASON_MAJOR_OPERATINGSYSTEM
SHTDN_REASON_MAJOR_OTHER
SHTDN_REASON_MAJOR_POWER
SHTDN_REASON_MAJOR_SOFTWARE
SHTDN_REASON_MAJOR_SYSTEM
SHTDN_REASON_MINOR_BLUESCREEN
SHTDN_REASON_MINOR_CORDUNPLUGGED
SHTDN_REASON_MINOR_DC_DEMOTION
SHTDN_REASON_MINOR_DC_PROMOTION
SHTDN_REASON_MINOR_DISK
SHTDN_REASON_MINOR_ENVIRONMENT
SHTDN_REASON_MINOR_HARDWARE_DRIVER
SHTDN_REASON_MINOR_HOTFIX
SHTDN_REASON_MINOR_HOTFIX_UNINSTALL
SHTDN_REASON_MINOR_HUNG
SHTDN_REASON_MINOR_INSTALLATION
SHTDN_REASON_MINOR_MAINTENANCE
SHTDN_REASON_MINOR_MMC
SHTDN_REASON_MINOR_NETWORKCARD
SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY
SHTDN_REASON_MINOR_NONE
SHTDN_REASON_MINOR_OTHER
SHTDN_REASON_MINOR_OTHERDRIVER
SHTDN_REASON_MINOR_POWER_SUPPLY
SHTDN_REASON_MINOR_PROCESSOR
SHTDN_REASON_MINOR_RECONFIG
SHTDN_REASON_MINOR_SECURITY
SHTDN_REASON_MINOR_SECURITYFIX
SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL
SHTDN_REASON_MINOR_SERVICEPACK
SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL
SHTDN_REASON_MINOR_SYSTEMRESTORE
SHTDN_REASON_MINOR_TERMSRV
SHTDN_REASON_MINOR_UNSTABLE
SHTDN_REASON_MINOR_UPGRADE
SHTDN_REASON_MINOR_WMI
SHTDN_REASON_NONE
SHTDN_REASON_UNKNOWN
SHTDN_REASON_VALID_BIT_MASK
SHUTDOWN_ARSO
SHUTDOWN_CHECK_SAFE_FOR_SERVER
SHUTDOWN_FORCE_OTHERS
SHUTDOWN_FORCE_SELF
SHUTDOWN_GRACE_OVERRIDE
SHUTDOWN_HYBRID
SHUTDOWN_INSTALL_UPDATES
SHUTDOWN_MOBILE_UI
SHUTDOWN_NOREBOOT
SHUTDOWN_POWEROFF
SHUTDOWN_RESTART
SHUTDOWN_RESTARTAPPS
SHUTDOWN_RESTART_BOOTOPTIONS
SHUTDOWN_SKIP_SVC_PRESHUTDOWN
SHUTDOWN_SOFT_REBOOT
SHUTDOWN_SYSTEM_INITIATED
SHUTDOWN_TYPE_LEN
SHUTDOWN_VAIL_CONTAINER
SNAPSHOT_POLICY_ALWAYS
SNAPSHOT_POLICY_NEVER
SNAPSHOT_POLICY_UNPLANNED
Functions
§
AbortSystemShutdownA
⚠
AbortSystemShutdownW
⚠
CheckForHiberboot
⚠
ExitWindowsEx
⚠
InitiateShutdownA
⚠
InitiateShutdownW
⚠
InitiateSystemShutdownA
⚠
InitiateSystemShutdownExA
⚠
InitiateSystemShutdownExW
⚠
InitiateSystemShutdownW
⚠
LockWorkStation
⚠
ShutdownBlockReasonCreate
⚠
ShutdownBlockReasonDestroy
⚠
ShutdownBlockReasonQuery
⚠
Type Aliases
§
EXIT_WINDOWS_FLAGS
SHUTDOWN_FLAGS
SHUTDOWN_REASON