#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Width = 250
$Height = 33
GUISetBkColor(0xFFFFFF)
$hGUI = GUICreate("", $Width, $Height, -1, -1, BitOR($WS_POPUP, $WS_BORDER))
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetCursor(-1, 0)
$Label3=GUICtrlCreateLabel ("", 29,0,1000,2000)
_info()
GUISetState ()
While 1
$msg = GUIGetMsg()
Select
Case $msg = -3
ExitLoop
EndSelect
WEnd
; функция чтения информации о выбранном диске
Func _info()
GUICtrlSetData($Label3,DriveGetSerial( "C:\" ))
GUICtrlSetFont(-1, 30, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
EndFunc ;==>_info