desktop3:Device
Defines the device information of an AutoPlayHandler.
Element hierarchy
<desktop3:Device>
Syntax
<desktop3:Device
DeviceEvent = 'A string with a value between 1 and 255 characters in length. Backward slashes ("\") are not allowed.'
HWEventHandler = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
InitCmdLine = 'An optional string with a value between 1 and 255 characters in length.' />
Attributes and elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
DeviceEvent | The name of a content event raised when a volume device such as a camera memory card, USB drive, or DVD is inserted into the PC. | A string with a value between 1 and 255 characters in length. Backward slashes (\ ) are not allowed. |
Yes | |
HWEventHandler | The Class ID of the app that implements the IHWEventHandler interface. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
InitCmdLine | A string parameter that should be passed into the Initialize method of the IHWEventHandler interface. | An optional string with a value between 1 and 255 characters in length. | No |
Child elements
None.
Parent elements
Parent element | Description |
---|---|
desktop3:InvokeAction | Contains content and device information for invoking an AutoPlay action. |
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/desktop/windows10/3 |
Minimum OS Version | Windows 10 version 1709 (Build 16299) |