[1/7] webservices: Add a stub implementation of WsGetErrorString.

Hans Leidekker hans at codeweavers.com
Wed Oct 14 06:01:02 CDT 2015


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 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*);
-- 
2.6.1




More information about the wine-patches mailing list