hosted element

Defines the ServiceID, Types,PnPXHardwareId, and PnPXCompatibleId elements for the services defined by the service host.

Usage

<hosted>
  child elements
</hosted>

Attributes

There are no attributes.

Child elements

Element Description
PnPXCompatibleId
Specifies the PnP-X Compatible Identifier of the service.

PnPXHardwareId
Specifies the PnP-X Hardware Identifier of the service.

ServiceID
Defines a service identifier for the service host.

Types
Defines a list of XSD qualified names.

Child element sequence

(
  ServiceID, 
  Types, 
  PnPXHardwareId?, 
  PnPXCompatibleId?
)

Parent elements

Element Description
hostMetadata
The hosting metadata for the device to be implemented.

Remarks

Each service provided by a service host should have its own hosted element information to ensure that the service is published properly in responses to metadata requests.

The PnPXHardwareId and PnPXCompatibleId elements are optional, but when used, they must be used together. If one is present, the other must be present as well.

If a PnPXDeviceCategory element is present, then at least one hosted element must contain both PnPXHardwareId and PnPXCompatibleId elements. Similarly, if PnPXHardwareId and PnPXCompatibleId elements are present in a hosted element, at least one PnPXDeviceCategory element must be present inside the thisModelMetadata element.

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty No