Code: Alles auswählen
Structure LASTINPUTINFO
cbSize.l
dwTime.l
EndStructure
PLASTINPUTINFO.LASTINPUTINFO
PLASTINPUTINFO\cbSize = SizeOf(PLASTINPUTINFO)
Repeat
GetLastInputInfo_(@PLASTINPUTINFO)
Debug PLASTINPUTINFO\dwTime ;letzte maus/key - "bewegung"
Debug GetTickCount_() ;system count
Delay(100)
ForEver
