Author: tfaber
Date: Sat Apr 16 10:38:58 2016
New Revision: 71168
URL:
http://svn.reactos.org/svn/reactos?rev=71168&view=rev
Log:
[NTOS][WIN32K]
- Disable some noisy DPRINTs
Modified:
trunk/reactos/ntoskrnl/config/cmsysini.c
trunk/reactos/ntoskrnl/ps/apphelp.c
trunk/reactos/win32ss/user/ntuser/class.c
Modified: trunk/reactos/ntoskrnl/config/cmsysini.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmsysini.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] Sat Apr 16 10:38:58 2016
@@ -787,7 +787,7 @@
if (ProfileHandle) NtClose(ProfileHandle);
if (ParentHandle) NtClose(ParentHandle);
- DPRINT1("CmpCreateControlSet() done\n");
+ DPRINT("CmpCreateControlSet() done\n");
/* Return success */
return STATUS_SUCCESS;
Modified: trunk/reactos/ntoskrnl/ps/apphelp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/apphelp.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/apphelp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/apphelp.c [iso-8859-1] Sat Apr 16 10:38:58 2016
@@ -274,7 +274,7 @@
}
NumEntries = Header->NumEntries;
- DPRINT1("SHIMS: ApphelpCacheParse walking %d entries\n", NumEntries);
+ DPRINT("SHIMS: ApphelpCacheParse walking %d entries\n", NumEntries);
for (Cur = 0; Cur < NumEntries; ++Cur)
{
Persistent = (PSHIM_PERSISTENT_CACHE_ENTRY)(Data + SHIM_CACHE_HEADER_SIZE +
@@ -382,9 +382,9 @@
++NumEntries;
ListEntry = ListEntry->Flink;
}
- DPRINT1("SHIMS: ApphelpCacheWrite, %d Entries, total size: %d\n",
NumEntries, Length);
+ DPRINT("SHIMS: ApphelpCacheWrite, %d Entries, total size: %d\n",
NumEntries, Length);
Length = ROUND_UP(Length, sizeof(ULONGLONG));
- DPRINT1("SHIMS: ApphelpCacheWrite, Rounded to: %d\n", Length);
+ DPRINT("SHIMS: ApphelpCacheWrite, Rounded to: %d\n", Length);
/* Now we allocate and prepare some helpers */
Buffer = ApphelpAlloc(Length);
@@ -439,7 +439,7 @@
INIT_FUNCTION
ApphelpCacheInitialize(VOID)
{
- DPRINT1("SHIMS: ApphelpCacheInitialize\n");
+ DPRINT("SHIMS: ApphelpCacheInitialize\n");
/* If we are booting in safemode we do not want to use the apphelp cache */
if (InitSafeBootMode)
{
@@ -457,7 +457,7 @@
InitializeListHead(&ApphelpShimCacheAge);
ApphelpCacheEnabled = ApphelpCacheRead();
}
- DPRINT1("SHIMS: ApphelpCacheInitialize: %d\n", ApphelpCacheEnabled);
+ DPRINT("SHIMS: ApphelpCacheInitialize: %d\n", ApphelpCacheEnabled);
return STATUS_SUCCESS;
}
Modified: trunk/reactos/win32ss/user/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/class.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/class.c [iso-8859-1] Sat Apr 16 10:38:58 2016
@@ -379,7 +379,7 @@
if (IntRegisterClassAtom(&ClassName, &Atom))
{
gpsi->atomSysClass[i] = Atom;
- ERR("Reg Control Atoms 0x%x\n",Atom);
+ TRACE("Reg Control Atom %ls: 0x%x\n", ControlsList[i], Atom);
}
i++;
}
@@ -2299,15 +2299,17 @@
wc.hIcon = NULL;
//// System Cursors should be initilized!!!
- if (DefaultServerClasses[i].hCursor == (HICON)OCR_NORMAL &&
- SYSTEMCUR(ARROW) != NULL)
- {
- wc.hCursor = UserHMGetHandle(SYSTEMCUR(ARROW));
- }
- else
- {
- ERR("SYSTEMCUR(ARROW) == NULL, should not happen!!\n");
- wc.hCursor = NULL;
+ wc.hCursor = NULL;
+ if (DefaultServerClasses[i].hCursor == (HICON)OCR_NORMAL)
+ {
+ if (SYSTEMCUR(ARROW) == NULL)
+ {
+ ERR("SYSTEMCUR(ARROW) == NULL, should not happen!!\n");
+ }
+ else
+ {
+ wc.hCursor = UserHMGetHandle(SYSTEMCUR(ARROW));
+ }
}
hBrush = DefaultServerClasses[i].hBrush;