DeviceClass DeviceClass DeviceClass DeviceClass DeviceClass Enum

Definition

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

public : enum class DeviceClass
enum class winrt::Windows::Devices::Enumeration::DeviceClass : int32_t
public enum DeviceClass
Public Enum DeviceClass
var value = Windows.Devices.Enumeration.DeviceClass.all;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

All All All All All 0

Indicates that the user wants to enumerate all devices.

AudioCapture AudioCapture AudioCapture AudioCapture AudioCapture 1

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

AudioRender AudioRender AudioRender AudioRender AudioRender 2

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

ImageScanner ImageScanner ImageScanner ImageScanner ImageScanner 5

Indicates that the user wants to enumerate all scanning devices.

Location Location Location Location Location 6

Indicates that the user wants to enumerate all location aware devices.

PortableStorageDevice PortableStorageDevice PortableStorageDevice PortableStorageDevice PortableStorageDevice 3

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

VideoCapture VideoCapture VideoCapture VideoCapture VideoCapture 4

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