Skip to content

Latest commit

 

History

History
75 lines (43 loc) · 2.24 KB

pnpobjecttype.md

File metadata and controls

75 lines (43 loc) · 2.24 KB
-api-id -api-type
T:Windows.Devices.Enumeration.Pnp.PnpObjectType
winrt enum

PnpObjectType

-description

Important

We no longer recommend that you use the types in the Windows.Devices.Enumeration.Pnp namespace. Instead, the types in the Windows.Devices.Enumeration namespace implement a modern, and better maintained, superset of the functionality of Windows.Devices.Enumeration.Pnp.

The alternative to PnpObjectType is the Windows.Devices.Enumeration.DeviceInformationKind enum, which you can pass as a parameter to Windows.Devices.Enumeration APIs. For example, instead of using PnpObjectType when you create a PnpObjectWatcher, use DeviceInformationKind when you create a DeviceWatcher.

Defines constants that specify the type of device represented by the PnpObject.

-enum-fields

-field Unknown:0

The object is of an unknown type. This value is not used.

-field DeviceInterface:1

The PnpObject represents a device interface.

-field DeviceContainer:2

The PnpObject represents a device container.

-field Device:3

The PnpObject represents a device.

-field DeviceInterfaceClass:4

The PnpObject represents a device interface class.

-field AssociationEndpoint:5

The PnpObject represents an association endpoint.

-field AssociationEndpointContainer:6

The PnpObject represents an association endpoint container.

-field AssociationEndpointService:7

The PnpObject represents an association endpoint service.

-field DevicePanel:8

The PnpObject represents a device input panel.

-field AssociationEndpointProtocol: 9

Specifies that the PnpObject represents an association endpoint protocol.

-remarks

Version history

Windows version SDK version Value added
1809 17763 DevicePanel

-examples

-see-also

PnpObject