Skip to content

Latest commit

 

History

History
89 lines (71 loc) · 2.67 KB

ns-webservices-ws_custom_type_description.md

File metadata and controls

89 lines (71 loc) · 2.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:webservices._WS_CUSTOM_TYPE_DESCRIPTION
WS_CUSTOM_TYPE_DESCRIPTION (webservices.h)
Represents a custom mapping between a C data type and an XML element.
WS_CUSTOM_TYPE_DESCRIPTION
WS_CUSTOM_TYPE_DESCRIPTION structure [Web Services for Windows]
webservices/WS_CUSTOM_TYPE_DESCRIPTION
wsw.ws_custom_type_description
wsw\ws_custom_type_description.htm
wsw
7ae3d16c-0755-4226-844e-52cf96fa84fb
12/05/2018
WS_CUSTOM_TYPE_DESCRIPTION, WS_CUSTOM_TYPE_DESCRIPTION structure [Web Services for Windows], webservices/WS_CUSTOM_TYPE_DESCRIPTION, wsw.ws_custom_type_description
webservices.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
WS_CUSTOM_TYPE_DESCRIPTION
19H1
_WS_CUSTOM_TYPE_DESCRIPTION
webservices/_WS_CUSTOM_TYPE_DESCRIPTION
WS_CUSTOM_TYPE_DESCRIPTION
webservices/WS_CUSTOM_TYPE_DESCRIPTION
c++
APIRef
kbSyntax
HeaderDef
WebServices.h
WS_CUSTOM_TYPE_DESCRIPTION

WS_CUSTOM_TYPE_DESCRIPTION structure

-description

Represents a custom mapping between a C data type and an XML element.User-defined callbacks are invoked to do the actual reading and writing.

-struct-fields

-field size

The size of the custom type, in bytes.

-field alignment

The alignment requirement of the custom type. This must be a power of two between 1 and 8.

-field readCallback

A pointer to a callback which is invoked to read the type.

-field writeCallback

A pointer to a callback which is invoked to write the type.

-field descriptionData

This can be used to point to additional user-defined data specific to the type. It is optional and may be NULL.

The pointer to this data is passed to the WS_READ_TYPE_CALLBACK and the WS_WRITE_TYPE_CALLBACK. This allows the callback to access information that is specific to this particular usage of the callback.

-field isDefaultValueCallback