wer: Add new stubbed wer.dll.

This commit is contained in:
Louis Lenders 2010-08-27 12:46:09 +02:00 committed by Alexandre Julliard
parent 85b3f299ff
commit 7ab48e8ef0
5 changed files with 134 additions and 0 deletions

1
configure vendored
View File

@ -14915,6 +14915,7 @@ wine_fn_config_dll vwin32.vxd enable_win16
wine_fn_config_dll w32skrnl enable_win16
wine_fn_config_dll w32sys.dll16 enable_win16
wine_fn_config_dll wbemprox enable_wbemprox
wine_fn_config_dll wer enable_wer
wine_fn_config_dll wiaservc enable_wiaservc
wine_fn_config_dll win32s16.dll16 enable_win16
wine_fn_config_dll win87em.dll16 enable_win16

View File

@ -2694,6 +2694,7 @@ WINE_CONFIG_DLL(vwin32.vxd,enable_win16)
WINE_CONFIG_DLL(w32skrnl,enable_win16)
WINE_CONFIG_DLL(w32sys.dll16,enable_win16)
WINE_CONFIG_DLL(wbemprox)
WINE_CONFIG_DLL(wer)
WINE_CONFIG_DLL(wiaservc)
WINE_CONFIG_DLL(win32s16.dll16,enable_win16)
WINE_CONFIG_DLL(win87em.dll16,enable_win16)

10
dlls/wer/Makefile.in Normal file
View File

@ -0,0 +1,10 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = wer.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

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

@ -0,0 +1,45 @@
/*
* Copyright 2010 Louis Lenders
*
* 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(wer);
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;
}

77
dlls/wer/wer.spec Normal file
View File

@ -0,0 +1,77 @@
@ stub WerSysprepCleanup
@ stub WerSysprepGeneralize
@ stub WerSysprepSpecialize
@ stub WerUnattendedSetup
@ stub WerpAddAppCompatData
@ stub WerpAddFile
@ stub WerpAddMemoryBlock
@ stub WerpAddRegisteredDataToReport
@ stub WerpAddSecondaryParameter
@ stub WerpAddTextToReport
@ stub WerpArchiveReport
@ stub WerpCancelResponseDownload
@ stub WerpCancelUpload
@ stub WerpCloseStore
@ stub WerpCreateMachineStore
@ stub WerpDeleteReport
@ stub WerpDestroyWerString
@ stub WerpDownloadResponse
@ stub WerpDownloadResponseTemplate
@ stub WerpEnumerateStoreNext
@ stub WerpEnumerateStoreStart
@ stub WerpExtractReportFiles
@ stub WerpGetBucketId
@ stub WerpGetDynamicParameter
@ stub WerpGetEventType
@ stub WerpGetFileByIndex
@ stub WerpGetFilePathByIndex
@ stub WerpGetNumFiles
@ stub WerpGetNumSecParams
@ stub WerpGetNumSigParams
@ stub WerpGetReportFinalConsent
@ stub WerpGetReportFlags
@ stub WerpGetReportInformation
@ stub WerpGetReportTime
@ stub WerpGetReportType
@ stub WerpGetResponseId
@ stub WerpGetResponseUrl
@ stub WerpGetSecParamByIndex
@ stub WerpGetSigParamByIndex
@ stub WerpGetStoreLocation
@ stub WerpGetStoreType
@ stub WerpGetTextFromReport
@ stub WerpGetUIParamByIndex
@ stub WerpGetUploadTime
@ stub WerpGetWerStringData
@ stub WerpIsTransportAvailable
@ stub WerpLoadReport
@ stub WerpOpenMachineArchive
@ stub WerpOpenMachineQueue
@ stub WerpOpenUserArchive
@ stub WerpReportCancel
@ stub WerpRestartApplication
@ stub WerpSetDynamicParameter
@ stub WerpSetEventName
@ stub WerpSetReportFlags
@ stub WerpSetReportInformation
@ stub WerpSetReportTime
@ stub WerpSetReportUploadContextToken
@ stub WerpShowNXNotification
@ stub WerpShowSecondLevelConsent
@ stub WerpShowUpsellUI
@ stub WerpSubmitReportFromStore
@ stub WerpSvcReportFromMachineQueue
@ stub WerAddExcludedApplication
@ stub WerRemoveExcludedApplication
@ stub WerReportAddDump
@ stub WerReportAddFile
@ stub WerReportCloseHandle
@ stub WerReportCreate
@ stub WerReportSetParameter
@ stub WerReportSetUIOption
@ stub WerReportSubmit
@ stub WerpGetReportConsent
@ stub WerpIsDisabled
@ stub WerpOpenUserQueue
@ stub WerpPromtUser
@ stub WerpSetCallBack