SetupApiDeviceFiter Enumeration

Specifies control options that filter the device information elements that are added to the device information set.

For SetupDiGetClassDevs(IntPtr, String, IntPtr, SetupApiDeviceFiter) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum SetupApiDeviceFiter

Remarks

Members

Default 1 Return only the device that is associated with the system default device interface, if one is set, for the specified device interface classes.
Present 2 Return only devices that are currently present in a system.
AllClasses 4 Return a list of installed devices for all device setup classes or all device interface classes.
Profile 8 Return only devices that are a part of the current hardware profile.
DeviceInterface 16 Return devices that support device interfaces for the specified device interface classes.

This flag must be set in the 'Flags' parameter if the 'Enumerator' parameter specifies a device instance ID.

See Also