diff --git a/reactos/hal/halx86/generic/processor.c b/reactos/hal/halx86/generic/processor.c index 2ebabfc7e11..f99bcd10332 100644 --- a/reactos/hal/halx86/generic/processor.c +++ b/reactos/hal/halx86/generic/processor.c @@ -39,7 +39,9 @@ BOOLEAN STDCALL HalStartNextProcessor(ULONG Unknown1, ULONG ProcessorStack) { +#if 0 DPRINT("HalStartNextProcessor(%x %x)\n", ProcessorNumber, ProcessorStack); +#endif return TRUE; } diff --git a/reactos/lib/advapi32/sec/trustee.c b/reactos/lib/advapi32/sec/trustee.c index d324a439be8..0808708af16 100644 --- a/reactos/lib/advapi32/sec/trustee.c +++ b/reactos/lib/advapi32/sec/trustee.c @@ -198,8 +198,10 @@ BuildTrusteeWithObjectsAndNameA(PTRUSTEEA pTrustee, POBJECTS_AND_NAME_A pObjName SE_OBJECT_TYPE ObjectType, LPSTR ObjectTypeName, LPSTR InheritedObjectTypeName, LPSTR Name) { +#if 0 DPRINT("%p %p 0x%08x %p %p %s\n", pTrustee, pObjName, ObjectType, ObjectTypeName, InheritedObjectTypeName, debugstr_a(Name)); +#endif pTrustee->pMultipleTrustee = NULL; pTrustee->MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; @@ -217,8 +219,10 @@ BuildTrusteeWithObjectsAndNameW(PTRUSTEEW pTrustee, POBJECTS_AND_NAME_W pObjName SE_OBJECT_TYPE ObjectType, LPWSTR ObjectTypeName, LPWSTR InheritedObjectTypeName, LPWSTR Name) { +#if 0 DPRINT("%p %p 0x%08x %p %p %s\n", pTrustee, pObjName, ObjectType, ObjectTypeName, InheritedObjectTypeName, debugstr_w(Name)); +#endif pTrustee->pMultipleTrustee = NULL; pTrustee->MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; diff --git a/reactos/lib/advapi32/service/scm.c b/reactos/lib/advapi32/service/scm.c index 566ead1100f..568a400f215 100644 --- a/reactos/lib/advapi32/service/scm.c +++ b/reactos/lib/advapi32/service/scm.c @@ -928,7 +928,9 @@ UnlockServiceDatabase(SC_LOCK ScLock) { DWORD dwError; +#if 0 DPRINT("UnlockServiceDatabase(%x)\n", hSCManager); +#endif HandleBind(); diff --git a/reactos/subsys/csrss/win32csr/desktopbg.c b/reactos/subsys/csrss/win32csr/desktopbg.c index c21beeb023d..68b07dd0f47 100644 --- a/reactos/subsys/csrss/win32csr/desktopbg.c +++ b/reactos/subsys/csrss/win32csr/desktopbg.c @@ -108,7 +108,7 @@ DtbgWindowProc(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam) } default: - DPRINT("Unknown notification code 0x%x sent to the desktop window!\n", nmh->code); + DPRINT("Unknown notification code 0x%x sent to the desktop window!\n", nmh->hdr.code); return 0; } } diff --git a/reactos/subsys/ntvdm/ntvdm.c b/reactos/subsys/ntvdm/ntvdm.c index 5384de29dae..80b139adf8b 100644 --- a/reactos/subsys/ntvdm/ntvdm.c +++ b/reactos/subsys/ntvdm/ntvdm.c @@ -16,6 +16,9 @@ #include #include "resource.h" +#define NTOS_MODE_USER +#include + #define NDEBUG #include diff --git a/reactos/subsys/smss/client.c b/reactos/subsys/smss/client.c index 4c72e866a0a..f1452b94df9 100644 --- a/reactos/subsys/smss/client.c +++ b/reactos/subsys/smss/client.c @@ -62,6 +62,7 @@ SmInitializeClientManagement (VOID) VOID FASTCALL SmpSetClientInitialized (PSM_CLIENT_DATA Client) { + DPRINT("SM: %s(%08lx) called\n", __FUNCTION__, Client); Client->Flags |= SM_CLIENT_FLAG_INITIALIZED; } /********************************************************************** @@ -101,8 +102,10 @@ SmpLookupClient (USHORT SubsystemId, Client = SmpClientDirectory.Client; while (NULL != Client) { + DPRINT("SM: %s: Client==%08lx\n", __FUNCTION__, Client); if (SubsystemId == Client->SubsystemId) { + DPRINT("SM: %s: FOUND Client==%08lx\n", __FUNCTION__, Client); break; } if(NULL != Parent) diff --git a/reactos/subsys/system/setup/setup.c b/reactos/subsys/system/setup/setup.c index c9816eaf6e6..1d236eac402 100644 --- a/reactos/subsys/system/setup/setup.c +++ b/reactos/subsys/system/setup/setup.c @@ -29,6 +29,9 @@ #include #include +#define NTOS_MODE_USER +#include + #define NDEBUG #include diff --git a/reactos/subsys/system/winlogon/setup.c b/reactos/subsys/system/winlogon/setup.c index 16344a1d01d..1b8cb54ae15 100644 --- a/reactos/subsys/system/winlogon/setup.c +++ b/reactos/subsys/system/winlogon/setup.c @@ -33,6 +33,9 @@ #include "setup.h" +#define NTOS_MODE_USER +#include + #define NDEBUG #include diff --git a/reactos/subsys/win32k/ntuser/keyboard.c b/reactos/subsys/win32k/ntuser/keyboard.c index 6c9fe5e3193..92d0ae895e9 100644 --- a/reactos/subsys/win32k/ntuser/keyboard.c +++ b/reactos/subsys/win32k/ntuser/keyboard.c @@ -1160,8 +1160,10 @@ NtUserVkKeyScanEx( if(vkPtr->wch[CapsState] == wChar) { CapsMod = KeyLayout->pCharModifiers->ModNumber[CapsState]; +#if 0 DPRINT("nMod %d Vk %04x: CapsMod %08x CapsState %08x MaxModBits %08x\n", nMod, wVirtKey, CapsMod, CapsState, KeyLayout->pCharModifiers->wMaxModBits); +#endif return ((CapsMod << 8)|(vkPtr->VirtualKey & 0xff)); } }