###User Defined Function###
_WinAPI_GetTopWindow

###Description###
Retrieves a handle to the child window at the top of the Z order.

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


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the parent window whose child windows are to be examined. If this parameter is 0, the function
	returns a handle to the window at the top of the Z order.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	Handle to the child window at the top of the Z order. If the specified window has no child windows,
	the return value is 0.
Failure 	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ GetTopWindow
