Поделиться через


DeviceNotificationHandlers element

The DeviceNotificationHandlers element specifies device notification handlers for the device.

Usage

<DeviceNotificationHandlers>
  child elements
</DeviceNotificationHandlers>

Attributes

There are no attributes.

Child elements

Element Description

DeviceNotificationHandler

An element of type DeviceNoficationHandlerType.

Child element sequence

DeviceNotificationHandler

Parent elements

Element Description

Application

An element of type ApplicationType

XSD

The following is the XSD definition of the DeviceNotificationHandlers type.

<!-- Device Notification Handlers Type Definition -->
<xs:complexType name="DeviceNotificationHandlersType">
    <xs:sequence>
      <xs:element name="DeviceNotificationHandler" 
              type="tns:DeviceNotificationHandlerType" 
              maxOccurs="unbounded" />
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
</xs:complexType>

Remarks

Based on the DeviceNotificationHandler elements, the system calls the application and invokes the registered task in the application when the device enters a registered state. In Windows 8, this handler is supported for printers and SMS devices only.

Element information

Minimum supported system

Windows 8
Can be empty Yes

See also

Application

DeviceNotificationHandler

SoftwareInfo XML Example

 

 

Send comments about this topic to Microsoft