From ca9f266ac0207365df315bca0aa61221115f51ae Mon Sep 17 00:00:00 2001
From: Hans Leidekker <hans@it.vu.nl>
Date: Mon, 26 Jun 2006 20:54:09 +0200
Subject: [PATCH] shell32: Add a stub implementation for
 SHIsFileAvailableOffline.

---
 dlls/shell32/shell.c      | 6 ++++++
 dlls/shell32/shell32.spec | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dlls/shell32/shell.c b/dlls/shell32/shell.c
index 533ccdb63ee..c8a78f85c74 100644
--- a/dlls/shell32/shell.c
+++ b/dlls/shell32/shell.c
@@ -86,6 +86,12 @@ BOOL WINAPI SHELL_DllEntryPoint(DWORD Reason, HINSTANCE16 hInst,
     return TRUE;
 }
 
+HRESULT WINAPI SHIsFileAvailableOffline(LPCWSTR path, LPDWORD status)
+{
+    FIXME("(%s, %p) stub\n", debugstr_w(path), status);
+    return E_FAIL;
+}
+
 /*************************************************************************
  *				DragAcceptFiles		[SHELL.9]
  */
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index 83f6df6d7af..c6a307d8bbd 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -359,7 +359,7 @@
 @ stdcall SHHelpShortcuts_RunDLLW(long long long long)
 @ stub SHInvokePrinterCommandA
 @ stub SHInvokePrinterCommandW
-@ stub SHIsFileAvailableOffline
+@ stdcall SHIsFileAvailableOffline(wstr ptr)
 @ stdcall SHLoadInProc(long)
 @ stub SHLoadNonloadedIconOverlayIdentifiers
 @ stub SHPathPrepareForWriteA
-- 
GitLab