ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
August 2005
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
23 participants
669 discussions
Start a n
N
ew thread
[mbosma] 17118: add case if _NO_COM is defined structure _DDRAWI_DDRAWSURFACE_MORE
by mbosma@svn.reactos.com
add case if _NO_COM is defined structure _DDRAWI_DDRAWSURFACE_MORE Modified: trunk/reactos/w32api/include/ddk/ddrawi.h _____ Modified: trunk/reactos/w32api/include/ddk/ddrawi.h --- trunk/reactos/w32api/include/ddk/ddrawi.h 2005-08-06 20:23:08 UTC (rev 17117) +++ trunk/reactos/w32api/include/ddk/ddrawi.h 2005-08-06 22:08:13 UTC (rev 17118) @@ -934,6 +934,41 @@ DWORD dwFVF; LPVOID lpVB; } DDRAWI_DDRAWSURFACE_MORE; +#else +typedef struct _DDRAWI_DDRAWSURFACE_MORE { + DWORD dwSize; + PVOID lpIUnknowns; + LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl; + DWORD dwPageLockCount; + DWORD dwBytesAllocated; + LPDDRAWI_DIRECTDRAW_INT lpDD_int; + DWORD dwMipMapCount; + LPDDRAWI_DDRAWCLIPPER_INT lpDDIClipper; + /* DirectX 5.0 */ + LPHEAPALIASINFO lpHeapAliasInfo; + DWORD dwOverlayFlags; + VOID *rgjunc; + LPDDRAWI_DDVIDEOPORT_LCL lpVideoPort; + LPDDOVERLAYFX lpddOverlayFX; + DDSCAPSEX ddsCapsEx; + DWORD dwTextureStage; + LPVOID lpDDRAWReserved; + LPVOID lpDDRAWReserved2; + LPVOID lpDDrawReserved3; + DWORD dwDDrawReserved4; + LPVOID lpDDrawReserved5; + LPDWORD lpGammaRamp; + LPDWORD lpOriginalGammaRamp; + LPVOID lpDDrawReserved6; + DWORD dwSurfaceHandle; + DWORD qwDDrawReserved8[2]; + LPVOID lpDDrawReserved9; + DWORD cSurfaces; + LPDDSURFACEDESC2 pCreatedDDSurfaceDesc2; + LPDDRAWI_DDRAWSURFACE_LCL *slist; + DWORD dwFVF; + LPVOID lpVB; +} DDRAWI_DDRAWSURFACE_MORE; #endif /* _NO_COM */ typedef struct _DDRAWI_DDRAWSURFACE_LCL {
19 years, 4 months
1
0
0
0
[weiden] 17117: fixed some uninitialized variables warnings
by weiden@svn.reactos.com
fixed some uninitialized variables warnings Modified: trunk/reactos/subsys/win32k/objects/fillshap.c Modified: trunk/reactos/subsys/win32k/objects/rect.c Modified: trunk/reactos/subsys/win32k/objects/region.c _____ Modified: trunk/reactos/subsys/win32k/objects/fillshap.c --- trunk/reactos/subsys/win32k/objects/fillshap.c 2005-08-06 20:18:59 UTC (rev 17116) +++ trunk/reactos/subsys/win32k/objects/fillshap.c 2005-08-06 20:23:08 UTC (rev 17117) @@ -925,7 +925,7 @@ DC *dc; LPPOINT Safept; LPINT SafePolyPoints; - NTSTATUS Status; + NTSTATUS Status = STATUS_SUCCESS; BOOL Ret; dc = DC_LockDc(hDC); _____ Modified: trunk/reactos/subsys/win32k/objects/rect.c --- trunk/reactos/subsys/win32k/objects/rect.c 2005-08-06 20:18:59 UTC (rev 17116) +++ trunk/reactos/subsys/win32k/objects/rect.c 2005-08-06 20:23:08 UTC (rev 17117) @@ -70,7 +70,7 @@ BOOL STDCALL NtGdiIsEmptyRect(const RECT* UnsafeRect) { - RECT Rect; + RECT Rect = {0}; NTSTATUS Status = STATUS_SUCCESS; _SEH_TRY _____ Modified: trunk/reactos/subsys/win32k/objects/region.c --- trunk/reactos/subsys/win32k/objects/region.c 2005-08-06 20:18:59 UTC (rev 17116) +++ trunk/reactos/subsys/win32k/objects/region.c 2005-08-06 20:23:08 UTC (rev 17117) @@ -2028,7 +2028,7 @@ STDCALL NtGdiCreateEllipticRgnIndirect(CONST PRECT Rect) { - RECT SafeRect; + RECT SafeRect = {0}; NTSTATUS Status = STATUS_SUCCESS; _SEH_TRY @@ -2073,7 +2073,7 @@ HRGN STDCALL NtGdiCreateRectRgnIndirect(CONST PRECT rc) { - RECT SafeRc; + RECT SafeRc = {0}; NTSTATUS Status = STATUS_SUCCESS; _SEH_TRY @@ -3510,8 +3510,9 @@ ProbeForRead(PolyCounts, Count * sizeof(INT), 1); + /* just probe one point for now, we don't know the length of the array yet */ ProbeForRead(pt, - nPoints * sizeof(POINT), + sizeof(POINT), 1); } _SEH_HANDLE @@ -3593,10 +3594,13 @@ _SEH_TRY { + ProbeForRead(pt, + nPoints * sizeof(POINT), + 1); /* pointers were already probed! */ RtlCopyMemory(Safept, pt, - Count * sizeof(POINT)); + nPoints * sizeof(POINT)); } _SEH_HANDLE {
19 years, 4 months
1
0
0
0
[greatlrd] 17116: add #define DDRAWISURFGBL_NOTIFYWHENUNLOCKED
by greatlrd@svn.reactos.com
add #define DDRAWISURFGBL_NOTIFYWHENUNLOCKED Modified: trunk/reactos/w32api/include/ddk/ddrawi.h _____ Modified: trunk/reactos/w32api/include/ddk/ddrawi.h --- trunk/reactos/w32api/include/ddk/ddrawi.h 2005-08-06 20:15:29 UTC (rev 17115) +++ trunk/reactos/w32api/include/ddk/ddrawi.h 2005-08-06 20:18:59 UTC (rev 17116) @@ -848,24 +848,25 @@ DDPIXELFORMAT ddpfSurface; } DDRAWI_DDRAWSURFACE_GBL; -#define DDRAWISURFGBL_MEMFREE 0x00000001 -#define DDRAWISURFGBL_SYSMEMREQUESTED 0x00000002 -#define DDRAWISURFGBL_ISGDISURFACE 0x00000004 -#define DDRAWISURFGBL_SOFTWAREAUTOFLIP 0x00000008 -#define DDRAWISURFGBL_LOCKNOTHOLDINGWIN16LOCK 0x00000010 -#define DDRAWISURFGBL_LOCKVRAMSTYLE 0x00000020 -#define DDRAWISURFGBL_LOCKBROKEN 0x00000040 -#define DDRAWISURFGBL_IMPLICITHANDLE 0x00000080 -#define DDRAWISURFGBL_ISCLIENTMEM 0x00000100 -#define DDRAWISURFGBL_HARDWAREOPSOURCE 0x00000200 -#define DDRAWISURFGBL_HARDWAREOPDEST 0x00000400 -#define DDRAWISURFGBL_HARDWAREOPSTARTED 0x00000600 -#define DDRAWISURFGBL_VPORTINTERLEAVED 0x00000800 -#define DDRAWISURFGBL_VPORTDATA 0x00001000 -#define DDRAWISURFGBL_LATEALLOCATELINEAR 0x00002000 -#define DDRAWISURFGBL_SYSMEMEXECUTEBUFFER 0x00004000 -#define DDRAWISURFGBL_FASTLOCKHELD 0x00008000 -#define DDRAWISURFGBL_READONLYLOCKHELD 0x00010000 +#define DDRAWISURFGBL_MEMFREE 0x00000001L +#define DDRAWISURFGBL_SYSMEMREQUESTED 0x00000002L +#define DDRAWISURFGBL_ISGDISURFACE 0x00000004L +#define DDRAWISURFGBL_SOFTWAREAUTOFLIP 0x00000008L +#define DDRAWISURFGBL_LOCKNOTHOLDINGWIN16LOCK 0x00000010L +#define DDRAWISURFGBL_LOCKVRAMSTYLE 0x00000020L +#define DDRAWISURFGBL_LOCKBROKEN 0x00000040L +#define DDRAWISURFGBL_IMPLICITHANDLE 0x00000080L +#define DDRAWISURFGBL_ISCLIENTMEM 0x00000100L +#define DDRAWISURFGBL_HARDWAREOPSOURCE 0x00000200L +#define DDRAWISURFGBL_HARDWAREOPDEST 0x00000400L +#define DDRAWISURFGBL_HARDWAREOPSTARTED 0x00000600L +#define DDRAWISURFGBL_VPORTINTERLEAVED 0x00000800L +#define DDRAWISURFGBL_VPORTDATA 0x00001000L +#define DDRAWISURFGBL_LATEALLOCATELINEAR 0x00002000L +#define DDRAWISURFGBL_SYSMEMEXECUTEBUFFER 0x00004000L +#define DDRAWISURFGBL_FASTLOCKHELD 0x00008000L +#define DDRAWISURFGBL_READONLYLOCKHELD 0x00010000L +#define DDRAWISURFGBL_NOTIFYWHENUNLOCKED 0x00200000L typedef struct _DDRAWI_DDRAWSURFACE_GBL_MORE { DWORD dwSize;
19 years, 4 months
1
0
0
0
[weiden] 17115: allow warnings
by weiden@svn.reactos.com
allow warnings Modified: trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml Modified: trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml _____ Modified: trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml --- trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml 2005-08-06 19:42:40 UTC (rev 17114) +++ trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml 2005-08-06 20:15:29 UTC (rev 17115) @@ -1,4 +1,4 @@ -<module name="advapi32_test" type="win32cui" installbase="bin" installname="advapi32_test.exe"> +<module name="advapi32_test" type="win32cui" installbase="bin" installname="advapi32_test.exe" warnings="true"> <include base="advapi32_test">.</include> <define name="__USE_W32API" /> <library>advapi32</library> _____ Modified: trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml --- trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml 2005-08-06 19:42:40 UTC (rev 17114) +++ trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml 2005-08-06 20:15:29 UTC (rev 17115) @@ -1,4 +1,4 @@ -<module name="comctl32_test" type="win32cui" installbase="bin" installname="comctl32_test.exe"> +<module name="comctl32_test" type="win32cui" installbase="bin" installname="comctl32_test.exe" warnings="true"> <include base="comctl32_test">.</include> <define name="__USE_W32API" /> <library>shlwapi</library>
19 years, 4 months
1
0
0
0
[weiden] 17114: add missing directory.xml
by weiden@svn.reactos.com
add missing directory.xml Added: trunk/reactos/regtests/winetests/directory.xml Property changes on: trunk/reactos/regtests/winetests ___________________________________________________________________ Name: svn:ignore + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile Property changes on: trunk/reactos/regtests/winetests/advapi32 ___________________________________________________________________ Name: svn:ignore - ignore advapi32_test.a advapi32_test.exe advapi32_test.map advapi32_test.nostrip.exe crypt.o testlist.o crypt_lmhash.o crypt_md4.o crypt_md5.o crypt_sha.o registry.o security.o + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile Property changes on: trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/reactos/regtests/winetests/comctl32 ___________________________________________________________________ Name: svn:ignore - ignore comctl32_test.a comctl32_test.exe comctl32_test.nostrip.exe comctl32_test.map dpa.o imagelist.o mru.o subclass.o tab.o testlist.o + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile Property changes on: trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml ___________________________________________________________________ Name: svn:eol-style + native _____ Added: trunk/reactos/regtests/winetests/directory.xml --- trunk/reactos/regtests/winetests/directory.xml 2005-08-06 19:02:53 UTC (rev 17113) +++ trunk/reactos/regtests/winetests/directory.xml 2005-08-06 19:42:40 UTC (rev 17114) @@ -0,0 +1,8 @@ +<group> +<directory name="advapi32"> + <xi:include href="advapi32/advapi32_test.xml" /> +</directory> +<directory name="comctl32"> + <xi:include href="comctl32/comctl32_test.xml" /> +</directory> +</group> Property changes on: trunk/reactos/regtests/winetests/directory.xml ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/reactos/regtests/winetests/msvcrt ___________________________________________________________________ Name: svn:ignore - *.d *.o *.exe *.a *.map *.sym + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile Property changes on: trunk/reactos/regtests/winetests/version ___________________________________________________________________ Name: svn:ignore + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile Property changes on: trunk/reactos/regtests/winetests/winetest ___________________________________________________________________ Name: svn:ignore + temp.exp *.d *.a *.o *.dll *.coff *.sym *.tmp *.gch *.pch *.map makefile
19 years, 4 months
1
0
0
0
[navaraf] 17113: Fix keyboard input in usetup.
by navaraf@svn.reactos.com
Fix keyboard input in usetup. Modified: branches/ros-branch-0_2_7/reactos/subsys/system/usetup/usetup.c _____ Modified: branches/ros-branch-0_2_7/reactos/subsys/system/usetup/usetup.c --- branches/ros-branch-0_2_7/reactos/subsys/system/usetup/usetup.c 2005-08-06 18:57:52 UTC (rev 17112) +++ branches/ros-branch-0_2_7/reactos/subsys/system/usetup/usetup.c 2005-08-06 19:02:53 UTC (rev 17113) @@ -1445,7 +1445,7 @@ return SELECT_FILE_SYSTEM_PAGE; } - else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'c') /* C */ + else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'C') /* C */ { if (PartitionList->CurrentPartition->Unpartitioned == FALSE) { @@ -1461,7 +1461,7 @@ return CREATE_PARTITION_PAGE; } - else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'd') /* D */ + else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'D') /* D */ { if (PartitionList->CurrentPartition->Unpartitioned == TRUE) { @@ -1971,7 +1971,7 @@ { return SELECT_PARTITION_PAGE; } - else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'd') /* D */ + else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'D') /* D */ { DeleteCurrentPartition (PartitionList);
19 years, 4 months
1
0
0
0
[navaraf] 17112: Fix translation of extended keys.
by navaraf@svn.reactos.com
Fix translation of extended keys. Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/include/input.h Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/input.c Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/keyboard.c _____ Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/include/input.h --- branches/ros-branch-0_2_7/reactos/subsys/win32k/include/input.h 2005-08-06 18:56:20 UTC (rev 17111) +++ branches/ros-branch-0_2_7/reactos/subsys/win32k/include/input.h 2005-08-06 18:57:52 UTC (rev 17112) @@ -10,7 +10,7 @@ PUSER_MESSAGE_QUEUE W32kGetPrimitiveMessageQueue(VOID); VOID W32kUnregisterPrimitiveMessageQueue(VOID); PKBDTABLES W32kGetDefaultKeyLayout(VOID); -VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyLayout); +VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyLayout, BYTE Prefix); BOOL FASTCALL IntBlockInput(PW32THREAD W32Thread, BOOL BlockIt); BOOL FASTCALL IntMouseInput(MOUSEINPUT *mi); BOOL FASTCALL IntKeyboardInput(KEYBDINPUT *ki); _____ Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/input.c --- branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/input.c 2005-08-06 18:56:20 UTC (rev 17111) +++ branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/input.c 2005-08-06 18:57:52 UTC (rev 17112) @@ -628,7 +628,7 @@ lParam |= (KeyInput.MakeCode & 0xff) << 16; - if (KeyInput.Flags & (KEY_E0 | KEY_E1)) + if (KeyInput.Flags & KEY_E0) lParam |= (1 << 24); if (ModifierState & MOD_ALT) @@ -673,7 +673,9 @@ * keyboard layout in use. */ W32kKeyProcessMessage(&msg, - FocusThread->Tcb.Win32Thread->KeyboardLayout); + FocusThread->Tcb.Win32Thread->KeyboardLayout, + KeyInput.Flags & KEY_E0 ? 0xE0 : + (KeyInput.Flags & KEY_E1 ? 0xE1 : 0)); if (GetHotKey(InputWindowStation, ModifierState, _____ Modified: branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/keyboard.c --- branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/keyboard.c 2005-08-06 18:56:20 UTC (rev 17111) +++ branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/keyboard.c 2005-08-06 18:57:52 UTC (rev 17112) @@ -966,7 +966,11 @@ * appropriately. */ -VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyboardLayout) { +VOID FASTCALL +W32kKeyProcessMessage(LPMSG Msg, + PKBDTABLES KeyboardLayout, + BYTE Prefix) +{ DWORD ScanCode = 0, ModifierBits = 0; DWORD i = 0; DWORD BaseMapping = 0; @@ -984,6 +988,7 @@ { VK_UP, VK_NUMPAD8 }, { VK_PRIOR, VK_NUMPAD9 }, { 0,0 } }; + PVSC_VK VscVkTable; if( !KeyboardLayout || !Msg || (Msg->message != WM_KEYDOWN && Msg->message != WM_SYSKEYDOWN && @@ -1005,11 +1010,41 @@ ScanCode = (Msg->lParam >> 16) & 0xff; BaseMapping = Msg->wParam = IntMapVirtualKeyEx( ScanCode, 1, KeyboardLayout ); - if( ScanCode >= KeyboardLayout->bMaxVSCtoVK ) - RawVk = 0; + if( Prefix == 0 ) + { + if( ScanCode >= KeyboardLayout->bMaxVSCtoVK ) + RawVk = 0xff; + else + RawVk = KeyboardLayout->pusVSCtoVK[ScanCode]; + } else - RawVk = KeyboardLayout->pusVSCtoVK[ScanCode]; + { + if( Prefix == 0xE0 ) + { + /* ignore shift codes */ + if( ScanCode == 0x2A || ScanCode == 0x36 ) + { + IntUnLockQueueState; + return; + } + VscVkTable = KeyboardLayout->pVSCtoVK_E0; + } + else if( Prefix == 0xE1 ) + { + VscVkTable = KeyboardLayout->pVSCtoVK_E1; + } + RawVk = 0xff; + while (VscVkTable->Vsc) + { + if( VscVkTable->Vsc == ScanCode ) + { + RawVk = VscVkTable->Vk; + } + VscVkTable++; + } + } + if ((ModifierBits & NUMLOCK_BIT) && !(ModifierBits & GetShiftBit(KeyboardLayout, VK_SHIFT)) && (RawVk & KNUMP) &&
19 years, 4 months
1
0
0
0
[navaraf] 17111: Fix translation of extended keys.
by navaraf@svn.reactos.com
Fix translation of extended keys. Modified: trunk/reactos/subsys/win32k/include/input.h Modified: trunk/reactos/subsys/win32k/ntuser/input.c Modified: trunk/reactos/subsys/win32k/ntuser/keyboard.c _____ Modified: trunk/reactos/subsys/win32k/include/input.h --- trunk/reactos/subsys/win32k/include/input.h 2005-08-06 18:08:07 UTC (rev 17110) +++ trunk/reactos/subsys/win32k/include/input.h 2005-08-06 18:56:20 UTC (rev 17111) @@ -10,7 +10,7 @@ PUSER_MESSAGE_QUEUE W32kGetPrimitiveMessageQueue(VOID); VOID W32kUnregisterPrimitiveMessageQueue(VOID); PKBDTABLES W32kGetDefaultKeyLayout(VOID); -VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyLayout); +VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyLayout, BYTE Prefix); BOOL FASTCALL IntBlockInput(PW32THREAD W32Thread, BOOL BlockIt); BOOL FASTCALL IntMouseInput(MOUSEINPUT *mi); BOOL FASTCALL IntKeyboardInput(KEYBDINPUT *ki); _____ Modified: trunk/reactos/subsys/win32k/ntuser/input.c --- trunk/reactos/subsys/win32k/ntuser/input.c 2005-08-06 18:08:07 UTC (rev 17110) +++ trunk/reactos/subsys/win32k/ntuser/input.c 2005-08-06 18:56:20 UTC (rev 17111) @@ -628,7 +628,7 @@ lParam |= (KeyInput.MakeCode & 0xff) << 16; - if (KeyInput.Flags & (KEY_E0 | KEY_E1)) + if (KeyInput.Flags & KEY_E0) lParam |= (1 << 24); if (ModifierState & MOD_ALT) @@ -673,7 +673,9 @@ * keyboard layout in use. */ W32kKeyProcessMessage(&msg, - FocusThread->Tcb.Win32Thread->KeyboardLayout); + FocusThread->Tcb.Win32Thread->KeyboardLayout, + KeyInput.Flags & KEY_E0 ? 0xE0 : + (KeyInput.Flags & KEY_E1 ? 0xE1 : 0)); if (GetHotKey(InputWindowStation, ModifierState, _____ Modified: trunk/reactos/subsys/win32k/ntuser/keyboard.c --- trunk/reactos/subsys/win32k/ntuser/keyboard.c 2005-08-06 18:08:07 UTC (rev 17110) +++ trunk/reactos/subsys/win32k/ntuser/keyboard.c 2005-08-06 18:56:20 UTC (rev 17111) @@ -966,7 +966,11 @@ * appropriately. */ -VOID FASTCALL W32kKeyProcessMessage(LPMSG Msg, PKBDTABLES KeyboardLayout) { +VOID FASTCALL +W32kKeyProcessMessage(LPMSG Msg, + PKBDTABLES KeyboardLayout, + BYTE Prefix) +{ DWORD ScanCode = 0, ModifierBits = 0; DWORD i = 0; DWORD BaseMapping = 0; @@ -984,6 +988,7 @@ { VK_UP, VK_NUMPAD8 }, { VK_PRIOR, VK_NUMPAD9 }, { 0,0 } }; + PVSC_VK VscVkTable; if( !KeyboardLayout || !Msg || (Msg->message != WM_KEYDOWN && Msg->message != WM_SYSKEYDOWN && @@ -1005,11 +1010,41 @@ ScanCode = (Msg->lParam >> 16) & 0xff; BaseMapping = Msg->wParam = IntMapVirtualKeyEx( ScanCode, 1, KeyboardLayout ); - if( ScanCode >= KeyboardLayout->bMaxVSCtoVK ) - RawVk = 0; + if( Prefix == 0 ) + { + if( ScanCode >= KeyboardLayout->bMaxVSCtoVK ) + RawVk = 0xff; + else + RawVk = KeyboardLayout->pusVSCtoVK[ScanCode]; + } else - RawVk = KeyboardLayout->pusVSCtoVK[ScanCode]; + { + if( Prefix == 0xE0 ) + { + /* ignore shift codes */ + if( ScanCode == 0x2A || ScanCode == 0x36 ) + { + IntUnLockQueueState; + return; + } + VscVkTable = KeyboardLayout->pVSCtoVK_E0; + } + else if( Prefix == 0xE1 ) + { + VscVkTable = KeyboardLayout->pVSCtoVK_E1; + } + RawVk = 0xff; + while (VscVkTable->Vsc) + { + if( VscVkTable->Vsc == ScanCode ) + { + RawVk = VscVkTable->Vk; + } + VscVkTable++; + } + } + if ((ModifierBits & NUMLOCK_BIT) && !(ModifierBits & GetShiftBit(KeyboardLayout, VK_SHIFT)) && (RawVk & KNUMP) &&
19 years, 4 months
1
0
0
0
[sedwards] 17110: and this
by sedwards@svn.reactos.com
and this Added: trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml _____ Added: trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml --- trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml 2005-08-06 18:07:47 UTC (rev 17109) +++ trunk/reactos/regtests/winetests/comctl32/comctl32_test.xml 2005-08-06 18:08:07 UTC (rev 17110) @@ -0,0 +1,13 @@ +<module name="comctl32_test" type="win32cui" installbase="bin" installname="comctl32_test.exe"> + <include base="comctl32_test">.</include> + <define name="__USE_W32API" /> + <library>shlwapi</library> + <library>ole32</library> + <library>comctl32</library> + <library>ntdll</library> + <file>dpa.c</file> + <file>mru.c</file> + <file>subclass.c</file> + <file>tab.c</file> + <file>testlist.c</file> +</module>
19 years, 4 months
1
0
0
0
[sedwards] 17109: forgot this
by sedwards@svn.reactos.com
forgot this Added: trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml _____ Added: trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml --- trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml 2005-08-06 18:05:15 UTC (rev 17108) +++ trunk/reactos/regtests/winetests/advapi32/advapi32_test.xml 2005-08-06 18:07:47 UTC (rev 17109) @@ -0,0 +1,9 @@ +<module name="advapi32_test" type="win32cui" installbase="bin" installname="advapi32_test.exe"> + <include base="advapi32_test">.</include> + <define name="__USE_W32API" /> + <library>advapi32</library> + <library>ntdll</library> + <file>registry.c</file> + <file>security.c</file> + <file>testlist.c</file> +</module>
19 years, 4 months
1
0
0
0
← Newer
1
...
46
47
48
49
50
51
52
...
67
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Results per page:
10
25
50
100
200