1
- Index: base/system/smss/smsubsys.c
2
- ===================================================================
3
- --- base/system/smss/smsubsys.c (revision 69795)
4
- +++ base/system/smss/smsubsys.c (working copy)
5
- @@ -10,7 +10,7 @@
6
-
7
- #include "smss.h"
8
-
9
- - #define NDEBUG
10
- + //#define NDEBUG
11
- #include <debug.h>
12
-
13
- /* GLOBALS ********************************************************************/
14
1
Index: base/system/winlogon/winlogon.c
15
2
===================================================================
16
3
--- base/system/winlogon/winlogon.c (revision 69795)
@@ -113,6 +100,15 @@ Index: dll/win32/msgina/gui.c
113
100
114
101
if(!SetThreadDesktop(hDesk))
115
102
{
103
+ @@ -118,6 +122,8 @@
104
+
105
+ TRACE("GUIDisplayStatusMessage(%ws)\n", pMessage);
106
+
107
+ + ERR("ARWINSS BIG BUG #1\n");
108
+ + return TRUE; // ARWINSS 1st bug
109
+ if (!pgContext->hStatusWindow)
110
+ {
111
+ /*
116
112
Index: include/asm/syscalls.inc
117
113
===================================================================
118
114
--- include/asm/syscalls.inc (revision 69795)
@@ -502,12 +498,7 @@ Index: win32ss/user/winsrv/consrv/frontends/gui/guiterm.c
502
498
if (!NT_SUCCESS(Status)) goto Quit;
503
499
504
500
/* Connect this CSR thread to the USER subsystem */
505
- @@ -295,13 +300,17 @@
506
-
507
- Quit:
508
- DPRINT("CONSRV: Quit the Input Thread 0x%p, Status = 0x%08lx\n", InputThreadId, Status);
509
- -
510
- +
501
+ @@ -299,9 +304,13 @@
511
502
/* Remove this console input thread from this desktop */
512
503
// DesktopConsoleThreadInfo.DesktopHandle;
513
504
DesktopConsoleThreadInfo.ThreadId = 0;
@@ -543,38 +534,15 @@ Index: win32ss/user/winsrv/usersrv/init.c
543
534
===================================================================
544
535
--- win32ss/user/winsrv/usersrv/init.c (revision 69795)
545
536
+++ win32ss/user/winsrv/usersrv/init.c (working copy)
546
- @@ -101,8 +101,22 @@
547
- NTAPI
548
- CreateSystemThreads(PVOID pParam)
549
- {
550
- + #ifndef _ARWINSS_
551
- NtUserCallOneParam((DWORD)pParam, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS);
552
- RtlExitUserThread(0);
553
- + #else
554
- + DWORD WaitRes;
555
- + HANDLE hDummyEvent;
556
- +
557
- + hDummyEvent = CreateEventW(0, FALSE, FALSE, L"");
558
- +
559
- + while (TRUE)
560
- + {
561
- + WaitRes = WaitForSingleObject(hDummyEvent, INFINITE);
562
- + }
563
- + DPRINT1("WaitRes: 0x%x\n", WaitRes);
564
- + #endif
565
- + DPRINT1("This thread should not terminate!\n");
566
- return 0;
567
- }
568
-
569
- @@ -173,6 +187,7 @@
537
+ @@ -173,6 +173,7 @@
570
538
CsrApiPort = CsrQueryApiPort();
571
539
572
540
/* Inform win32k about the API port */
573
541
+ #ifndef _ARWINSS_
574
542
Status = NtUserSetInformationThread(NtCurrentThread(),
575
543
UserThreadCsrApiPort,
576
544
&CsrApiPort,
577
- @@ -181,6 +196 ,9 @@
545
+ @@ -181,6 +182 ,9 @@
578
546
{
579
547
return Status;
580
548
}
@@ -584,7 +552,7 @@ Index: win32ss/user/winsrv/usersrv/init.c
584
552
}
585
553
586
554
/* Check connection info validity */
587
- @@ -199,9 +217 ,14 @@
555
+ @@ -199,9 +203 ,14 @@
588
556
589
557
/* Pass the request to win32k */
590
558
ConnectInfo->dwDispatchCount = 0; // gDispatchTableValues;
@@ -599,7 +567,7 @@ Index: win32ss/user/winsrv/usersrv/init.c
599
567
600
568
return Status;
601
569
}
602
- @@ -254,7 +277 ,11 @@
570
+ @@ -254,7 +263 ,11 @@
603
571
}
604
572
605
573
/* Set the process creation notify routine for BASE */
0 commit comments