WinLib.Utils.ShutdownBlockQuery - charonn0/WinLib GitHub Wiki
#WinLib.Utils.ShutdownBlockQuery
##Method Signature Protected Function ShutdownBlockQuery(OwnerWindow As Window = Nil) As String
##Parameters
| Name | Type | Comment |
|---|---|---|
| OwnerWindow | Window |
The window that owns the block. (Optional) |
##Return value The reason string for the block, if any.
##Notes
Returns the reason for the block owned by OwnerWindow or an empty string.
OwnerWindow identifies the block, and there may be more than one block active at any given moment. If you do not pass a window then your application's frontmost window will be used (AKA Window(0).)
##See also