WSD_METADATA_SECTION structure (wsdtypes.h)

Represents a section of metadata in a generic form.

Note  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
http://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.
http://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.
`http://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 http://schemas.xmlsoap.org/ws/2006/02/devprof/ThisModel, http://schemas.xmlsoap.org/ws/2006/02/devprof/ThisDevice, or http://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

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wsdtypes.h (include Wsdapi.h)