From 0b600eaca401c38e35839d2afbc7ffef4668cc89 Mon Sep 17 00:00:00 2001 From: dennis Date: Tue, 24 Jun 2008 12:42:27 +0000 Subject: Minimale Schönheitskorrektur im LED-Methodenteil. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@567 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/autohotkey/neo20-all-in-one.ahk | 6 +++--- 1 file 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) } -- cgit v1.2.3