Hans Leidekker : webservices: Add a stub implementation of WS_TYPE_ATTRIBUTE_FIELD_MAPPING in the reader.
Alexandre Julliard
julliard at winehq.org
Tue Oct 25 14:58:22 CDT 2016
Module: wine
Branch: master
Commit: 02ee6bda54e462c8fff4a1dc93b8cde2e68630f9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=02ee6bda54e462c8fff4a1dc93b8cde2e68630f9
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Oct 25 13:03:21 2016 +0200
webservices: Add a stub implementation of WS_TYPE_ATTRIBUTE_FIELD_MAPPING in the reader.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/webservices/reader.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index 7996cbe..169a0e1 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -3791,6 +3791,9 @@ ULONG get_type_size( WS_TYPE type, const WS_STRUCT_DESCRIPTION *desc )
case WS_STRUCT_TYPE:
return desc->size;
+ case WS_DESCRIPTION_TYPE:
+ return sizeof(WS_STRUCT_DESCRIPTION *);
+
default:
ERR( "unhandled type %u\n", type );
return 0;
@@ -3829,6 +3832,7 @@ static WS_READ_OPTION get_field_read_option( WS_TYPE type, ULONG options )
return WS_READ_REQUIRED_VALUE;
case WS_WSZ_TYPE:
+ case WS_DESCRIPTION_TYPE:
if (options & WS_FIELD_NILLABLE) return WS_READ_NILLABLE_POINTER;
if (options & WS_FIELD_OPTIONAL) return WS_READ_OPTIONAL_POINTER;
return WS_READ_REQUIRED_POINTER;
@@ -3940,6 +3944,10 @@ static HRESULT read_type_struct_field( struct reader *reader, const WS_FIELD_DES
ptr = buf + desc->offset;
switch (desc->mapping)
{
+ case WS_TYPE_ATTRIBUTE_FIELD_MAPPING:
+ FIXME( "WS_TYPE_ATTRIBUTE_FIELD_MAPPING not supported\n" );
+ return S_OK;
+
case WS_ATTRIBUTE_FIELD_MAPPING:
hr = read_type( reader, WS_ATTRIBUTE_TYPE_MAPPING, desc->type, desc->localName, desc->ns,
desc->typeDescription, option, heap, ptr, size );
More information about the wine-cvs
mailing list