R��mi Bernon (@rbernon) commented about include/windows.devices.enumeration.idl:
}
namespace Windows.Devices.Enumeration {
- [contract(Windows.Foundation.UniversalApiContract, 1.0)]
- enum DeviceClass
- {
All = 0,
AudioCapture = 1,
AudioRender = 2,
PortableStorageDevice = 3,
VideoCapture = 4,
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
ImageScanner = 5,
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
Location = 6
It's not done for the existing code but I think it's best to add a comma to the last element, so that future additions do not need to touch this line.