SetupAPI
The Setup Application Programming Interface (SetupAPI) is a system component that provides two sets of functions:
Device installation software can use these functions to perform custom operations in class installers, co-installers, and device installation applications.
Note
SetupApi is not supported on all editions of Windows. When possible, you should use lower layer APIs such as those available via CfgMgr32.dll. See Porting from SetupApi to CfgMgr32 for tips.
This section contains the following topics, which provide general information about how to use the general Setup functions and device installation functions that are provided by SetupAPI:
Using Device Installation Functions
Note This section describes only a subset of the Setup functions in SetupAPI. For more information about this API, see Setup API .