Hans Leidekker : webservices: Add a stub implementation of WsGetErrorString.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 14 11:12:50 CDT 2015


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Oct 14 13:01:02 2015 +0200

webservices: Add a stub implementation of WsGetErrorString.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/webservices/reader.c         | 9 +++++++++
 dlls/webservices/webservices.spec | 2 +-
 include/webservices.h             | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index bfa16ec..a8990d8 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -513,6 +513,15 @@ HRESULT WINAPI WsGetErrorProperty( WS_ERROR *handle, WS_ERROR_PROPERTY_ID id, vo
 }
 
 /**************************************************************************
+ *          WsGetErrorString		[webservices.@]
+ */
+HRESULT WINAPI WsGetErrorString( WS_ERROR *handle, ULONG index, WS_STRING *str )
+{
+    FIXME( "%p %u %p: stub\n", handle, index, str );
+    return E_NOTIMPL;
+}
+
+/**************************************************************************
  *          WsGetHeapProperty		[webservices.@]
  */
 HRESULT WINAPI WsGetHeapProperty( WS_HEAP *handle, WS_HEAP_PROPERTY_ID id, void *buf,
diff --git a/dlls/webservices/webservices.spec b/dlls/webservices/webservices.spec
index 508645b..85014bf 100644
--- a/dlls/webservices/webservices.spec
+++ b/dlls/webservices/webservices.spec
@@ -63,7 +63,7 @@
 @ stub WsGetCustomHeader
 @ stub WsGetDictionary
 @ stdcall WsGetErrorProperty(ptr long ptr long)
-@ stub WsGetErrorString
+@ stdcall WsGetErrorString(ptr long ptr)
 @ stub WsGetFaultErrorDetail
 @ stub WsGetFaultErrorProperty
 @ stub WsGetHeader
diff --git a/include/webservices.h b/include/webservices.h
index 0a8b206..d9d1052 100644
--- a/include/webservices.h
+++ b/include/webservices.h
@@ -360,7 +360,7 @@ void WINAPI WsFreeError(WS_ERROR*);
 void WINAPI WsFreeHeap(WS_HEAP*);
 void WINAPI WsFreeReader(WS_XML_READER*);
 HRESULT WINAPI WsGetErrorProperty(WS_ERROR*, WS_ERROR_PROPERTY_ID, void*, ULONG);
-HRESULT WINAPI WsGetErrorString(WS_ERROR*, ULONG, WS_STRING**);
+HRESULT WINAPI WsGetErrorString(WS_ERROR*, ULONG, WS_STRING*);
 HRESULT WINAPI WsGetHeapProperty(WS_HEAP*, WS_HEAP_PROPERTY_ID, void*, ULONG, WS_ERROR*);
 HRESULT WINAPI WsGetReaderNode(WS_XML_READER*, const WS_XML_NODE**, WS_ERROR*);
 HRESULT WINAPI WsGetReaderPosition(WS_XML_READER*, WS_XML_NODE_POSITION*, WS_ERROR*);




More information about the wine-cvs mailing list