[PATCH] shell32: Partially implement ShellLink_AddDataBlock

Vijay Kiran Kamuju infyquest at gmail.com
Thu Dec 12 04:58:57 CST 2019


Wine Bug: https://bugs.winehq.org/show_bug.cgi?id=38171
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
---
 dlls/shell32/shelllink.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index 0dfb81c6e7..5831a9046e 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -2228,8 +2228,11 @@ ShellLink_DataList_Release( IShellLinkDataList* iface )
 static HRESULT WINAPI
 ShellLink_AddDataBlock( IShellLinkDataList* iface, void* pDataBlock )
 {
-    FIXME("(%p)->(%p): stub\n", iface, pDataBlock);
-    return E_NOTIMPL;
+    DATABLOCK_HEADER *hdr = (DATABLOCK_HEADER *)pDataBlock;
+
+    FIXME("(%p)->(%p) (Size: %d - Signature: %08x): partially implemented.\n", iface, pDataBlock, hdr->cbSize, hdr->dwSignature);
+
+    return S_OK;
 }
 
 static HRESULT WINAPI
-- 
2.21.0




More information about the wine-devel mailing list