tdh: Add stub dll.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67db7fe94e
commit
b2d4b506b3
|
@ -1430,6 +1430,7 @@ enable_sxs
|
||||||
enable_t2embed
|
enable_t2embed
|
||||||
enable_tapi32
|
enable_tapi32
|
||||||
enable_taskschd
|
enable_taskschd
|
||||||
|
enable_tdh
|
||||||
enable_tdi_sys
|
enable_tdi_sys
|
||||||
enable_traffic
|
enable_traffic
|
||||||
enable_twain_32
|
enable_twain_32
|
||||||
|
@ -18509,6 +18510,7 @@ wine_fn_config_test dlls/t2embed/tests t2embed_test
|
||||||
wine_fn_config_dll tapi32 enable_tapi32 implib
|
wine_fn_config_dll tapi32 enable_tapi32 implib
|
||||||
wine_fn_config_dll taskschd enable_taskschd clean
|
wine_fn_config_dll taskschd enable_taskschd clean
|
||||||
wine_fn_config_test dlls/taskschd/tests taskschd_test
|
wine_fn_config_test dlls/taskschd/tests taskschd_test
|
||||||
|
wine_fn_config_dll tdh enable_tdh
|
||||||
wine_fn_config_dll tdi.sys enable_tdi_sys
|
wine_fn_config_dll tdi.sys enable_tdi_sys
|
||||||
wine_fn_config_dll toolhelp.dll16 enable_win16
|
wine_fn_config_dll toolhelp.dll16 enable_win16
|
||||||
wine_fn_config_dll traffic enable_traffic
|
wine_fn_config_dll traffic enable_traffic
|
||||||
|
|
|
@ -3452,6 +3452,7 @@ WINE_CONFIG_TEST(dlls/t2embed/tests)
|
||||||
WINE_CONFIG_DLL(tapi32,,[implib])
|
WINE_CONFIG_DLL(tapi32,,[implib])
|
||||||
WINE_CONFIG_DLL(taskschd,,[clean])
|
WINE_CONFIG_DLL(taskschd,,[clean])
|
||||||
WINE_CONFIG_TEST(dlls/taskschd/tests)
|
WINE_CONFIG_TEST(dlls/taskschd/tests)
|
||||||
|
WINE_CONFIG_DLL(tdh)
|
||||||
WINE_CONFIG_DLL(tdi.sys)
|
WINE_CONFIG_DLL(tdi.sys)
|
||||||
WINE_CONFIG_DLL(toolhelp.dll16,enable_win16)
|
WINE_CONFIG_DLL(toolhelp.dll16,enable_win16)
|
||||||
WINE_CONFIG_DLL(traffic)
|
WINE_CONFIG_DLL(traffic)
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
MODULE = tdh.dll
|
||||||
|
|
||||||
|
C_SRCS = \
|
||||||
|
tdh_main.c
|
|
@ -0,0 +1,34 @@
|
||||||
|
@ stub TdhAggregatePayloadFilters
|
||||||
|
@ stub TdhApplyPayloadFilter
|
||||||
|
@ stub TdhCleanupPayloadEventFilterDescriptor
|
||||||
|
@ stub TdhCloseDecodingHandle
|
||||||
|
@ stub TdhCreatePayloadFilter
|
||||||
|
@ stub TdhDeletePayloadFilter
|
||||||
|
@ stub TdhEnumerateManifestProviderEvents
|
||||||
|
@ stub TdhEnumerateProviderFieldInformation
|
||||||
|
@ stub TdhEnumerateProviderFilters
|
||||||
|
@ stub TdhEnumerateProviders
|
||||||
|
@ stub TdhEnumerateRemoteWBEMProviderFieldInformation
|
||||||
|
@ stub TdhEnumerateRemoteWBEMProviders
|
||||||
|
@ stub TdhFormatProperty
|
||||||
|
@ stub TdhGetAllEventsInformation
|
||||||
|
@ stub TdhGetDecodingParameter
|
||||||
|
@ stub TdhGetEventInformation
|
||||||
|
@ stub TdhGetEventMapInformation
|
||||||
|
@ stub TdhGetManifestEventInformation
|
||||||
|
@ stub TdhGetProperty
|
||||||
|
@ stub TdhGetPropertyOffsetAndSize
|
||||||
|
@ stub TdhGetPropertySize
|
||||||
|
@ stub TdhGetWppMessage
|
||||||
|
@ stub TdhGetWppProperty
|
||||||
|
@ stub TdhLoadManifest
|
||||||
|
@ stub TdhLoadManifestFromBinary
|
||||||
|
@ stub TdhOpenDecodingHandle
|
||||||
|
@ stub TdhQueryProviderFieldInformation
|
||||||
|
@ stub TdhQueryRemoteWBEMProviderFieldInformation
|
||||||
|
@ stub TdhSetDecodingParameter
|
||||||
|
@ stub TdhUnloadManifest
|
||||||
|
@ stub TdhValidatePayloadFilter
|
||||||
|
@ stub TdhpFindMatchClassFromWBEM
|
||||||
|
@ stub TdhpGetBestTraceEventInfoWBEM
|
||||||
|
@ stub TdhpGetEventMapInfoWBEM
|
|
@ -0,0 +1,43 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2017 Austin English
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(tdh);
|
||||||
|
|
||||||
|
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||||
|
{
|
||||||
|
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
|
||||||
|
|
||||||
|
switch (reason)
|
||||||
|
{
|
||||||
|
case DLL_WINE_PREATTACH:
|
||||||
|
return FALSE; /* prefer native version */
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
DisableThreadLibraryCalls(instance);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
Loading…
Reference in New Issue