How does Windows determine device categorization in "Device Manager"?
For instance, Device Manager lists such categories as "Imaging devices", "Keyboards", "Sound, video, and game controllers", etc. -- how does Windows "know" to put a device into any of these categories?
How does Windows decide which device is which, and then file it under a category?
For reference, I understand Windows uses hardware and vendor IDs to "know" what a device is, and that the visible naming of a device stems from the initial INF file. But from my understanding, INF files don't define the category or type of device, hence why I'm wondering how Windows is making the distinction.