Provider Registration

The Device Manager requires that you register your property page provider by adding appropriate entries to the registry. You register a provider by using the EnumPropPages entry in either the class branch for a class provider or the device driver branch (one level below the class branch) for a device provider. The entry has this form:

EnumPropPages=DLL-name,[EnumPropPagesName]

The EnumPropPagesName must be the name of a function exported by the given DLL. If no name is given, the Device Manager searches the given DLL for an exported function having the name EnumPropPages.

If you register a provider of a device, the Device Manager uses that provider only if the user requests access to the properties of that specific device. If you register for a class, the Device Manager uses it whenever the user requests access to properties of a device in that class for which no device-specific provider exists.

You should always register a property page provider by specifying the appropriate registry commands in the INF file for your device or class of devices.