ReactOS  0.4.13-dev-247-g0f29b3f
ignoredbgout.c
Go to the documentation of this file.
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>
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
const char * LPCSTR
Definition: xmlstorage.h:183
#define WINAPI
Definition: msvc.h:8
#define VOID
Definition: acefi.h:82
void WINAPI SHIM_OBJ_NAME() OutputDebugStringA(LPCSTR lpOutputString)
Definition: ignoredbgout.c:18