Skip to content

Commit c0be687

Browse files
committed
Update readme
1 parent 95d4dbf commit c0be687

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ A collection of useful AutoHotkey scripts and functions
1010
* GUID / UUID
1111
* Hash / Checksum
1212
* Process / Thread / Handle / Module
13+
* Windows Messages
1314

1415

1516
## Contributing

src/messages/WM_DEVICECHANGE.ahk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ OnMessage(0x0219, "WM_DEVICECHANGE")
1616
WM_DEVICECHANGE(wParam, lParam)
1717
{
1818
static init := OnMessage(0x0219, "WM_DEVICECHANGE")
19-
if (wParam = 0x8000) || (wParam = 0x8004) && ((NumGet(lParam+4, "UInt")) = 0x2) {
20-
i := 0, mask := NumGet(lParam+12, "UInt")
19+
if (wParam = 0x8000) || (wParam = 0x8004) && ((NumGet(lParam+4, "uint")) = 0x2) {
20+
i := 0, mask := NumGet(lParam+12, "uint")
2121
while (mask > 1) && (++i < 0x1A)
2222
mask >>= 1
2323
DeviceChangeInfo(Chr(0x41 + i) ":\", wParam)

0 commit comments

Comments
 (0)