https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dbb69cb2d940278910a40…
commit dbb69cb2d940278910a40d1228389a7a1fd1aea8
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Mar 5 22:33:35 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Mar 5 22:33:35 2019 +0100
[BOOTDATA] Comment out (but still keep it for documentation purposes only) the overridden default user shell, since we use by default the one specified in HKLM Winlogon key.
If people want to override it for a given user, or at a global level, they can do it later.
See CORE-15807
---
boot/bootdata/hivedef.inf | 4 ++--
boot/bootdata/hivesft.inf | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/boot/bootdata/hivedef.inf b/boot/bootdata/hivedef.inf
index b9411a27cc..844ba9c7d3 100644
--- a/boot/bootdata/hivedef.inf
+++ b/boot/bootdata/hivedef.inf
@@ -1893,9 +1893,9 @@ HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","HideFileExt"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff",0x00010003,0x00000001
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Hidden",0x00010003,1
-; default shell
+; Default shell for the current user (overrides the defaults from the HKLM Winlogon sub-key)
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",,0x00000012
-HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
+;HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies",,0x00000012
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",,0x00000012
diff --git a/boot/bootdata/hivesft.inf b/boot/bootdata/hivesft.inf
index efd5c0833e..ba5b3919e1 100644
--- a/boot/bootdata/hivesft.inf
+++ b/boot/bootdata/hivesft.inf
@@ -1467,7 +1467,7 @@ HKLM,"SOFTWARE\ReactOS\ReactOS\CurrentVersion\IFS","FATX",0x00000000,"ufatx.dll"
HKLM,"SOFTWARE\ReactOS\ReactOS\CurrentVersion\IFS","EXT2",0x00000000,"uext2.dll"
HKLM,"SOFTWARE\ReactOS\ReactOS\CurrentVersion\IFS","BtrFS",0x00000000,"ubtrfs.dll"
-; Winlogon settings
+; Global Winlogon settings
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ConsoleShell",0x00020000,"%SystemRoot%\system32\cmd.exe"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7dabd235ec1ac0ae9dfb2…
commit 7dabd235ec1ac0ae9dfb2a1b0e78cef2216bc987
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Jan 13 15:29:13 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Mon Mar 4 21:58:42 2019 +0100
[GDI32] Add casts to silence warnings on x64
The cast is required, because FARPROC is only compatible with function pointer types that return INT_PTR and the ones used return int/BOOL.
---
win32ss/gdi/gdi32/misc/wingl.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/win32ss/gdi/gdi32/misc/wingl.c b/win32ss/gdi/gdi32/misc/wingl.c
index 13fee27278..3e993443f9 100644
--- a/win32ss/gdi/gdi32/misc/wingl.c
+++ b/win32ss/gdi/gdi32/misc/wingl.c
@@ -84,20 +84,20 @@ static BOOL OpenGLEnable(void)
thread-safe */
}
-
- if (!OpenGLInitFunction("wglChoosePixelFormat", &glChoosePixelFormat))
+ /* The cast is required on x64, because FARPROC has INT_PTR sized return */
+ if (!OpenGLInitFunction("wglChoosePixelFormat", (FARPROC*)&glChoosePixelFormat))
Ret = FALSE;
- if (!OpenGLInitFunction("wglSetPixelFormat", &glSetPixelFormat))
+ if (!OpenGLInitFunction("wglSetPixelFormat", (FARPROC*)&glSetPixelFormat))
Ret = FALSE;
- if (!OpenGLInitFunction("wglSwapBuffers", &glSwapBuffers))
+ if (!OpenGLInitFunction("wglSwapBuffers", (FARPROC*)&glSwapBuffers))
Ret = FALSE;
- if (!OpenGLInitFunction("wglDescribePixelFormat", &glDescribePixelFormat))
+ if (!OpenGLInitFunction("wglDescribePixelFormat", (FARPROC*)&glDescribePixelFormat))
Ret = FALSE;
- if (!OpenGLInitFunction("wglGetPixelFormat", &glGetPixelFormat))
+ if (!OpenGLInitFunction("wglGetPixelFormat", (FARPROC*)&glGetPixelFormat))
Ret = FALSE;
return Ret;