Previous Next

Creating a New Device Setup Class

You should only create a new device setup class if absolutely necessary. It is usually possible to assign your device to one of the system-supplied device setup classes.

If your device meets both of the following criteria, you should assign it to an existing device setup class:

Under the either of following circumstances, you should consider providing a device co-installer:

If your device provides capabilities that are significantly different from the capabilities provided by devices that belong to existing classes, it might merit a new device setup class. However, you must never create a new setup class for a device that belongs to one of the system-supplied classes. If you do, you will bypass the system-supplied class installer and your device will not be properly integrated into the system.

If you think a new device setup class is needed, your new class should be based on new device capabilities, and not on the device's location. For instance, supporting an existing device on a new bus should not require a new setup class.

Before creating a new device setup class, contact Microsoft to find out if a new system-supplied device setup class is being planned for your device type

You can create a new device setup class using an INF file. Besides installing support for a device, an INF file can initialize a new device setup class for the device. Such an INF file has an INF ClassInstall32 section.