WSD_METADATA_SECTION (Compact 2013)
3/26/2014
This structure represents a section of metadata in a generic form.
Only one of the Data, MetadataReference, or Location members should be specified.
Syntax
typedef struct _WSD_METADATA_SECTION {
const WCHAR* Dialect;
const WCHAR* Identifier;
void* Data;
WSD_ENDPOINT_REFERENCE* MetadataReference;
const WCHAR* Location;
WSDXML_ELEMENT* Any;
} WSD_METADATA_SECTION;
Members
Dialect
The format and version of the metadata section.Value
Meaning
https://schemas.xmlsoap.org/ws/2006/02/devprof/ThisModel
The metadata section contains model-specific information relating to the device. If the Data member is specified, then its type is WSD_THIS_MODEL_METADATA.
https://schemas.xmlsoap.org/ws/2006/02/devprof/ThisDevice
The metadata section contains metadata that is unique to a specific device. If the Data member is specified, then its type is WSD_THIS_DEVICE_METADATA.
https://schemas.xmlsoap.org/ws/2006/02/devprof/Relationship
The metadata section contains metadata about the relationship between two or more services. If the Data member is specified, then its type is WSD_RELATIONSHIP_METADATA.
- Identifier
The dialect-specific identifier for the scope/domain/namespace of the metadata section.
- Data
Reference to a binary representation of the metadata. The type of metadata is specified by Dialect. This member is ignored if Dialect does not have a value of https://schemas.xmlsoap.org/ws/2006/02/devprof/ThisModel, https://schemas.xmlsoap.org/ws/2006/02/devprof/ThisDevice, or https://schemas.xmlsoap.org/ws/2006/02/devprof/Relationship.
- MetadataReference
Reference to a WSD_ENDPOINT_REFERENCE structure used identify the endpoint from which metadata can be retrieved.
- Location
A URI that specifies the location from which metadata can be retrieved.
- Any
Reference to a WSDXML_ELEMENT structure that specifies extension content allowed by the XML ANY keyword.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |