From 044baef529070818f9bfab434d6b5467a189dca5 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 24 Mar 2016 15:27:01 -0500 Subject: [PATCH] wimgapi: Add WIMCreateFile stub. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- dlls/wimgapi/main.c | 7 +++++++ dlls/wimgapi/wimgapi.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/wimgapi/main.c b/dlls/wimgapi/main.c index a7321faebce..72437ee5b6c 100644 --- a/dlls/wimgapi/main.c +++ b/dlls/wimgapi/main.c @@ -58,3 +58,10 @@ BOOL WINAPI WIMGetMountedImages(PWIM_MOUNT_LIST list, DWORD *length) SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; } + +HANDLE WINAPI WIMCreateFile(WCHAR *path, DWORD access, DWORD creation, DWORD flags, DWORD compression, DWORD *result) +{ + FIXME("(%s %d %d %d %d %p) stub\n", debugstr_w(path), access, creation, flags, compression, result); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} diff --git a/dlls/wimgapi/wimgapi.spec b/dlls/wimgapi/wimgapi.spec index bb79d5b58e0..17380a75581 100644 --- a/dlls/wimgapi/wimgapi.spec +++ b/dlls/wimgapi/wimgapi.spec @@ -5,7 +5,7 @@ @ stub WIMCloseHandle @ stub WIMCommitImageHandle @ stub WIMCopyFile -@ stub WIMCreateFile +@ stdcall WIMCreateFile(wstr long long long long ptr) @ stub WIMCreateImageFile @ stub WIMDeleteImage @ stub WIMDeleteImageMounts