diff --git a/configure b/configure index 3a62558a07a..3c4c966f318 100755 --- a/configure +++ b/configure @@ -15362,6 +15362,7 @@ wine_fn_config_dll w32sys.dll16 enable_win16 wine_fn_config_dll wbemprox enable_wbemprox wine_fn_config_dll wer enable_wer implib wine_fn_config_test dlls/wer/tests wer_test +wine_fn_config_dll wevtapi enable_wevtapi wine_fn_config_dll wiaservc enable_wiaservc wine_fn_config_dll win32s16.dll16 enable_win16 wine_fn_config_dll win87em.dll16 enable_win16 diff --git a/configure.ac b/configure.ac index 472ef128a4b..023e46e42ac 100644 --- a/configure.ac +++ b/configure.ac @@ -2871,6 +2871,7 @@ WINE_CONFIG_DLL(w32sys.dll16,enable_win16) WINE_CONFIG_DLL(wbemprox) WINE_CONFIG_DLL(wer,,[implib]) WINE_CONFIG_TEST(dlls/wer/tests) +WINE_CONFIG_DLL(wevtapi) WINE_CONFIG_DLL(wiaservc) WINE_CONFIG_DLL(win32s16.dll16,enable_win16) WINE_CONFIG_DLL(win87em.dll16,enable_win16) diff --git a/dlls/wevtapi/Makefile.in b/dlls/wevtapi/Makefile.in new file mode 100644 index 00000000000..cf638383c25 --- /dev/null +++ b/dlls/wevtapi/Makefile.in @@ -0,0 +1,6 @@ +MODULE = wevtapi.dll + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ diff --git a/dlls/wevtapi/main.c b/dlls/wevtapi/main.c new file mode 100644 index 00000000000..583ddba9d3b --- /dev/null +++ b/dlls/wevtapi/main.c @@ -0,0 +1,45 @@ +/* + * Copyright 2012 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wevtapi); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + } + + return TRUE; +} diff --git a/dlls/wevtapi/wevtapi.spec b/dlls/wevtapi/wevtapi.spec new file mode 100644 index 00000000000..f6a5786cbdc --- /dev/null +++ b/dlls/wevtapi/wevtapi.spec @@ -0,0 +1,46 @@ +@ stub EvtArchiveExportedLog +@ stub EvtCancel +@ stub EvtClearLog +@ stub EvtClose +@ stub EvtCreateBookmark +@ stub EvtCreateRenderContext +@ stub EvtExportLog +@ stub EvtFormatMessage +@ stub EvtGetChannelConfigProperty +@ stub EvtGetEventInfo +@ stub EvtGetEventMetadataProperty +@ stub EvtGetExtendedStatus +@ stub EvtGetLogInfo +@ stub EvtGetObjectArrayProperty +@ stub EvtGetObjectArraySize +@ stub EvtGetPublisherMetadataProperty +@ stub EvtGetQueryInfo +@ stub EvtIntAssertConfig +@ stub EvtIntCreateBinXMLFromCustomXML +@ stub EvtIntCreateLocalLogfile +@ stub EvtIntGetClassicLogDisplayName +@ stub EvtIntRenderResourceEventTemplate +@ stub EvtIntReportAuthzEventAndSourceAsync +@ stub EvtIntReportEventAndSourceAsync +@ stub EvtIntRetractConfig +@ stub EvtIntSysprepCleanup +@ stub EvtIntWriteXmlEventToLocalLogfile +@ stub EvtNext +@ stub EvtNextChannelPath +@ stub EvtNextEventMetadata +@ stub EvtNextPublisherId +@ stub EvtOpenChannelConfig +@ stub EvtOpenChannelEnum +@ stub EvtOpenEventMetadataEnum +@ stub EvtOpenLog +@ stub EvtOpenPublisherEnum +@ stub EvtOpenPublisherMetadata +@ stub EvtOpenSession +@ stub EvtQuery +@ stub EvtRender +@ stub EvtSaveChannelConfig +@ stub EvtSeek +@ stub EvtSetChannelConfigProperty +@ stub EvtSetObjectArrayProperty +@ stub EvtSubscribe +@ stub EvtUpdateBookmark