The Windows Media Creation Tool crashes on this unimplemented function.
Signed-off-by: Mohamad Al-Jaf mohamadaljaf@gmail.com --- 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 7c39b01a5cc..1e43ca2d9f7 100644 --- a/dlls/wimgapi/main.c +++ b/dlls/wimgapi/main.c @@ -47,3 +47,10 @@ HANDLE WINAPI WIMCreateFile(WCHAR *path, DWORD access, DWORD creation, DWORD fla SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return NULL; } + +BOOL WINAPI WIMInitFileIOCallbacks(LPVOID callbacks) +{ + FIXME("(%p) stub\n", callbacks); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} diff --git a/dlls/wimgapi/wimgapi.spec b/dlls/wimgapi/wimgapi.spec index e2476755cc1..5df9a2eebae 100644 --- a/dlls/wimgapi/wimgapi.spec +++ b/dlls/wimgapi/wimgapi.spec @@ -22,7 +22,7 @@ @ stub WIMGetMountedImageInfo @ stub WIMGetMountedImageInfoFromFile @ stdcall WIMGetMountedImages(ptr ptr) -@ stub WIMInitFileIOCallbacks +@ stdcall WIMInitFileIOCallbacks(ptr) @ stub WIMLoadImage @ stub WIMMountImage @ stub WIMMountImageHandle