WSD_THIS_DEVICE_METADATA 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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WsdTypes.h (include Wsdapi.h)

 

 

Community Additions

ADD
Show: