Windows Dev Center

DeviceClass enumeration

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

Syntax


public enum class DeviceClass

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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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:
© 2015 Microsoft