wimgapi: Add new stub dll.

Signed-off-by: Stefan Leichter <Stefan.Leichter@camLine.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Leichter 2015-10-15 22:57:31 +02:00 committed by Alexandre Julliard
parent 2257928a7a
commit c21575d701
5 changed files with 95 additions and 0 deletions

2
configure vendored
View File

@ -1327,6 +1327,7 @@ enable_webservices
enable_wer
enable_wevtapi
enable_wiaservc
enable_wimgapi
enable_windowscodecs
enable_windowscodecsext
enable_winealsa_drv
@ -17878,6 +17879,7 @@ wine_fn_config_test dlls/wer/tests wer_test
wine_fn_config_dll wevtapi enable_wevtapi
wine_fn_config_dll wiaservc enable_wiaservc clean
wine_fn_config_test dlls/wiaservc/tests wiaservc_test
wine_fn_config_dll wimgapi enable_wimgapi
wine_fn_config_dll win32s16.dll16 enable_win16
wine_fn_config_dll win87em.dll16 enable_win16
wine_fn_config_dll winaspi.dll16 enable_win16

View File

@ -3389,6 +3389,7 @@ WINE_CONFIG_TEST(dlls/wer/tests)
WINE_CONFIG_DLL(wevtapi)
WINE_CONFIG_DLL(wiaservc,,[clean])
WINE_CONFIG_TEST(dlls/wiaservc/tests)
WINE_CONFIG_DLL(wimgapi)
WINE_CONFIG_DLL(win32s16.dll16,enable_win16)
WINE_CONFIG_DLL(win87em.dll16,enable_win16)
WINE_CONFIG_DLL(winaspi.dll16,enable_win16)

4
dlls/wimgapi/Makefile.in Normal file
View File

@ -0,0 +1,4 @@
MODULE = wimgapi.dll
C_SRCS = \
main.c

46
dlls/wimgapi/main.c Normal file
View File

@ -0,0 +1,46 @@
/*
*
* wimgapi implementation
*
* Copyright 2015 Stefan Leichter
*
* 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(wimgapi);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
{
TRACE("(0x%p, %d, %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;
}

42
dlls/wimgapi/wimgapi.spec Normal file
View File

@ -0,0 +1,42 @@
@ stub -private DllCanUnloadNow
@ stdcall -private DllMain(long long ptr)
@ stub WIMApplyImage
@ stub WIMCaptureImage
@ stub WIMCloseHandle
@ stub WIMCommitImageHandle
@ stub WIMCopyFile
@ stub WIMCreateFile
@ stub WIMCreateImageFile
@ stub WIMDeleteImage
@ stub WIMDeleteImageMounts
@ stub WIMEnumImageFiles
@ stub WIMExportImage
@ stub WIMExtractImagePath
@ stub WIMFindFirstImageFile
@ stub WIMFindNextImageFile
@ stub WIMGetAttributes
@ stub WIMGetImageCount
@ stub WIMGetImageInformation
@ stub WIMGetMessageCallbackCount
@ stub WIMGetMountedImageHandle
@ stub WIMGetMountedImageInfo
@ stub WIMGetMountedImageInfoFromFile
@ stub WIMGetMountedImages
@ stub WIMInitFileIOCallbacks
@ stub WIMLoadImage
@ stub WIMMountImage
@ stub WIMMountImageHandle
@ stub WIMReadImageFile
@ stub WIMRegisterLogFile
@ stub WIMRegisterMessageCallback
@ stub WIMRemountImage
@ stub WIMSetBootImage
@ stub WIMSetFileIOCallbackTemporaryPath
@ stub WIMSetImageInformation
@ stub WIMSetReferenceFile
@ stub WIMSetTemporaryFile
@ stub WIMSplitFile
@ stub WIMUmountImage
@ stub WIMUmountImageHandle
@ stub WIMUnregisterLogFile
@ stub WIMUnregisterMessageCallback