This is an automated email from the git hooks/post-receive script. mgilbert pushed a commit to branch master in repository wine.
commit dc0377aabaf8457fb436870bf7bc00df7dcd1bbe Author: Austin English <[email protected]> Date: Thu Mar 24 15:25:21 2016 -0500 wimgapi: Add WIMGetMountedImages stub. Signed-off-by: Austin English <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> --- dlls/wimgapi/main.c | 8 ++++++ dlls/wimgapi/wimgapi.spec | 2 +- include/Makefile.in | 1 + dlls/wimgapi/main.c => include/wimgapi.h | 44 +++++++++++--------------------- 4 files changed, 25 insertions(+), 30 deletions(-) diff --git a/dlls/wimgapi/main.c b/dlls/wimgapi/main.c index d7c3bab..a7321fa 100644 --- a/dlls/wimgapi/main.c +++ b/dlls/wimgapi/main.c @@ -26,6 +26,7 @@ #include "windef.h" #include "winbase.h" #include "wine/debug.h" +#include "wimgapi.h" WINE_DEFAULT_DEBUG_CHANNEL(wimgapi); @@ -50,3 +51,10 @@ DWORD WINAPI WIMRegisterMessageCallback(HANDLE wim, FARPROC callback, PVOID data FIXME("(%p %p %p) stub\n", wim, callback, data); return 0; } + +BOOL WINAPI WIMGetMountedImages(PWIM_MOUNT_LIST list, DWORD *length) +{ + FIXME("(%p %p) stub\n", list, length); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} diff --git a/dlls/wimgapi/wimgapi.spec b/dlls/wimgapi/wimgapi.spec index 7464a5a..bb79d5b 100644 --- a/dlls/wimgapi/wimgapi.spec +++ b/dlls/wimgapi/wimgapi.spec @@ -21,7 +21,7 @@ @ stub WIMGetMountedImageHandle @ stub WIMGetMountedImageInfo @ stub WIMGetMountedImageInfoFromFile -@ stub WIMGetMountedImages +@ stdcall WIMGetMountedImages(ptr ptr) @ stub WIMInitFileIOCallbacks @ stub WIMLoadImage @ stub WIMMountImage diff --git a/include/Makefile.in b/include/Makefile.in index ac10691..fb1c195 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -617,6 +617,7 @@ HEADER_SRCS = \ wfext.h \ wia.h \ wiadef.h \ + wimgapi.h \ winbase.h \ wincon.h \ wincred.h \ diff --git a/dlls/wimgapi/main.c b/include/wimgapi.h similarity index 50% copy from dlls/wimgapi/main.c copy to include/wimgapi.h index d7c3bab..e517b57 100644 --- a/dlls/wimgapi/main.c +++ b/include/wimgapi.h @@ -1,8 +1,5 @@ /* - * - * wimgapi implementation - * - * Copyright 2015 Stefan Leichter + * Copyright (C) 2015 Austin English * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,34 +16,23 @@ * 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" +#ifndef _WIMGAPI_H_ +#define _WIMGAPI_H_ -WINE_DEFAULT_DEBUG_CHANNEL(wimgapi); +#ifdef __cplusplus +extern "C" { +#endif -BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) +typedef struct _WIM_MOUNT_LIST { - TRACE("(0x%p, %d, %p)\n", instance, reason, reserved); + WCHAR WimPath[MAX_PATH]; + WCHAR MountPath[MAX_PATH]; + DWORD ImageIndex; + BOOL MountedForRW; +} WIM_MOUNT_LIST, *PWIM_MOUNT_LIST, *LPWIM_MOUNT_LIST; - switch (reason) - { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(instance); - break; - } - - return TRUE; +#ifdef __cplusplus } +#endif -DWORD WINAPI WIMRegisterMessageCallback(HANDLE wim, FARPROC callback, PVOID data) -{ - FIXME("(%p %p %p) stub\n", wim, callback, data); - return 0; -} +#endif /* _WIMGAPI_H_ */ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git _______________________________________________ pkg-wine-party mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wine-party
