Bewerken

Delen via


Specific Requirements for Device Property Page Providers (Co-Installers)

Note

While it is possible to provide a device property page via a class installer or co-installer, it is not recommended. Class installers and co-installers are deprecated.

A co-installer that provides one or more custom device property pages must handle the DIF_ADDPROPERTYPAGE_ADVANCED device installation function (DIF) code. Device Manager issues this request when a user clicks on the Properties tab of a device in Device Manager or in Control Panel.

In response to this request, the installer provides information about each of its custom property pages, creates the pages, and adds the created pages to the list of dynamic property pages for the device. The installer does this by initializing and returning an SP_ADDPROPERTYPAGE_DATA structure for the class installation parameters of the request.

If the user changes any properties, Device Manager sends a DIF_PROPERTYCHANGE DIF code to the installer after the installer sets the new parameters by calling SetupDiSetDeviceInstallParams.

For more information about how to create a custom device property page by a co-installer, see General Requirements for Device Property Page Providers.