1 /*
2  * PROJECT:     ReactOS 'General' Shim library
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Ignore debug output shim
5  * COPYRIGHT:   Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
6  */
7 
8 #define WIN32_NO_STATUS
9 #include <windef.h>
10 #include <winbase.h>
11 #include <shimlib.h>
12 #include <strsafe.h>
13 
14 
15 #define SHIM_NS         IgnoreDebugOutput
16 #include <setup_shim.inl>
17 
18 void WINAPI SHIM_OBJ_NAME(OutputDebugStringA)(LPCSTR lpOutputString)
19 {
20     (VOID)lpOutputString;
21 }
22 
23 void WINAPI SHIM_OBJ_NAME(OutputDebugStringW)(LPCWSTR lpOutputString)
24 {
25     (VOID)lpOutputString;
26 }
27 
28 #define SHIM_NUM_HOOKS  2
29 #define SHIM_SETUP_HOOKS \
30     SHIM_HOOK(0, "KERNEL32.DLL", "OutputDebugStringA", SHIM_OBJ_NAME(OutputDebugStringA)) \
31     SHIM_HOOK(1, "KERNEL32.DLL", "OutputDebugStringW", SHIM_OBJ_NAME(OutputDebugStringW))
32 
33 #include <implement_shim.inl>
34