Condividi tramite


How to Assign a Device Handler to a Device

Illustrates the process for adding a device handler to a device.

Instructions

To assign a device handler to a device, under the Device Parameters subkey of the device instance, add a value of type REG_SZ named DeviceHandlers. The data entry for this value is the name of the device handler.

The following is an example entry for a fictitious Vid_059&Pid_0031 device.

  HKEY_LOCAL_MACHINE
   SYSTEM
      CurrentControlSet
         Enum
            USB
               Vid_059b&Pid_0031
                  059B003112010E93
                     Device Parameters
                        DeviceHandlers = MyDeviceHandler

Device handlers can also be assigned by using device group or device class settings.