Windows.Devices.Enumeration namespace

Expand
2 out of 2 rated this helpful - Rate this topic

Windows.Devices.Enumeration namespace

[This documentation is preliminary and is subject to change.]

Provides classes for enumerating devices.

The following are typical uses of the Windows.Devices.Enumeration API.

  • Building a user interface for selecting the device to be used by an application. For instance, a voice chat application may use the API to present a list of microphones for the user to select from.
  • Device discovery and notifications about devices for general application use.
  • Getting device information for a device using a previously obtained DeviceInformation ID.

Members

The Windows.Devices.Enumeration namespace has these types of members:

Classes

The Windows.Devices.Enumeration namespace has these classes.

ClassDescription
DeviceInformation Represents a device.
DeviceInformationCollection Represents a collection of DeviceInformation objects.
DeviceInformationUpdate Contains updated properties for a DeviceInformation object.
DeviceThumbnail Represents the thumbnail image for a device.
DeviceWatcher Enumerates devices dynamically, so that the app receives notifications if devices are added, removed, or changed after the initial enumeration is complete.
EnclosureLocation Describes the physical location of a device in its enclosure.

 

Enumerations

The Windows.Devices.Enumeration namespace has these enumerations.

EnumerationDescription
DeviceClass Indicates the type of devices that the user wants to enumerate.
DeviceWatcherStatus Describes the state of a DeviceWatcher object.
Panel Indicates the location of a panel on a computer.

 

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

Windows.Devices.Enumeration
Windows::Devices::Enumeration [C++]

Metadata

Windows.winmd

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD