###User Defined Function###
_WinAPI_ShutdownBlockReasonDestroy

###Description###
Indicates that the system can be shut down and frees the reason string.

###Syntax###
#include <WinAPISys.au3>
_WinAPI_ShutdownBlockReasonDestroy ( $hWnd )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the main window of the application.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True
Failure 	False
@@End@@


###Remarks###
This function can only be called from the thread that created the window specified by the $hWnd parameter,
otherwise, the function fails and the last error code is ERROR_ACCESS_DENIED (5).

This function requires <strong>Windows Vista or later</strong>.


###Related###


###See Also###
@@MsdnLink@@ ShutdownBlockReasonDestroy


###Example###
@@IncludeExample@@
