[SHIMS] Add IgnoreDebugOutput shim CORE-10369
[reactos.git] / reactos / dll / appcompat / shims / genral / ignoredbgout.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Shim library
4 * FILE: dll/appcompat/shims/genral/ignoredbgout.c
5 * PURPOSE: Ignore debug output shim
6 * PROGRAMMER: Mark Jansen
7 */
8
9 #include <windows.h>
10 #include <shimlib.h>
11 #include <strsafe.h>
12
13
14 #define SHIM_NS IgnoreDebugOutput
15 #include <setup_shim.inl>
16
17 void WINAPI SHIM_OBJ_NAME(OutputDebugStringA)(LPCSTR lpOutputString)
18 {
19 (VOID)lpOutputString;
20 }
21
22 void WINAPI SHIM_OBJ_NAME(OutputDebugStringW)(LPCWSTR lpOutputString)
23 {
24 (VOID)lpOutputString;
25 }
26
27 #define SHIM_NUM_HOOKS 2
28 #define SHIM_SETUP_HOOKS \
29 SHIM_HOOK(0, "KERNEL32.DLL", "OutputDebugStringA", SHIM_OBJ_NAME(OutputDebugStringA)) \
30 SHIM_HOOK(1, "KERNEL32.DLL", "OutputDebugStringW", SHIM_OBJ_NAME(OutputDebugStringW))
31
32 #include <implement_shim.inl>