Share via


WSD_THIS_DEVICE_METADATA (Compact 2013)

3/26/2014

This structure specifies metadata that is unique to a specific device.

Syntax

typedef struct _WSD_THIS_DEVICE_METADATA {
  WSD_LOCALIZED_STRING_LIST* FriendlyName;
  const WCHAR* FirmwareVersion;
  const WCHAR* SerialNumber;
  WSDXML_ELEMENT* Any;
} WSD_THIS_DEVICE_METADATA;

Members

  • FriendlyName
    Reference to a WSD_LOCALIZED_STRING_LIST structure that contains the list of localized friendly names for the device. It should be set to fewer than 256 characters.
  • FirmwareVersion
    The firmware version of the device. It should be set to fewer than 256 characters.
  • SerialNumber
    The serial number of the device. It should be set to fewer than 256 characters.
  • Any
    Reference to a WSDXML_ELEMENT structure that provides an extensible space for devices to add custom metadata to the device specific section. For example, you can use this to add a user-defined name for the device.

Remarks

ThisDevice metadata follows this form:

<wsd:ThisDevice>

<wsd:FriendlyName>

A. Datum WebWeigh Scale

</wsd:FriendlyName>

<wsd:FirmwareVersion>

2.53c

</wsd:FirmwareVersion>

<wsd:SerialNumber>

923450982349058

</wsd:SerialNumber>

</wsd:ThisDevice>

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Structures