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