###User Defined Function###
_WinAPI_DestroyWindow

###Description###
Destroys the specified window

###Syntax###
#include <WinAPI.au3>
_WinAPI_DestroyWindow ( $hWnd )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the window to be destroyed
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True
Failure:	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
You cannot use _WinAPI_DestroyWindow to destroy a window created by a different thread


###Related###
_WinAPI_CreateWindowEx


###See Also###
@@MsdnLink@@ DestroyWindow
