Share via


DeviceInfo element

Important

Device metadata is deprecated and will be removed in a future release of Windows. For information about the replacement for this functionality, see Driver Package Container Metadata.

The DeviceInfo element is the parent element of the DeviceInfo XML schema. The child elements of the DeviceInfo element define the attributes of the device specified within the device metadata package.

Usage

<DeviceInfo>
  child elements
</DeviceInfo>

Attributes

There are no attributes.

Child elements

Element Description
DeviceCategoryList This element specifies the primary function of the device.
DeviceDescription1 This element specifies the descriptive information about the device.
DeviceDescription2 This element serves the same purpose as Device Description 1 and is used to provide additional descriptive information about the device.
DeviceIconFile This element is a string specifying the name of the device icon file in the device metadata package.
Manufacturer This element specifies the name of the device manufacturer.
ModelName This element specifies the model name of number of the device.
ModelNumber This element specifies the model number of the device as defined by the manufacturer.

Child element sequence

(
  DeviceCategoryList, 
  ModelName, 
  DeviceDescription1, 
  DeviceDescription2, 
  ModelNumber, 
  Manufacturer, 
  DeviceIconFile
)

Parent elements

There are no parent elements.

XSD

<xs:element name="DeviceInfo" type="tns:DeviceInfoType" />

 <xs:complexType name="DeviceInfoType">
  <xs:sequence>
   <xs:element name="DeviceCategoryList" type="tns:DeviceCategoryListType" />
   <xs:element name="ModelName" type="tns:ModelNameType" />
   <xs:element name="DeviceDescription1" type="tns:DeviceDescriptionType" minOccurs="0" />
   <xs:element name="DeviceDescription2" type="tns:DeviceDescriptionType" minOccurs="0" />
   <xs:element name="ModelNumber" type ="tns:GenericNameType" minOccurs="0" />
   <xs:element name="Manufacturer" type="tns:GenericNameType" />
   <xs:element name="DeviceIconFile" type="tns:DeviceIconFileType" minOccurs="0" />
   <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
 </xs:complexType>

Remarks

The DeviceInfo element must contain one instance of the following elements:

The DeviceInfo element can also contain one instance of the following elements:

The DeviceInfo element is required.

See also