Share via


WSD_THIS_MODEL_METADATA

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure provides model-specific information relating to the device.

Syntax

typedef struct _WSD_THIS_MODEL_METADATA {
  WSD_LOCALIZED_STRING_LIST* Manufacturer;
  const WCHAR* ManufacturerUrl;
  WSD_LOCALIZED_STRING_LIST* ModelName;
  const WCHAR* ModelNumber;
  const WCHAR* ModelUrl;
  const WCHAR* PresentationUrl;
  WSDXML_ELEMENT* Any;
} WSD_THIS_MODEL_METADATA;

Members

  • Manufacturer
    Reference to a WSD_LOCALIZED_STRING_LIST structure that contains the manufacturer name. The name should be set to fewer than 2048 characters.
  • ManufacturerUrl
    The URL to a Web site for the device manufacturer. The URL should have fewer than 2048 characters.
  • ModelName
    Reference to a WSD_LOCALIZED_STRING_LIST structure that specifies model names. This is a list of localized friendly names that should be set to fewer than 256 characters.
  • ModelNumber
    The model number. This should be set to fewer than 256 characters.
  • ModelUrl
    The URL to a Web site for this device model. The URL should have fewer than 2048 characters.
  • PresentationUrl
    An HTML page for this device. This can be relative to a base URL set by XML Base. The URL should have fewer than 2048 characters.
  • Any
    Reference to a WSDXML_ELEMENT structure that specifies extension content allowed by the XML ANY keyword.

Remarks

WSD_THIS_MODEL_METADATA specifies manufacturer metadata that is common to all instances of a specific model.

Model metadata follows this form:

<wsd:ThisModel>

<wsd:Manufacturer>

A. Datum Corporation

</wsd:Manufacturer>

<wsd:ManufacturerURL>

https://www.adatum.com

</wsd:ManufacturerURL>

<wsd:ModelName>

WebWeigh

</wsd:ModelName>

<wsd:ModelNumber>

9-23492-83049

</wsd:ModelNumber>

<wsd:ModelURL>

https://www.adatum.com/WebWeighOwner.html

</wsd:ModelURL>

<wsd:PresentationURL>

presentation/menu.html

</wsd:PresentationURL>

</wsd:ThisModel>

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Structures