mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[SHIMENG] Change the default loglevel + mute GetProcAddress logging
This commit is contained in:
parent
00ed9fc88b
commit
abeaf2e9db
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
* PROJECT: ReactOS Application compatibility module
|
* PROJECT: ReactOS Application compatibility module
|
||||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||||
* PURPOSE: Shim engine core
|
* PURPOSE: Shim engine core
|
||||||
* COPYRIGHT: Copyright 2015-2017 Mark Jansen (mark.jansen@reactos.org)
|
* COPYRIGHT: Copyright 2015-2018 Mark Jansen (mark.jansen@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
|
@ -569,7 +569,7 @@ FARPROC WINAPI StubGetProcAddress(HINSTANCE hModule, LPCSTR lpProcName)
|
||||||
return proc;
|
return proc;
|
||||||
}
|
}
|
||||||
|
|
||||||
SHIMENG_MSG("(GetProcAddress(%p!%s) => %p\n", hModule, lpPrintName, proc);
|
SHIMENG_INFO("(GetProcAddress(%p!%s) => %p\n", hModule, lpPrintName, proc);
|
||||||
|
|
||||||
HookModuleInfo = SeiFindHookModuleInfo(NULL, hModule);
|
HookModuleInfo = SeiFindHookModuleInfo(NULL, hModule);
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* PROJECT: ReactOS Shim helper library
|
* PROJECT: ReactOS Shim helper library
|
||||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||||
* PURPOSE: Shim helper functions
|
* PURPOSE: Shim helper functions
|
||||||
* COPYRIGHT: Copyright 2016,2017 Mark Jansen (mark.jansen@reactos.org)
|
* COPYRIGHT: Copyright 2016-2018 Mark Jansen (mark.jansen@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
|
@ -155,7 +155,7 @@ VOID SeiInitDebugSupport(VOID)
|
||||||
static const UNICODE_STRING DebugKey = RTL_CONSTANT_STRING(L"SHIM_DEBUG_LEVEL");
|
static const UNICODE_STRING DebugKey = RTL_CONSTANT_STRING(L"SHIM_DEBUG_LEVEL");
|
||||||
UNICODE_STRING DebugValue;
|
UNICODE_STRING DebugValue;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
ULONG NewLevel = 0;
|
ULONG NewLevel = SEI_MSG;
|
||||||
WCHAR Buffer[40];
|
WCHAR Buffer[40];
|
||||||
|
|
||||||
RtlInitEmptyUnicodeString(&DebugValue, Buffer, sizeof(Buffer));
|
RtlInitEmptyUnicodeString(&DebugValue, Buffer, sizeof(Buffer));
|
||||||
|
|
Loading…
Reference in a new issue