thisModelMetadata element

Defines the manufacturer and model metadata for the device to be implemented. This element is used for device implementations (hosts) only.

Usage

<thisModelMetadata>
  child elements
</thisModelMetadata>

Attributes

There are no attributes.

Child elements

Element Description
manufacturer
Name of the manufacturer. At least one of manufacturer or manufacturerLS must be present in the metadata.

manufacturerLS
Localized version of the manufacturer name.

manufacturerURL
Manufacturer URL address.

modelName
Name of the device. At least one of modelName or modelNameLS must be present in the metadata.

modelNameLS
Localized version of the device name.

modelNumber
Model number of the device.

modelURL
URL address for the device model.

PnPXDeviceCategory
PnP-X category to which the device belongs.

presentationURL
URL address of the device model's presentation data.

Child element sequence

(
  manufacturer?, 
  manufacturerLS*, 
  manufacturerURL?, 
  modelName?, 
  modelNameLS*, 
  modelNumber, 
  modelURL?, 
  PnPXDeviceCategory?, 
  presentationURL?
)

Parent elements

Element Description
wsdCodeGen
The root element of an WSDAPI code generator XML script file.

Remarks

The manufacturer metadata matches the manufacturer metadata section described in the device profile (consult the device profile for details). The manufacturer name or at least one localized version of the manufacturer name must be provided. The model name or at least one localized version of the model name must be provided.

The thisModelMetadataDefinition element is subsequently used to generate a C constant containing this information.

If a PnPXDeviceCategory element is present, then at least one hosted element must contain both PnPXHardwareId and PnPXCompatibleId elements. Similarly, if PnPXHardwareId and PnPXCompatibleId elements are present in a hosted element, a PnPXDeviceCategory element must be present inside the thisModelMetadata element.

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty No