WindowsInfo element

The WindowsInfo element is the parent element of the WindowsInfo XML schema. The child elements of the WindowsInfo element contain information that the operating system uses to define display actions for the device metadata package.

Usage

<WindowsInfo>
  child elements
</WindowsInfo>

Attributes

There are no attributes.

Child elements

ElementDescription

EnableAutoPlayForRegisteredApps

The EnableAutoPlayForRegisteredApps element specifies whether AutoPlay is enabled within the device metadata package.

LaunchApplicationOnDeviceConnect

The LaunchApplicationOnDeviceConnect element specifies an application that should appear as the recommended AutoPlay action when the device is connected.

LaunchDeviceStageFromExplorer

The LaunchDeviceStageFromExplorer element specifies whether the operating system displays a Device Stage user interface when the user double-clicks the device icon that appears in either Devices and Printers or Windows Explorer.

LaunchDeviceStageOnDeviceConnect

The LaunchDeviceStageOnDeviceConnect element specifies whether the operating system displays a Device Stage user interface when the device transitions from a disconnected state to a connected state, such as when the user plugs in the device.

ShowDeviceInDisconnectedState

The ShowDeviceInDisconnectedState element specifies whether the device icon specified within the device metadata package should be displayed when the device is in a disconnected state, such as when the user removes the device.

Child element sequence

(
  ShowDeviceInDisconnectedState, 
  LaunchDeviceStageOnDeviceConnect, 
  LaunchDeviceStageFromExplorer, 
  LaunchApplicationOnDeviceConnect, 
  EnableAutoPlayForRegisteredApps
)

Parent elements

There are no parent elements.

XSD

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/" xmlns:tns="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">

<xs:import namespace="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/WindowsInfov2" schemaLocation="WindowsInfov2.xsd" />

  <xs:element name="WindowsInfo" type="tns:WindowsInfoType" />

  <xs:complexType name="WindowsInfoType">
    <xs:sequence>
      <xs:element name="ShowDeviceInDisconnectedState" type="xs:boolean" default="false" />
      <xs:element name="LaunchDeviceStageOnDeviceConnect" type="xs:boolean" default="false" minOccurs="0" />
      <xs:element name="LaunchDeviceStageFromExplorer" type="xs:boolean" default="false" minOccurs="0" />
      <xs:element ref="v2:LaunchApplicationOnDeviceConnect" minOccurs="0" />
      <xs:element ref="v2:WindowsHardwareLogoCertified" minOccurs="0" />
      <xs:element ref="v2:EnableAutoPlayForRegisteredApps" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>

</xs:schema>

Remarks

The WindowsInfo element must contain one instance of the ShowDeviceInDisconnectedState element. The LaunchDeviceStageFromExplorer, LaunchDeviceStageOnDeviceConnect are optional.

Important  The LaunchDeviceStageFromExplorer and LaunchDeviceStageOnDeviceConnect elements can only be used for eligible devices that comply with the Device Stage participation and implementation requirements. Otherwise, Windows ignores this element in the device metadata package.

For more information about the Device Stage user interface, refer to the Windows Device Experience website.

The WindowsInfo element is required.

See also

Device Icon File
Device Metadata Packages
LaunchDeviceStageFromExplorer
LaunchDeviceStageOnDeviceConnect
ShowDeviceInDisconnectedState

 

 

Send comments about this topic to Microsoft

Show: