wimgapi: Add WIMGetMountedImages stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-03-24 15:25:21 -05:00 committed by Alexandre Julliard
parent 15d9a4a711
commit dc0377aaba
4 changed files with 48 additions and 1 deletions

View File

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

View File

@ -21,7 +21,7 @@
@ stub WIMGetMountedImageHandle
@ stub WIMGetMountedImageInfo
@ stub WIMGetMountedImageInfoFromFile
@ stub WIMGetMountedImages
@ stdcall WIMGetMountedImages(ptr ptr)
@ stub WIMInitFileIOCallbacks
@ stub WIMLoadImage
@ stub WIMMountImage

View File

@ -617,6 +617,7 @@ HEADER_SRCS = \
wfext.h \
wia.h \
wiadef.h \
wimgapi.h \
winbase.h \
wincon.h \
wincred.h \

38
include/wimgapi.h Normal file
View File

@ -0,0 +1,38 @@
/*
* 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
* 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
*/
#ifndef _WIMGAPI_H_
#define _WIMGAPI_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _WIM_MOUNT_LIST
{
WCHAR WimPath[MAX_PATH];
WCHAR MountPath[MAX_PATH];
DWORD ImageIndex;
BOOL MountedForRW;
} WIM_MOUNT_LIST, *PWIM_MOUNT_LIST, *LPWIM_MOUNT_LIST;
#ifdef __cplusplus
}
#endif
#endif /* _WIMGAPI_H_ */