Apparently there is a bug in the sample script for _WinAPI_EnumDisplayDevices. This happened with my older install and with the latest version
There's an exitloop that doesn't work. It enumerates about four devices then just loops forever displaying nothing.
I don't know the solution for this. I'm using Windows 7 64-bit, UAC is turned on (default)
Original sample code in help:
#include <WinAPI.au3>
_Main()
Func _Main()
Local $aDevice, $i = 0, $text
While 1
$aDevice = _WinAPI_En