ReactOS
0.4.16-dev-61-ge128cbc
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>
VOID
#define VOID
Definition:
acefi.h:82
OutputDebugStringA
void WINAPI SHIM_OBJ_NAME() OutputDebugStringA(LPCSTR lpOutputString)
Definition:
ignoredbgout.c:18
OutputDebugStringW
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition:
ignoredbgout.c:23
shimlib.h
strsafe.h
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
LPCSTR
const char * LPCSTR
Definition:
xmlstorage.h:183
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
dll
appcompat
shims
genral
ignoredbgout.c
Generated on Fri Sep 20 2024 06:02:48 for ReactOS by
1.9.6