diff options
author | dennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-06-24 12:42:27 +0000 |
---|---|---|
committer | dennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2008-06-24 12:42:27 +0000 |
commit | 0b600eaca401c38e35839d2afbc7ffef4668cc89 (patch) | |
tree | af570f6d14273ba2bf7c7203b1e542e9c5460ee5 /windows | |
parent | a1cdf84419972ae18fec1896f59ab9be68be988b (diff) | |
download | neo-layout-0b600eaca401c38e35839d2afbc7ffef4668cc89.tar.gz neo-layout-0b600eaca401c38e35839d2afbc7ffef4668cc89.tar.bz2 neo-layout-0b600eaca401c38e35839d2afbc7ffef4668cc89.zip |
Minimale Schönheitskorrektur im LED-Methodenteil.
git-svn-id: https://svn.neo-layout.org@567 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r-- | windows/autohotkey/neo20-all-in-one.ahk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/autohotkey/neo20-all-in-one.ahk b/windows/autohotkey/neo20-all-in-one.ahk index 979cb94..9d436c7 100644 --- a/windows/autohotkey/neo20-all-in-one.ahk +++ b/windows/autohotkey/neo20-all-in-one.ahk @@ -4576,7 +4576,7 @@ KeyboardLED(LEDvalue, Cmd) ; LEDvalue: ScrollLock=1, NumLock=2, CapsLock=4 ; Cm input=
success := DllCall( "DeviceIoControl"
, "uint", h_device
- , "uint", CTL_CODE( 0x0000000b ; FILE_DEVICE_KEYBOARD
+ , "uint", CTL_CODE_LED( 0x0000000b ; FILE_DEVICE_KEYBOARD
, 2
, 0 ; METHOD_BUFFERED
, 0 ) ; FILE_ANY_ACCESS
@@ -4588,7 +4588,7 @@ KeyboardLED(LEDvalue, Cmd) ; LEDvalue: ScrollLock=1, NumLock=2, CapsLock=4 ; Cm , "uint", 0 )
}
-CTL_CODE( p_device_type, p_function, p_method, p_access )
+CTL_CODE_LED( p_device_type, p_function, p_method, p_access )
{
Return, ( p_device_type << 16 ) | ( p_access << 14 ) | ( p_function << 2 ) | p_method
}
@@ -4608,7 +4608,7 @@ NtCreateFileLED(ByRef wfilename,desiredaccess,sharemode,createdist,flags,fattrib InsertIntegerLED(&pus,objattrib,8)
status:=DllCall("ntdll\ZwCreateFile","str",fh,"UInt",desiredaccess,"str",objattrib,"str",io,"UInt",0,"UInt",fattribs
,"UInt",sharemode,"UInt",createdist,"UInt",flags,"UInt",0,"UInt",0, "UInt")
- return % ExtractIntegerLED(fh)
+ return ExtractIntegerLED(fh)
}
|