WSD_THIS_DEVICE_METADATA (Windows Embedded CE 6.0)
1/6/2010
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 |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |