Austin English : wimgapi: Add WIMCreateFile stub.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 12 10:20:47 CDT 2016


Module: wine
Branch: master
Commit: 044baef529070818f9bfab434d6b5467a189dca5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=044baef529070818f9bfab434d6b5467a189dca5

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Mar 24 15:27:01 2016 -0500

wimgapi: Add WIMCreateFile stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 a7321fa..72437ee 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 bb79d5b..17380a7 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




More information about the wine-cvs mailing list