You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
##Method Signature
Protected Function ShutdownBlock(Reason As String) As Boolean
##Parameters
Name
Type
Comment
Reason
String
A human-readable reason for blocking system shutdown
##Return value
Returns True on success.
##Notes
Blocks system shutdown for the specified reason. The user may override a block. This feature is available only on Windows Vista and newer. Does not block shutdowns not initiated by ShutdownInitiate.