2017-05-20 20:22:25 +00:00
|
|
|
/*
|
2017-09-08 20:29:16 +00:00
|
|
|
* PROJECT: ReactOS 'General' Shim library
|
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
|
|
* PURPOSE: Ignore debug output shim
|
|
|
|
* COPYRIGHT: Copyright 2017 Mark Jansen (mark.jansen@reactos.org)
|
2017-05-20 20:22:25 +00:00
|
|
|
*/
|
|
|
|
|
2017-09-08 20:29:16 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2017-05-20 20:22:25 +00:00
|
|
|
#include <shimlib.h>
|
|
|
|
#include <strsafe.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define SHIM_NS IgnoreDebugOutput
|
|
|
|
#include <setup_shim.inl>
|
|
|
|
|
|
|
|
void WINAPI SHIM_OBJ_NAME(OutputDebugStringA)(LPCSTR lpOutputString)
|
|
|
|
{
|
|
|
|
(VOID)lpOutputString;
|
|
|
|
}
|
|
|
|
|
|
|
|
void WINAPI SHIM_OBJ_NAME(OutputDebugStringW)(LPCWSTR lpOutputString)
|
|
|
|
{
|
|
|
|
(VOID)lpOutputString;
|
|
|
|
}
|
|
|
|
|
|
|
|
#define SHIM_NUM_HOOKS 2
|
|
|
|
#define SHIM_SETUP_HOOKS \
|
|
|
|
SHIM_HOOK(0, "KERNEL32.DLL", "OutputDebugStringA", SHIM_OBJ_NAME(OutputDebugStringA)) \
|
|
|
|
SHIM_HOOK(1, "KERNEL32.DLL", "OutputDebugStringW", SHIM_OBJ_NAME(OutputDebugStringW))
|
|
|
|
|
|
|
|
#include <implement_shim.inl>
|