DeviceClass enumeration

Applies to Windows and Windows Phone

Indicates the type of devices that the user wants to enumerate.

Syntax


var value = Windows.Devices.Enumeration.DeviceClass.all;

Attributes

[Version(0x06020000)]

Members

The DeviceClass enumeration has these members.

MemberValueDescription
All | all0

Indicates that the user wants to enumerate all devices.

AudioCapture | audioCapture1

Indicates that the user wants to enumerate all audio capture devices.

AudioRender | audioRender2

Indicates that the user wants to enumerate all audio rendering devices.

PortableStorageDevice | portableStorageDevice3

Indicates that the user wants to enumerate all portable storage devices.

VideoCapture | videoCapture4

Indicates that the user wants to enumerate all video capture devices.

ImageScanner | imageScanner5

Introduced in Windows 8.1. Indicates that the user wants to enumerate all scanning devices.

Location | location6

Introduced in Windows 8.1. Indicates that the user wants to enumerate all location aware devices.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft