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
October 2011
----- 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
18 participants
369 discussions
Start a n
N
ew thread
[tkreuzer] 54080: [ntdll_apitests] Fix rbuild build
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Oct 11 16:09:34 2011 New Revision: 54080 URL:
http://svn.reactos.org/svn/reactos?rev=54080&view=rev
Log: [ntdll_apitests] Fix rbuild build Modified: trunk/rostests/apitests/ntdll/ntdll_apitest.rbuild Modified: trunk/rostests/apitests/ntdll/ntdll_apitest.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/ntdll_apit…
============================================================================== --- trunk/rostests/apitests/ntdll/ntdll_apitest.rbuild [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/ntdll_apitest.rbuild [iso-8859-1] Tue Oct 11 16:09:34 2011 @@ -5,6 +5,7 @@ allowwarnings="true"> <include base="ntdll_apitest">.</include> <library>wine</library> + <library>advapi32</library> <library>ntdll</library> <library>pseh</library> <file>testlist.c</file> @@ -12,6 +13,7 @@ <file>NtFreeVirtualMemory.c</file> <file>RtlInitializeBitMap.c</file> <file>ZwContinue.c</file> + <file>SystemInfo.c</file> <if property="ARCH" value="i386"> <directory name="i386"> <file>ZwContinue.S</file>
13 years, 2 months
1
0
0
0
[tkreuzer] 54079: [ntdll_apitests] Add tests for NtQuery/SetSystemInformation
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Oct 11 15:29:25 2011 New Revision: 54079 URL:
http://svn.reactos.org/svn/reactos?rev=54079&view=rev
Log: [ntdll_apitests] Add tests for NtQuery/SetSystemInformation Added: trunk/rostests/apitests/ntdll/SystemInfo.c (with props) Modified: trunk/rostests/apitests/ntdll/CMakeLists.txt trunk/rostests/apitests/ntdll/testlist.c Modified: trunk/rostests/apitests/ntdll/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/CMakeLists…
============================================================================== --- trunk/rostests/apitests/ntdll/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/CMakeLists.txt [iso-8859-1] Tue Oct 11 15:29:25 2011 @@ -4,6 +4,7 @@ list(APPEND SOURCE NtFreeVirtualMemory.c RtlInitializeBitMap.c + SystemInfo.c ZwContinue.c testlist.c) @@ -14,5 +15,5 @@ add_executable(ntdll_apitest ${SOURCE}) target_link_libraries(ntdll_apitest wine) set_module_type(ntdll_apitest win32cui) -add_importlibs(ntdll_apitest msvcrt kernel32 ntdll) +add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll) add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all) Added: trunk/rostests/apitests/ntdll/SystemInfo.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/SystemInfo…
============================================================================== --- trunk/rostests/apitests/ntdll/SystemInfo.c (added) +++ trunk/rostests/apitests/ntdll/SystemInfo.c [iso-8859-1] Tue Oct 11 15:29:25 2011 @@ -1,0 +1,126 @@ +/* + * PROJECT: ReactOS api tests + * LICENSE: GPL - See COPYING in the top level directory + * PURPOSE: Test for NtQuery/SetSystemInformation + * PROGRAMMERS: Timo Kreuzer + */ + +#define WIN32_NO_STATUS +#include <stdio.h> +#include <wine/test.h> +#include <ndk/ntndk.h> + +#define ok_long(x, y) \ + ok(x == y, "got %ld, expected %ld\n", (long)x, (long)y); + +#define ok_ntstatus(status, expected) \ + ok(status == expected, "got 0x%lx, expected 0x%lx\n", status, expected); +// ok(status == expected, "expected: " ##expected## ", got 0x%lx\n", status) + +void +GetPrivilege() +{ + HANDLE hToken; + TOKEN_PRIVILEGES tkp; + + OpenProcessToken(GetCurrentProcess(), + TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, + &hToken); + + LookupPrivilegeValue(NULL, SE_SYSTEMTIME_NAME, &tkp.Privileges[0].Luid); + + tkp.PrivilegeCount = 1; + tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; + + AdjustTokenPrivileges(hToken, FALSE, &tkp, 0, NULL, 0); +} + + +void +Test_TimeAdjustment(void) +{ + SYSTEM_QUERY_TIME_ADJUST_INFORMATION TimeInfoOrg, GetTimeInfo; + SYSTEM_SET_TIME_ADJUST_INFORMATION SetTimeInfo; + NTSTATUS Status; + ULONG ReturnLength; + + GetPrivilege(); + + SetTimeInfo.TimeAdjustment = 0; + SetTimeInfo.Enable = 0; + + /* Query original values */ + Status = NtQuerySystemInformation(SystemTimeAdjustmentInformation, + &TimeInfoOrg, + sizeof(TimeInfoOrg), + &ReturnLength); + + /* Test without privilege */ + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo)); + ok_ntstatus(Status, STATUS_PRIVILEGE_NOT_HELD); + + /* Get the required privilege */ + GetPrivilege(); + + /* Test wrong length */ + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo) + 1); + ok_ntstatus(Status, STATUS_INFO_LENGTH_MISMATCH); + + /* Test both members 0 */ + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo)); + ok_ntstatus(Status, STATUS_INVALID_PARAMETER_2); + + /* Set huge value */ + SetTimeInfo.TimeAdjustment = -1; + SetTimeInfo.Enable = 0; + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo)); + ok_ntstatus(Status, STATUS_SUCCESS); + + /* Query the result */ + Status = NtQuerySystemInformation(SystemTimeAdjustmentInformation, + &GetTimeInfo, + sizeof(GetTimeInfo), + &ReturnLength); + ok_ntstatus(Status, STATUS_SUCCESS); + ok_long(GetTimeInfo.TimeAdjustment, -1); + ok_long(GetTimeInfo.Enable, 0); + + /* set Enable to 1 */ + SetTimeInfo.TimeAdjustment = -1; + SetTimeInfo.Enable = 1; + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo)); + ok_ntstatus(Status, STATUS_SUCCESS); + + /* Query the result */ + Status = NtQuerySystemInformation(SystemTimeAdjustmentInformation, + &GetTimeInfo, + sizeof(GetTimeInfo), + &ReturnLength); + ok_ntstatus(Status, STATUS_SUCCESS); + ok_long(GetTimeInfo.TimeAdjustment, GetTimeInfo.TimeIncrement); + ok_long(GetTimeInfo.Enable, 1); + + /* Restore original values */ + SetTimeInfo.TimeAdjustment = TimeInfoOrg.TimeAdjustment; + SetTimeInfo.Enable = TimeInfoOrg.Enable;; + Status = NtSetSystemInformation(SystemTimeAdjustmentInformation, + &SetTimeInfo, + sizeof(SetTimeInfo)); + ok_ntstatus(Status, STATUS_SUCCESS); + +} + +START_TEST(NtSystemInformation) +{ + Test_TimeAdjustment(); +} Propchange: trunk/rostests/apitests/ntdll/SystemInfo.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/rostests/apitests/ntdll/testlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/testlist.c…
============================================================================== --- trunk/rostests/apitests/ntdll/testlist.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/testlist.c [iso-8859-1] Tue Oct 11 15:29:25 2011 @@ -8,12 +8,14 @@ extern void func_RtlInitializeBitMap(void); extern void func_ZwContinue(void); extern void func_NtFreeVirtualMemory(void); +extern void func_NtSystemInformation(void); const struct test winetest_testlist[] = { { "RtlInitializeBitMap", func_RtlInitializeBitMap }, { "ZwContinue", func_ZwContinue }, { "NtFreeVirtualMemory", func_NtFreeVirtualMemory }, + { "NtSystemInformation", func_NtSystemInformation }, { 0, 0 } };
13 years, 2 months
1
0
0
0
[akhaldi] 54078: [NDIS] * Fix NdisMWanIndicateReceiveComplete params.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Tue Oct 11 14:36:41 2011 New Revision: 54078 URL:
http://svn.reactos.org/svn/reactos?rev=54078&view=rev
Log: [NDIS] * Fix NdisMWanIndicateReceiveComplete params. Modified: trunk/reactos/drivers/network/ndis/ndis.spec trunk/reactos/drivers/network/ndis/ndis/50stubs.c trunk/reactos/include/ddk/ndis.h Modified: trunk/reactos/drivers/network/ndis/ndis.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis.…
============================================================================== --- trunk/reactos/drivers/network/ndis/ndis.spec [iso-8859-1] (original) +++ trunk/reactos/drivers/network/ndis/ndis.spec [iso-8859-1] Tue Oct 11 14:36:41 2011 @@ -223,7 +223,7 @@ @ stdcall NdisMTransferDataComplete(ptr ptr long long) @ stdcall NdisMUnmapIoSpace(ptr ptr long) @ stdcall NdisMWanIndicateReceive(ptr ptr ptr ptr long) - @ stdcall NdisMWanIndicateReceiveComplete(ptr) + @ stdcall NdisMWanIndicateReceiveComplete(ptr ptr) @ stdcall NdisMWanSendComplete(ptr ptr long) @ stdcall NdisMWriteLogData(ptr ptr long) @ stdcall NdisOpenAdapter(ptr ptr ptr ptr ptr long ptr ptr ptr long ptr) Modified: trunk/reactos/drivers/network/ndis/ndis/50stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
============================================================================== --- trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] Tue Oct 11 14:36:41 2011 @@ -243,7 +243,8 @@ VOID EXPORT NdisMWanIndicateReceiveComplete( - IN NDIS_HANDLE MiniportAdapterHandle) + IN NDIS_HANDLE MiniportAdapterHandle, + IN NDIS_HANDLE NdisLinkContext) { UNIMPLEMENTED } Modified: trunk/reactos/include/ddk/ndis.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ndis.h?rev=540…
============================================================================== --- trunk/reactos/include/ddk/ndis.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/ndis.h [iso-8859-1] Tue Oct 11 14:36:41 2011 @@ -4416,7 +4416,8 @@ VOID NTAPI NdisMWanIndicateReceiveComplete( - IN NDIS_HANDLE MiniportAdapterHandle); + IN NDIS_HANDLE MiniportAdapterHandle, + IN NDIS_HANDLE NdisLinkContext); NDISAPI VOID
13 years, 2 months
1
0
0
0
[jimtabor] 54077: - Fix applications that depend on KF_DLGMODE flag. - Added the Alt-Tab intercept for win32k.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Tue Oct 11 03:48:47 2011 New Revision: 54077 URL:
http://svn.reactos.org/svn/reactos?rev=54077&view=rev
Log: - Fix applications that depend on KF_DLGMODE flag. - Added the Alt-Tab intercept for win32k. Modified: trunk/reactos/subsystems/win32/win32k/include/input.h trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c Modified: trunk/reactos/subsystems/win32/win32k/include/input.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] Tue Oct 11 03:48:47 2011 @@ -33,11 +33,13 @@ /* Scan Codes */ #define SC_KEY_UP 0x8000 /* lParam bits */ -#define LP_EXT_BIT (1<<24) +#define LP_EXT_BIT (KF_EXTENDED<<16) #define LP_DO_NOT_CARE_BIT (1<<25) // for GetKeyNameText -#define LP_CONTEXT_BIT (1<<29) -#define LP_PREV_STATE_BIT (1<<30) -#define LP_TRANSITION_BIT (1<<31) +#define LP_DLGMODE (KF_DLGMODE<<16) +#define LP_MENUMODE (KF_MENUMODE<<16) +#define LP_CONTEXT_BIT (KF_ALTDOWN<<16) +#define LP_PREV_STATE_BIT (KF_REPEAT<<16) +#define LP_TRANSITION_BIT (KF_UP<<16) INIT_FUNCTION NTSTATUS NTAPI InitInputImpl(VOID); Modified: trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] Tue Oct 11 03:48:47 2011 @@ -790,6 +790,12 @@ Msg.lParam |= LP_TRANSITION_BIT; } + /* FIXME: set KF_DLGMODE and KF_MENUMODE when needed */ + if ( pFocusQueue && pFocusQueue->QF_flags & QF_DIALOGACTIVE ) + Msg.lParam |= LP_DLGMODE; + if ( pFocusQueue && pFocusQueue->MenuOwner )//pFocusQueue->MenuState ) // MenuState needs a start flag... + Msg.lParam |= LP_MENUMODE; + /* Init wParam and cursor position */ Msg.wParam = wVk; // Note: it's simplified by msg queue Msg.pt = gpsi->ptCursor; @@ -832,6 +838,14 @@ /* Support VK_*MENU keys */ if (!bIsDown && wSimpleVk == VK_MENU && !IS_KEY_DOWN(gafAsyncKeyState, VK_CONTROL)) co_IntKeyboardSendAltKeyMsg(); + } + + /* Alt-Tab/Esc Check. Use FocusQueue or RIT Queue */ + if (!(pKbdInput->dwFlags & KEYEVENTF_KEYUP) && + HIWORD(Msg.lParam) & KF_ALTDOWN && + ( Msg.wParam == VK_ESCAPE || Msg.wParam == VK_TAB ) ) + { + TRACE("Alt-Tab/Esc Pressed wParam %x\n",Msg.wParam); } /* If we have a focus queue, post a keyboard message */
13 years, 2 months
1
0
0
0
[tkreuzer] 54076: [EXPLORER] Implement support for hotkeys for run, show desktop and logoff currently it also causes the startmenu to open, like with win-E, but this is a different bug See issue #1...
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Mon Oct 10 22:12:39 2011 New Revision: 54076 URL:
http://svn.reactos.org/svn/reactos?rev=54076&view=rev
Log: [EXPLORER] Implement support for hotkeys for run, show desktop and logoff currently it also causes the startmenu to open, like with win-E, but this is a different bug See issue #1512 for more details. Modified: trunk/reactos/base/shell/explorer/taskbar/desktopbar.cpp trunk/reactos/base/shell/explorer/taskbar/desktopbar.h trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp trunk/reactos/base/shell/explorer/taskbar/startmenu.h Modified: trunk/reactos/base/shell/explorer/taskbar/desktopbar.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
============================================================================== --- trunk/reactos/base/shell/explorer/taskbar/desktopbar.cpp [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/taskbar/desktopbar.cpp [iso-8859-1] Mon Oct 10 22:12:39 2011 @@ -245,7 +245,10 @@ void DesktopBar::RegisterHotkeys() { // register hotkey WIN+E opening explorer - RegisterHotKey(_hwnd, 0, MOD_WIN, 'E'); + RegisterHotKey(_hwnd, IDHK_EXPLORER, MOD_WIN, 'E'); + RegisterHotKey(_hwnd, IDHK_RUN, MOD_WIN, 'R'); + RegisterHotKey(_hwnd, IDHK_DESKTOP, MOD_WIN, 'D'); + RegisterHotKey(_hwnd, IDHK_LOGOFF, MOD_WIN, 'L'); ///@todo register all common hotkeys } @@ -253,8 +256,21 @@ void DesktopBar::ProcessHotKey(int id_hotkey) { switch(id_hotkey) { - case 0: explorer_show_frame(SW_SHOWNORMAL); - break; + case IDHK_EXPLORER: + explorer_show_frame(SW_SHOWNORMAL); + break; + + case IDHK_RUN: + _startMenuRoot->Command(IDC_LAUNCH, 0); + break; + + case IDHK_LOGOFF: + _startMenuRoot->Command(IDC_LOGOFF, 0); + break; + + case IDHK_DESKTOP: + g_Globals._desktops.ToggleMinimize(); + break; ///@todo implement all common hotkeys } Modified: trunk/reactos/base/shell/explorer/taskbar/desktopbar.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
============================================================================== --- trunk/reactos/base/shell/explorer/taskbar/desktopbar.h [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/taskbar/desktopbar.h [iso-8859-1] Mon Oct 10 22:12:39 2011 @@ -63,6 +63,11 @@ #define IDC_FIRST_MENU 0x3000 +// hotkeys +#define IDHK_EXPLORER 0 +#define IDHK_RUN 1 +#define IDHK_DESKTOP 2 +#define IDHK_LOGOFF 3 /// desktop bar window, also known as "system tray" struct DesktopBar : public Modified: trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
============================================================================== --- trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp [iso-8859-1] Mon Oct 10 22:12:39 2011 @@ -1692,6 +1692,10 @@ } } +int StartMenuRoot::Command(int id, int code) +{ + return super::Command(id, code); +} LRESULT StartMenuRoot::Init(LPCREATESTRUCT pcs) { @@ -2111,10 +2115,10 @@ MessageBox(0, TEXT("SHFindComputer() not yet implemented in SHELL32"), ResString(IDS_TITLE), MB_OK); } -struct RunDialogThread : public Thread -{ - int Run(); -}; +struct RunDialogThread : public Thread +{ + int Run(); +}; int RunDialogThread::Run() { Modified: trunk/reactos/base/shell/explorer/taskbar/startmenu.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
============================================================================== --- trunk/reactos/base/shell/explorer/taskbar/startmenu.h [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/taskbar/startmenu.h [iso-8859-1] Mon Oct 10 22:12:39 2011 @@ -369,6 +369,7 @@ static HWND Create(HWND hwndDesktopBar, int icon_size); void TrackStartmenu(); + int Command(int id, int code); HWND _hwndStartButton;
13 years, 2 months
1
0
0
0
[akhaldi] 54075: [SHELL32] * Improve the registration. By Johannes Anderwald.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Mon Oct 10 18:17:25 2011 New Revision: 54075 URL:
http://svn.reactos.org/svn/reactos?rev=54075&view=rev
Log: [SHELL32] * Improve the registration. By Johannes Anderwald. Modified: trunk/reactos/dll/win32/shell32/regsvr.c trunk/reactos/dll/win32/shell32/shell32_main.cpp trunk/reactos/dll/win32/shell32/shell32_main.h Modified: trunk/reactos/dll/win32/shell32/regsvr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/regsvr.c…
============================================================================== --- trunk/reactos/dll/win32/shell32/regsvr.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/regsvr.c [iso-8859-1] Mon Oct 10 18:17:25 2011 @@ -816,10 +816,7 @@ { NULL } }; -/*********************************************************************** - * DllRegisterServer (SHELL32.@) - */ -HRESULT WINAPI DllRegisterServer(void) +HRESULT WINAPI DoRegisterServer(void) { HRESULT hr; @@ -835,10 +832,7 @@ return hr; } -/*********************************************************************** - * DllUnregisterServer (SHELL32.@) - */ -HRESULT WINAPI DllUnregisterServer(void) +HRESULT WINAPI DoUnregisterServer(void) { HRESULT hr; Modified: trunk/reactos/dll/win32/shell32/shell32_main.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_…
============================================================================== --- trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] Mon Oct 10 18:17:25 2011 @@ -1445,13 +1445,20 @@ TRACE("-- pointer to class factory: %p\n", *ppv); return hResult; } -#if 0 + /*********************************************************************** * DllRegisterServer (BROWSEUI.@) */ STDAPI DllRegisterServer() { - return gModule.DllRegisterServer(FALSE); + HRESULT hr; + + hr = gModule.DllRegisterServer(FALSE); + if (FAILED(hr)) + return hr; + + // extra registration stuff for the IShellFolder + return DoRegisterServer(); } /*********************************************************************** @@ -1459,9 +1466,16 @@ */ STDAPI DllUnregisterServer() { - return gModule.DllUnregisterServer(FALSE); -} -#endif + HRESULT hr; + + hr = gModule.DllUnregisterServer(FALSE); + if (FAILED(hr)) + return hr; + + // extra stuff which is performed for IShellFolder + return DoUnregisterServer(); +} + /************************************************************************* * DllInstall [SHELL32.@] * Modified: trunk/reactos/dll/win32/shell32/shell32_main.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_…
============================================================================== --- trunk/reactos/dll/win32/shell32/shell32_main.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shell32_main.h [iso-8859-1] Mon Oct 10 18:17:25 2011 @@ -217,4 +217,9 @@ BOOL SH_ShowRecycleBinProperties(WCHAR sDrive); BOOL SH_ShowPropertiesDialog(LPWSTR lpf, LPCITEMIDLIST pidlFolder, LPCITEMIDLIST * apidl); BOOL SH_ShowFolderProperties(LPWSTR pwszFolder, LPCITEMIDLIST pidlFolder, LPCITEMIDLIST * apidl); + + +EXTERN_C HRESULT WINAPI DoRegisterServer(void); +EXTERN_C HRESULT WINAPI DoUnregisterServer(void); + #endif
13 years, 2 months
1
0
0
0
[gadamopoulos] 54074: [win32k] - revert last commit as these headers are really broken
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Mon Oct 10 16:11:49 2011 New Revision: 54074 URL:
http://svn.reactos.org/svn/reactos?rev=54074&view=rev
Log: [win32k] - revert last commit as these headers are really broken Modified: trunk/reactos/subsystems/win32/win32k/include/input.h trunk/reactos/subsystems/win32/win32k/include/intddraw.h trunk/reactos/subsystems/win32/win32k/pch.h Modified: trunk/reactos/subsystems/win32/win32k/include/input.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] Mon Oct 10 16:11:49 2011 @@ -1,4 +1,6 @@ #pragma once + +#include <ndk/kbd.h> typedef struct _KBL { Modified: trunk/reactos/subsystems/win32/win32k/include/intddraw.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/intddraw.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/intddraw.h [iso-8859-1] Mon Oct 10 16:11:49 2011 @@ -1,4 +1,10 @@ #pragma once + +#include <ddrawint.h> +#include <ddkernel.h> +#include <reactos/drivers/directx/directxint.h> +#include <reactos/drivers/directx/dxg.h> +#include <reactos/drivers/directx/dxeng.h> /* From ddraw.c */ BOOL intEnableReactXDriver(HDC); Modified: trunk/reactos/subsystems/win32/win32k/pch.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/pc…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/pch.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/pch.h [iso-8859-1] Mon Oct 10 16:11:49 2011 @@ -21,7 +21,6 @@ #include <ntifs.h> #include <tvout.h> #include <ndk/exfuncs.h> -#include <ndk/kbd.h> #include <ndk/kdfuncs.h> #include <ndk/kefuncs.h> #include <ndk/lpcfuncs.h> @@ -83,13 +82,6 @@ /* Undocumented user definitions */ #include <undocuser.h> -/* DirectX headers */ -#include <ddrawint.h> -#include <ddkernel.h> -#include <reactos/drivers/directx/directxint.h> -#include <reactos/drivers/directx/dxg.h> -#include <reactos/drivers/directx/dxeng.h> - /* Freetype headers*/ #include <ft2build.h> #include FT_FREETYPE_H
13 years, 2 months
1
0
0
0
[gadamopoulos] 54073: [win32k] - move some includes to pch.h
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Mon Oct 10 15:48:37 2011 New Revision: 54073 URL:
http://svn.reactos.org/svn/reactos?rev=54073&view=rev
Log: [win32k] - move some includes to pch.h Modified: trunk/reactos/subsystems/win32/win32k/include/input.h trunk/reactos/subsystems/win32/win32k/include/intddraw.h trunk/reactos/subsystems/win32/win32k/pch.h Modified: trunk/reactos/subsystems/win32/win32k/include/input.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/input.h [iso-8859-1] Mon Oct 10 15:48:37 2011 @@ -1,6 +1,4 @@ #pragma once - -#include <ndk/kbd.h> typedef struct _KBL { Modified: trunk/reactos/subsystems/win32/win32k/include/intddraw.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/intddraw.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/intddraw.h [iso-8859-1] Mon Oct 10 15:48:37 2011 @@ -1,10 +1,4 @@ #pragma once - -#include <ddrawint.h> -#include <ddkernel.h> -#include <reactos/drivers/directx/directxint.h> -#include <reactos/drivers/directx/dxg.h> -#include <reactos/drivers/directx/dxeng.h> /* From ddraw.c */ BOOL intEnableReactXDriver(HDC); Modified: trunk/reactos/subsystems/win32/win32k/pch.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/pc…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/pch.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/pch.h [iso-8859-1] Mon Oct 10 15:48:37 2011 @@ -21,6 +21,7 @@ #include <ntifs.h> #include <tvout.h> #include <ndk/exfuncs.h> +#include <ndk/kbd.h> #include <ndk/kdfuncs.h> #include <ndk/kefuncs.h> #include <ndk/lpcfuncs.h> @@ -82,6 +83,13 @@ /* Undocumented user definitions */ #include <undocuser.h> +/* DirectX headers */ +#include <ddrawint.h> +#include <ddkernel.h> +#include <reactos/drivers/directx/directxint.h> +#include <reactos/drivers/directx/dxg.h> +#include <reactos/drivers/directx/dxeng.h> + /* Freetype headers*/ #include <ft2build.h> #include FT_FREETYPE_H
13 years, 2 months
1
0
0
0
[khornicek] 54072: [CDFS] Fix a buffer overrun that was corrupting the FCB. See issue #4086 for more details.
by khornicek@svn.reactos.org
Author: khornicek Date: Mon Oct 10 13:37:19 2011 New Revision: 54072 URL:
http://svn.reactos.org/svn/reactos?rev=54072&view=rev
Log: [CDFS] Fix a buffer overrun that was corrupting the FCB. See issue #4086 for more details. Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] Mon Oct 10 13:37:19 2011 @@ -325,7 +325,8 @@ DPRINT("PathName '%S' ObjectName '%S'\n", Fcb->PathName, Fcb->ObjectName); memcpy(&Fcb->Entry, Record, sizeof(DIR_RECORD)); - wcsncpy(Fcb->ObjectName, name, MAX_PATH); + wcsncpy(Fcb->ObjectName, name, min(wcslen(name) + 1, + MAX_PATH - wcslen(Fcb->PathName) + wcslen(Fcb->ObjectName))); /* Copy short name */ Fcb->ShortNameU.Length = ShortName.Length;
13 years, 2 months
1
0
0
0
[tfaber] 54071: [KERNEL32] - Properly copy image name in TH32CreateSnapshotSectionInitialize. Fixes truncated file names in kernel32:toolhelp test
by tfaber@svn.reactos.org
Author: tfaber Date: Mon Oct 10 12:14:12 2011 New Revision: 54071 URL:
http://svn.reactos.org/svn/reactos?rev=54071&view=rev
Log: [KERNEL32] - Properly copy image name in TH32CreateSnapshotSectionInitialize. Fixes truncated file names in kernel32:toolhelp test Modified: trunk/reactos/dll/win32/kernel32/client/toolhelp.c Modified: trunk/reactos/dll/win32/kernel32/client/toolhelp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
============================================================================== --- trunk/reactos/dll/win32/kernel32/client/toolhelp.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/client/toolhelp.c [iso-8859-1] Mon Oct 10 12:14:12 2011 @@ -409,9 +409,12 @@ ProcessListEntry->dwFlags = 0; /* no longer used */ if(ProcessInfo->ImageName.Buffer != NULL) { - lstrcpynW(ProcessListEntry->szExeFile, - ProcessInfo->ImageName.Buffer, - min(ProcessInfo->ImageName.Length / sizeof(WCHAR), sizeof(ProcessListEntry->szExeFile) / sizeof(ProcessListEntry->szExeFile[0]))); + ULONG ExeFileLength = min(ProcessInfo->ImageName.Length, + sizeof(ProcessListEntry->szExeFile) - sizeof(WCHAR)); + RtlCopyMemory(ProcessListEntry->szExeFile, + ProcessInfo->ImageName.Buffer, + ExeFileLength); + ProcessListEntry->szExeFile[ExeFileLength / sizeof(WCHAR)] = UNICODE_NULL; } else {
13 years, 2 months
1
0
0
0
← Newer
1
...
18
19
20
21
22
23
24
...
37
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
Results per page:
10
25
50
100
200