Bewerken

Delen via


DesktopAutoplayHandler

MBAE deprecation warning

Important

Starting in Windows 10, version 1803, the MBAE app experience is replaced by an MO UWP app. For more information about MO UWP apps, see UWP mobile broadband apps.

The DesktopAutoplayHandler element specifies a desktop app that should appear as the recommended AutoPlay action when the device is connected and no default action is set. The AutoPlay event is raised whenever a user plugs in a device.

Usage

<DesktopAutoplayHandler>
  text
</DesktopAutoplayHandler>

Attributes

There are no attributes.

Text value

String indicating the desktop app that handles the AutoPlay event.

Child elements

There are no child elements.

Parent elements

Element Description

WindowsInfo

The parent element of the WindowsInfo XML schema.

XSD

<xs:element name="DesktopAutoplayHandler" type="xs:string" />

Remarks

You specify the desktop AutoPlay Handler string in the DesktopAutoplayHandler element when you set the desktop app. You can retrieve the string from the handler subkey name that is registered under the following registry key:

HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers

The DesktopAutoplayHandler element is optional.