UDF > WinAPIEx > System > Windows >


_WinAPI_GetDesktopWindow

Obtient le handle de la fenêtre du bureau de Windows

#include <WinAPISysWin.au3>
_WinAPI_GetDesktopWindow ( )

Valeur de retour

Retourne le handle de la fenêtre du bureau

Voir aussi

Consultez GetDesktopWindow dans la librairie MSDN.

Exemple

#include <MsgBoxConstants.au3>
#include <WinAPISysWin.au3>

Example()

Func Example()
    Local $hWin = _WinAPI_GetDesktopWindow()
    MsgBox($MB_SYSTEMMODAL, "", WinGetTitle($hWin))
    MsgBox($MB_SYSTEMMODAL, "", $hWin)
EndFunc   ;==>Example