mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[SHIMS] Add IgnoreDebugOutput shim CORE-10369
svn path=/trunk/; revision=74610
This commit is contained in:
parent
817f78086f
commit
9c22d4b0b8
2 changed files with 33 additions and 0 deletions
|
@ -4,6 +4,7 @@ include_directories(${SHIMLIB_DIR})
|
|||
spec2def(acgenral.dll genral.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
ignoredbgout.c
|
||||
main.c
|
||||
themes.c
|
||||
genral.spec)
|
||||
|
|
32
reactos/dll/appcompat/shims/genral/ignoredbgout.c
Normal file
32
reactos/dll/appcompat/shims/genral/ignoredbgout.c
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Shim library
|
||||
* FILE: dll/appcompat/shims/genral/ignoredbgout.c
|
||||
* PURPOSE: Ignore debug output shim
|
||||
* PROGRAMMER: Mark Jansen
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#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>
|
Loading…
Add table
Add a link
Reference in a new issue