wevtapi: Add stub dll.

This commit is contained in:
Austin English 2012-03-04 16:08:21 -08:00 committed by Alexandre Julliard
parent 25d6e9aee8
commit 9381e9334e
5 changed files with 99 additions and 0 deletions

1
configure vendored
View File

@ -15362,6 +15362,7 @@ wine_fn_config_dll w32sys.dll16 enable_win16
wine_fn_config_dll wbemprox enable_wbemprox wine_fn_config_dll wbemprox enable_wbemprox
wine_fn_config_dll wer enable_wer implib wine_fn_config_dll wer enable_wer implib
wine_fn_config_test dlls/wer/tests wer_test 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 wiaservc enable_wiaservc
wine_fn_config_dll win32s16.dll16 enable_win16 wine_fn_config_dll win32s16.dll16 enable_win16
wine_fn_config_dll win87em.dll16 enable_win16 wine_fn_config_dll win87em.dll16 enable_win16

View File

@ -2871,6 +2871,7 @@ WINE_CONFIG_DLL(w32sys.dll16,enable_win16)
WINE_CONFIG_DLL(wbemprox) WINE_CONFIG_DLL(wbemprox)
WINE_CONFIG_DLL(wer,,[implib]) WINE_CONFIG_DLL(wer,,[implib])
WINE_CONFIG_TEST(dlls/wer/tests) WINE_CONFIG_TEST(dlls/wer/tests)
WINE_CONFIG_DLL(wevtapi)
WINE_CONFIG_DLL(wiaservc) WINE_CONFIG_DLL(wiaservc)
WINE_CONFIG_DLL(win32s16.dll16,enable_win16) WINE_CONFIG_DLL(win32s16.dll16,enable_win16)
WINE_CONFIG_DLL(win87em.dll16,enable_win16) WINE_CONFIG_DLL(win87em.dll16,enable_win16)

6
dlls/wevtapi/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = wevtapi.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

45
dlls/wevtapi/main.c Normal file
View File

@ -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 <stdarg.h>
#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;
}

46
dlls/wevtapi/wevtapi.spec Normal file
View File

@ -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