Completed SetupAPI device functions

pull/211/head
dahall 2021-01-05 21:54:42 -07:00
parent 5c040e7fd4
commit a1bed07eac
5 changed files with 8066 additions and 755 deletions

View File

@ -3,7 +3,7 @@ PInvoke API (methods, structures and constants) imported from Windows SetupAPI.d
- Includes methods from setupapi.dll
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.SetupAPI?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.SetupAPI?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.SetupAPI)
### Methods - 12% API coverage (28 of 233 functions)
### Methods - 52% API coverage (123 of 235 functions)
Native Method | Header | Managed Method
--- | --- | ---
[DriverStoreAddDriverPackage](https://www.google.com/search?num=5&q=DriverStoreAddDriverPackageA+site%3Adocs.microsoft.com) | |
@ -38,115 +38,117 @@ Native Method | Header | Managed Method
[SetupDeleteError](https://www.google.com/search?num=5&q=SetupDeleteErrorA+site%3Adocs.microsoft.com) | |
[SetupDestroyDiskSpaceList](https://www.google.com/search?num=5&q=SetupDestroyDiskSpaceList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDestroyDiskSpaceList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDestroyDiskSpaceList)
[SetupDiApplyPowerScheme](https://www.google.com/search?num=5&q=SetupDiApplyPowerScheme+site%3Adocs.microsoft.com) | |
[SetupDiAskForOEMDisk](https://www.google.com/search?num=5&q=SetupDiAskForOEMDisk+site%3Adocs.microsoft.com) | |
[SetupDiBuildClassInfoList](https://www.google.com/search?num=5&q=SetupDiBuildClassInfoList+site%3Adocs.microsoft.com) | |
[SetupDiAskForOEMDisk](https://www.google.com/search?num=5&q=SetupDiAskForOEMDisk+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiAskForOEMDisk](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiAskForOEMDisk)
[SetupDiBuildClassInfoList](https://www.google.com/search?num=5&q=SetupDiBuildClassInfoList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiBuildClassInfoList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiBuildClassInfoList)
[SetupDiBuildClassInfoListEx](https://www.google.com/search?num=5&q=SetupDiBuildClassInfoListExA+site%3Adocs.microsoft.com) | |
[SetupDiBuildDriverInfoList](https://www.google.com/search?num=5&q=SetupDiBuildDriverInfoList+site%3Adocs.microsoft.com) | |
[SetupDiCallClassInstaller](https://www.google.com/search?num=5&q=SetupDiCallClassInstaller+site%3Adocs.microsoft.com) | |
[SetupDiCancelDriverInfoSearch](https://www.google.com/search?num=5&q=SetupDiCancelDriverInfoSearch+site%3Adocs.microsoft.com) | |
[SetupDiChangeState](https://www.google.com/search?num=5&q=SetupDiChangeState+site%3Adocs.microsoft.com) | |
[SetupDiClassGuidsFromName](https://www.google.com/search?num=5&q=SetupDiClassGuidsFromNameA+site%3Adocs.microsoft.com) | |
[SetupDiClassGuidsFromNameEx](https://www.google.com/search?num=5&q=SetupDiClassGuidsFromNameExA+site%3Adocs.microsoft.com) | |
[SetupDiBuildClassInfoListExAA](https://www.google.com/search?num=5&q=SetupDiBuildClassInfoListExAA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiBuildClassInfoListExA](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiBuildClassInfoListExA)
[SetupDiBuildClassInfoListExAW](https://www.google.com/search?num=5&q=SetupDiBuildClassInfoListExAW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiBuildClassInfoListExA](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiBuildClassInfoListExA)
[SetupDiBuildDriverInfoList](https://www.google.com/search?num=5&q=SetupDiBuildDriverInfoList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiBuildDriverInfoList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiBuildDriverInfoList)
[SetupDiCallClassInstaller](https://www.google.com/search?num=5&q=SetupDiCallClassInstaller+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCallClassInstaller](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCallClassInstaller)
[SetupDiCancelDriverInfoSearch](https://www.google.com/search?num=5&q=SetupDiCancelDriverInfoSearch+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCancelDriverInfoSearch](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCancelDriverInfoSearch)
[SetupDiChangeState](https://www.google.com/search?num=5&q=SetupDiChangeState+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiChangeState](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiChangeState)
[SetupDiClassGuidsFromName](https://www.google.com/search?num=5&q=SetupDiClassGuidsFromNameA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiClassGuidsFromName](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiClassGuidsFromName)
[SetupDiClassGuidsFromNameEx](https://www.google.com/search?num=5&q=SetupDiClassGuidsFromNameExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiClassGuidsFromNameEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiClassGuidsFromNameEx)
[SetupDiClassNameFromGuid](https://www.google.com/search?num=5&q=SetupDiClassNameFromGuidA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiClassNameFromGuid](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiClassNameFromGuid)
[SetupDiClassNameFromGuidEx](https://www.google.com/search?num=5&q=SetupDiClassNameFromGuidExA+site%3Adocs.microsoft.com) | |
[SetupDiCreateDeviceInfo](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoA+site%3Adocs.microsoft.com) | |
[SetupDiCreateDeviceInfoList](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoList+site%3Adocs.microsoft.com) | |
[SetupDiCreateDeviceInfoListEx](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoListExA+site%3Adocs.microsoft.com) | |
[SetupDiCreateDeviceInterface](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInterfaceA+site%3Adocs.microsoft.com) | |
[SetupDiCreateDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInterfaceRegKeyA+site%3Adocs.microsoft.com) | |
[SetupDiCreateDevRegKey](https://www.google.com/search?num=5&q=SetupDiCreateDevRegKeyA+site%3Adocs.microsoft.com) | |
[SetupDiDeleteDeviceInfo](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInfo+site%3Adocs.microsoft.com) | |
[SetupDiDeleteDeviceInterfaceData](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInterfaceData+site%3Adocs.microsoft.com) | |
[SetupDiDeleteDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInterfaceRegKey+site%3Adocs.microsoft.com) | |
[SetupDiDeleteDevRegKey](https://www.google.com/search?num=5&q=SetupDiDeleteDevRegKey+site%3Adocs.microsoft.com) | |
[SetupDiDestroyClassImageList](https://www.google.com/search?num=5&q=SetupDiDestroyClassImageList+site%3Adocs.microsoft.com) | |
[SetupDiClassNameFromGuidEx](https://www.google.com/search?num=5&q=SetupDiClassNameFromGuidExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiClassNameFromGuidEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiClassNameFromGuidEx)
[SetupDiCreateDeviceInfo](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDeviceInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDeviceInfo)
[SetupDiCreateDeviceInfoList](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDeviceInfoList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDeviceInfoList)
[SetupDiCreateDeviceInfoListEx](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInfoListExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDeviceInfoListEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDeviceInfoListEx)
[SetupDiCreateDeviceInterface](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInterfaceA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDeviceInterface](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDeviceInterface)
[SetupDiCreateDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiCreateDeviceInterfaceRegKeyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDeviceInterfaceRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDeviceInterfaceRegKey)
[SetupDiCreateDevRegKey](https://www.google.com/search?num=5&q=SetupDiCreateDevRegKeyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiCreateDevRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiCreateDevRegKey)
[SetupDiDeleteDeviceInfo](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInfo+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDeleteDeviceInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDeleteDeviceInfo)
[SetupDiDeleteDeviceInterfaceData](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInterfaceData+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDeleteDeviceInterfaceData](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDeleteDeviceInterfaceData)
[SetupDiDeleteDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiDeleteDeviceInterfaceRegKey+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDeleteDeviceInterfaceRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDeleteDeviceInterfaceRegKey)
[SetupDiDeleteDevRegKey](https://www.google.com/search?num=5&q=SetupDiDeleteDevRegKey+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDeleteDevRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDeleteDevRegKey)
[SetupDiDestroyClassImageList](https://www.google.com/search?num=5&q=SetupDiDestroyClassImageList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDestroyClassImageList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDestroyClassImageList)
[SetupDiDestroyDeviceInfoList](https://www.google.com/search?num=5&q=SetupDiDestroyDeviceInfoList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDestroyDeviceInfoList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDestroyDeviceInfoList)
[SetupDiDestroyDriverInfoList](https://www.google.com/search?num=5&q=SetupDiDestroyDriverInfoList+site%3Adocs.microsoft.com) | |
[SetupDiDrawMiniIcon](https://www.google.com/search?num=5&q=SetupDiDrawMiniIcon+site%3Adocs.microsoft.com) | |
[SetupDiDestroyDriverInfoList](https://www.google.com/search?num=5&q=SetupDiDestroyDriverInfoList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDestroyDriverInfoList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDestroyDriverInfoList)
[SetupDiDrawMiniIcon](https://www.google.com/search?num=5&q=SetupDiDrawMiniIcon+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiDrawMiniIcon](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiDrawMiniIcon)
[SetupDiEnumDeviceInfo](https://www.google.com/search?num=5&q=SetupDiEnumDeviceInfo+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiEnumDeviceInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiEnumDeviceInfo)
[SetupDiEnumDeviceInterfaces](https://www.google.com/search?num=5&q=SetupDiEnumDeviceInterfaces+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiEnumDeviceInterfaces](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiEnumDeviceInterfaces)
[SetupDiEnumDriverInfo](https://www.google.com/search?num=5&q=SetupDiEnumDriverInfoA+site%3Adocs.microsoft.com) | |
[SetupDiGetActualModelsSection](https://www.google.com/search?num=5&q=SetupDiGetActualModelsSectionA+site%3Adocs.microsoft.com) | |
[SetupDiGetActualSectionToInstall](https://www.google.com/search?num=5&q=SetupDiGetActualSectionToInstallA+site%3Adocs.microsoft.com) | |
[SetupDiGetActualSectionToInstallEx](https://www.google.com/search?num=5&q=SetupDiGetActualSectionToInstallExA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassBitmapIndex](https://www.google.com/search?num=5&q=SetupDiGetClassBitmapIndex+site%3Adocs.microsoft.com) | |
[SetupDiGetClassDescription](https://www.google.com/search?num=5&q=SetupDiGetClassDescriptionA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassDescriptionEx](https://www.google.com/search?num=5&q=SetupDiGetClassDescriptionExA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassDevPropertySheets](https://www.google.com/search?num=5&q=SetupDiGetClassDevPropertySheetsA+site%3Adocs.microsoft.com) | |
[SetupDiEnumDriverInfo](https://www.google.com/search?num=5&q=SetupDiEnumDriverInfoA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiEnumDriverInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiEnumDriverInfo)
[SetupDiGetActualModelsSection](https://www.google.com/search?num=5&q=SetupDiGetActualModelsSectionA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetActualModelsSection](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetActualModelsSection)
[SetupDiGetActualSectionToInstall](https://www.google.com/search?num=5&q=SetupDiGetActualSectionToInstallA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetActualSectionToInstall](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetActualSectionToInstall)
[SetupDiGetActualSectionToInstallEx](https://www.google.com/search?num=5&q=SetupDiGetActualSectionToInstallExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetActualSectionToInstallEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetActualSectionToInstallEx)
[SetupDiGetClassBitmapIndex](https://www.google.com/search?num=5&q=SetupDiGetClassBitmapIndex+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassBitmapIndex](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassBitmapIndex)
[SetupDiGetClassDescription](https://www.google.com/search?num=5&q=SetupDiGetClassDescriptionA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassDescription](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassDescription)
[SetupDiGetClassDescriptionEx](https://www.google.com/search?num=5&q=SetupDiGetClassDescriptionExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassDescriptionEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassDescriptionEx)
[SetupDiGetClassDevPropertySheets](https://www.google.com/search?num=5&q=SetupDiGetClassDevPropertySheetsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassDevPropertySheets](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassDevPropertySheets)
[SetupDiGetClassDevs](https://www.google.com/search?num=5&q=SetupDiGetClassDevsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassDevs](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassDevs)
[SetupDiGetClassDevsEx](https://www.google.com/search?num=5&q=SetupDiGetClassDevsExA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassImageIndex](https://www.google.com/search?num=5&q=SetupDiGetClassImageIndex+site%3Adocs.microsoft.com) | |
[SetupDiGetClassImageList](https://www.google.com/search?num=5&q=SetupDiGetClassImageList+site%3Adocs.microsoft.com) | |
[SetupDiGetClassImageListEx](https://www.google.com/search?num=5&q=SetupDiGetClassImageListExA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassInstallParams](https://www.google.com/search?num=5&q=SetupDiGetClassInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiGetClassPropertyExW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyExW+site%3Adocs.microsoft.com) | |
[SetupDiGetClassPropertyKeys](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyKeys+site%3Adocs.microsoft.com) | |
[SetupDiGetClassPropertyKeysExW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyKeysExW+site%3Adocs.microsoft.com) | |
[SetupDiGetClassPropertyW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyW+site%3Adocs.microsoft.com) | |
[SetupDiGetClassRegistryProperty](https://www.google.com/search?num=5&q=SetupDiGetClassRegistryPropertyA+site%3Adocs.microsoft.com) | |
[SetupDiGetCustomDeviceProperty](https://www.google.com/search?num=5&q=SetupDiGetCustomDevicePropertyA+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInfoListClass](https://www.google.com/search?num=5&q=SetupDiGetDeviceInfoListClass+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInfoListDetail](https://www.google.com/search?num=5&q=SetupDiGetDeviceInfoListDetailA+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInstallParams](https://www.google.com/search?num=5&q=SetupDiGetDeviceInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInstanceId](https://www.google.com/search?num=5&q=SetupDiGetDeviceInstanceIdA+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInterfaceAlias](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfaceAlias+site%3Adocs.microsoft.com) | |
[SetupDiGetClassDevsEx](https://www.google.com/search?num=5&q=SetupDiGetClassDevsExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassDevsEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassDevsEx)
[SetupDiGetClassImageIndex](https://www.google.com/search?num=5&q=SetupDiGetClassImageIndex+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassImageIndex](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassImageIndex)
[SetupDiGetClassImageList](https://www.google.com/search?num=5&q=SetupDiGetClassImageList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassImageList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassImageList)
[SetupDiGetClassImageListEx](https://www.google.com/search?num=5&q=SetupDiGetClassImageListExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassImageListEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassImageListEx)
[SetupDiGetClassInstallParams](https://www.google.com/search?num=5&q=SetupDiGetClassInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassInstallParams)
[SetupDiGetClassPropertyExW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyExW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassPropertyEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassPropertyEx)
[SetupDiGetClassPropertyKeys](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyKeys+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassPropertyKeys](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassPropertyKeys)
[SetupDiGetClassPropertyKeysExW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyKeysExW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassPropertyKeysEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassPropertyKeysEx)
[SetupDiGetClassPropertyW](https://www.google.com/search?num=5&q=SetupDiGetClassPropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassProperty)
[SetupDiGetClassRegistryProperty](https://www.google.com/search?num=5&q=SetupDiGetClassRegistryPropertyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetClassRegistryProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetClassRegistryProperty)
[SetupDiGetCustomDeviceProperty](https://www.google.com/search?num=5&q=SetupDiGetCustomDevicePropertyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetCustomDeviceProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetCustomDeviceProperty)
[SetupDiGetDeviceInfoListClass](https://www.google.com/search?num=5&q=SetupDiGetDeviceInfoListClass+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInfoListClass](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInfoListClass)
[SetupDiGetDeviceInfoListDetail](https://www.google.com/search?num=5&q=SetupDiGetDeviceInfoListDetailA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInfoListDetail](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInfoListDetail)
[SetupDiGetDeviceInstallParams](https://www.google.com/search?num=5&q=SetupDiGetDeviceInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInstallParams)
[SetupDiGetDeviceInstanceId](https://www.google.com/search?num=5&q=SetupDiGetDeviceInstanceIdA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInstanceId](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInstanceId)
[SetupDiGetDeviceInterfaceAlias](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfaceAlias+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInterfaceAlias](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInterfaceAlias)
[SetupDiGetDeviceInterfaceDetail](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfaceDetailA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInterfaceDetail](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInterfaceDetail)
[SetupDiGetDeviceInterfacePropertyKeys](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfacePropertyKeys+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInterfacePropertyW](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfacePropertyW+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceInterfacePropertyKeys](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfacePropertyKeys+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInterfacePropertyKeys](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInterfacePropertyKeys)
[SetupDiGetDeviceInterfacePropertyW](https://www.google.com/search?num=5&q=SetupDiGetDeviceInterfacePropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceInterfaceProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceInterfaceProperty)
[SetupDiGetDevicePropertyKeys](https://www.google.com/search?num=5&q=SetupDiGetDevicePropertyKeys+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDevicePropertyKeys](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDevicePropertyKeys)
[SetupDiGetDevicePropertyW](https://www.google.com/search?num=5&q=SetupDiGetDevicePropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceProperty)
[SetupDiGetDeviceRegistryProperty](https://www.google.com/search?num=5&q=SetupDiGetDeviceRegistryPropertyA+site%3Adocs.microsoft.com) | |
[SetupDiGetDriverInfoDetail](https://www.google.com/search?num=5&q=SetupDiGetDriverInfoDetailA+site%3Adocs.microsoft.com) | |
[SetupDiGetDriverInstallParams](https://www.google.com/search?num=5&q=SetupDiGetDriverInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiGetHwProfileFriendlyName](https://www.google.com/search?num=5&q=SetupDiGetHwProfileFriendlyNameA+site%3Adocs.microsoft.com) | |
[SetupDiGetHwProfileFriendlyNameEx](https://www.google.com/search?num=5&q=SetupDiGetHwProfileFriendlyNameExA+site%3Adocs.microsoft.com) | |
[SetupDiGetHwProfileList](https://www.google.com/search?num=5&q=SetupDiGetHwProfileList+site%3Adocs.microsoft.com) | |
[SetupDiGetHwProfileListEx](https://www.google.com/search?num=5&q=SetupDiGetHwProfileListExA+site%3Adocs.microsoft.com) | |
[SetupDiGetINFClass](https://www.google.com/search?num=5&q=SetupDiGetINFClassA+site%3Adocs.microsoft.com) | |
[SetupDiGetSelectedDevice](https://www.google.com/search?num=5&q=SetupDiGetSelectedDevice+site%3Adocs.microsoft.com) | |
[SetupDiGetSelectedDriver](https://www.google.com/search?num=5&q=SetupDiGetSelectedDriverA+site%3Adocs.microsoft.com) | |
[SetupDiGetDeviceRegistryProperty](https://www.google.com/search?num=5&q=SetupDiGetDeviceRegistryPropertyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDeviceRegistryProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDeviceRegistryProperty)
[SetupDiGetDriverInfoDetail](https://www.google.com/search?num=5&q=SetupDiGetDriverInfoDetailA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDriverInfoDetail](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDriverInfoDetail)
[SetupDiGetDriverInstallParams](https://www.google.com/search?num=5&q=SetupDiGetDriverInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetDriverInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetDriverInstallParams)
[SetupDiGetHwProfileFriendlyName](https://www.google.com/search?num=5&q=SetupDiGetHwProfileFriendlyNameA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetHwProfileFriendlyName](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetHwProfileFriendlyName)
[SetupDiGetHwProfileFriendlyNameEx](https://www.google.com/search?num=5&q=SetupDiGetHwProfileFriendlyNameExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetHwProfileFriendlyNameEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetHwProfileFriendlyNameEx)
[SetupDiGetHwProfileList](https://www.google.com/search?num=5&q=SetupDiGetHwProfileList+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetHwProfileList](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetHwProfileList)
[SetupDiGetHwProfileListEx](https://www.google.com/search?num=5&q=SetupDiGetHwProfileListExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetHwProfileListEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetHwProfileListEx)
[SetupDiGetINFClass](https://www.google.com/search?num=5&q=SetupDiGetINFClassA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetINFClass](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetINFClass)
[SetupDiGetSelectedDevice](https://www.google.com/search?num=5&q=SetupDiGetSelectedDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetSelectedDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetSelectedDevice)
[SetupDiGetSelectedDriver](https://www.google.com/search?num=5&q=SetupDiGetSelectedDriverA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiGetSelectedDriver](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiGetSelectedDriver)
[SetupDiGetWizardPage](https://www.google.com/search?num=5&q=SetupDiGetWizardPage+site%3Adocs.microsoft.com) | |
[SetupDiInstallClass](https://www.google.com/search?num=5&q=SetupDiInstallClassA+site%3Adocs.microsoft.com) | |
[SetupDiInstallClassEx](https://www.google.com/search?num=5&q=SetupDiInstallClassExA+site%3Adocs.microsoft.com) | |
[SetupDiInstallDevice](https://www.google.com/search?num=5&q=SetupDiInstallDevice+site%3Adocs.microsoft.com) | |
[SetupDiInstallDeviceInterfaces](https://www.google.com/search?num=5&q=SetupDiInstallDeviceInterfaces+site%3Adocs.microsoft.com) | |
[SetupDiInstallDriverFiles](https://www.google.com/search?num=5&q=SetupDiInstallDriverFiles+site%3Adocs.microsoft.com) | |
[SetupDiLoadClassIcon](https://www.google.com/search?num=5&q=SetupDiLoadClassIcon+site%3Adocs.microsoft.com) | |
[SetupDiLoadDeviceIcon](https://www.google.com/search?num=5&q=SetupDiLoadDeviceIcon+site%3Adocs.microsoft.com) | |
[SetupDiInstallClass](https://www.google.com/search?num=5&q=SetupDiInstallClassA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiInstallClass](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiInstallClass)
[SetupDiInstallClassEx](https://www.google.com/search?num=5&q=SetupDiInstallClassExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiInstallClassEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiInstallClassEx)
[SetupDiInstallDevice](https://www.google.com/search?num=5&q=SetupDiInstallDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiInstallDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiInstallDevice)
[SetupDiInstallDeviceInterfaces](https://www.google.com/search?num=5&q=SetupDiInstallDeviceInterfaces+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiInstallDeviceInterfaces](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiInstallDeviceInterfaces)
[SetupDiInstallDriverFiles](https://www.google.com/search?num=5&q=SetupDiInstallDriverFiles+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiInstallDriverFiles](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiInstallDriverFiles)
[SetupDiLoadClassIcon](https://www.google.com/search?num=5&q=SetupDiLoadClassIcon+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiLoadClassIcon](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiLoadClassIcon)
[SetupDiLoadDeviceIcon](https://www.google.com/search?num=5&q=SetupDiLoadDeviceIcon+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiLoadDeviceIcon](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiLoadDeviceIcon)
[SetupDiMoveDuplicateDevice](https://www.google.com/search?num=5&q=SetupDiMoveDuplicateDevice+site%3Adocs.microsoft.com) | |
[SetupDiOpenClassRegKey](https://www.google.com/search?num=5&q=SetupDiOpenClassRegKey+site%3Adocs.microsoft.com) | |
[SetupDiOpenClassRegKeyEx](https://www.google.com/search?num=5&q=SetupDiOpenClassRegKeyExA+site%3Adocs.microsoft.com) | |
[SetupDiOpenDeviceInfo](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInfoA+site%3Adocs.microsoft.com) | |
[SetupDiOpenDeviceInterface](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInterfaceA+site%3Adocs.microsoft.com) | |
[SetupDiOpenDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInterfaceRegKey+site%3Adocs.microsoft.com) | |
[SetupDiOpenDevRegKey](https://www.google.com/search?num=5&q=SetupDiOpenDevRegKey+site%3Adocs.microsoft.com) | |
[SetupDiRegisterCoDeviceInstallers](https://www.google.com/search?num=5&q=SetupDiRegisterCoDeviceInstallers+site%3Adocs.microsoft.com) | |
[SetupDiRegisterDeviceInfo](https://www.google.com/search?num=5&q=SetupDiRegisterDeviceInfo+site%3Adocs.microsoft.com) | |
[SetupDiRemoveDevice](https://www.google.com/search?num=5&q=SetupDiRemoveDevice+site%3Adocs.microsoft.com) | |
[SetupDiRemoveDeviceInterface](https://www.google.com/search?num=5&q=SetupDiRemoveDeviceInterface+site%3Adocs.microsoft.com) | |
[SetupDiOpenClassRegKey](https://www.google.com/search?num=5&q=SetupDiOpenClassRegKey+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenClassRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenClassRegKey)
[SetupDiOpenClassRegKeyEx](https://www.google.com/search?num=5&q=SetupDiOpenClassRegKeyExA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenClassRegKeyEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenClassRegKeyEx)
[SetupDiOpenDeviceInfo](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInfoA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenDeviceInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenDeviceInfo)
[SetupDiOpenDeviceInterface](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInterfaceA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenDeviceInterface](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenDeviceInterface)
[SetupDiOpenDeviceInterfaceRegKey](https://www.google.com/search?num=5&q=SetupDiOpenDeviceInterfaceRegKey+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenDeviceInterfaceRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenDeviceInterfaceRegKey)
[SetupDiOpenDevRegKey](https://www.google.com/search?num=5&q=SetupDiOpenDevRegKey+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiOpenDevRegKey](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiOpenDevRegKey)
[SetupDiRegisterCoDeviceInstallers](https://www.google.com/search?num=5&q=SetupDiRegisterCoDeviceInstallers+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiRegisterCoDeviceInstallers](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiRegisterCoDeviceInstallers)
[SetupDiRegisterDeviceInfo](https://www.google.com/search?num=5&q=SetupDiRegisterDeviceInfo+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiRegisterDeviceInfo](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiRegisterDeviceInfo)
[SetupDiRemoveDevice](https://www.google.com/search?num=5&q=SetupDiRemoveDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiRemoveDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiRemoveDevice)
[SetupDiRemoveDeviceInterface](https://www.google.com/search?num=5&q=SetupDiRemoveDeviceInterface+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiRemoveDeviceInterface](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiRemoveDeviceInterface)
[SetupDiReportAdditionalSoftwareRequested](https://www.google.com/search?num=5&q=SetupDiReportAdditionalSoftwareRequested+site%3Adocs.microsoft.com) | |
[SetupDiReportDeviceInstallError](https://www.google.com/search?num=5&q=SetupDiReportDeviceInstallError+site%3Adocs.microsoft.com) | |
[SetupDiReportDriverNotFoundError](https://www.google.com/search?num=5&q=SetupDiReportDriverNotFoundError+site%3Adocs.microsoft.com) | |
[SetupDiReportDriverPackageImportationError](https://www.google.com/search?num=5&q=SetupDiReportDriverPackageImportationError+site%3Adocs.microsoft.com) | |
[SetupDiReportGenericDriverInstalled](https://www.google.com/search?num=5&q=SetupDiReportGenericDriverInstalled+site%3Adocs.microsoft.com) | |
[SetupDiReportPnPDeviceProblem](https://www.google.com/search?num=5&q=SetupDiReportPnPDeviceProblem+site%3Adocs.microsoft.com) | |
[SetupDiRestartDevices](https://www.google.com/search?num=5&q=SetupDiRestartDevices+site%3Adocs.microsoft.com) | |
[SetupDiSelectBestCompatDrv](https://www.google.com/search?num=5&q=SetupDiSelectBestCompatDrv+site%3Adocs.microsoft.com) | |
[SetupDiSelectDevice](https://www.google.com/search?num=5&q=SetupDiSelectDevice+site%3Adocs.microsoft.com) | |
[SetupDiSelectOEMDrv](https://www.google.com/search?num=5&q=SetupDiSelectOEMDrv+site%3Adocs.microsoft.com) | |
[SetupDiSetClassInstallParams](https://www.google.com/search?num=5&q=SetupDiSetClassInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiSetClassPropertyExW](https://www.google.com/search?num=5&q=SetupDiSetClassPropertyExW+site%3Adocs.microsoft.com) | |
[SetupDiSetClassPropertyW](https://www.google.com/search?num=5&q=SetupDiSetClassPropertyW+site%3Adocs.microsoft.com) | |
[SetupDiSetClassRegistryProperty](https://www.google.com/search?num=5&q=SetupDiSetClassRegistryPropertyA+site%3Adocs.microsoft.com) | |
[SetupDiSetDeviceInstallParams](https://www.google.com/search?num=5&q=SetupDiSetDeviceInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiSetDeviceInterfaceDefault](https://www.google.com/search?num=5&q=SetupDiSetDeviceInterfaceDefault+site%3Adocs.microsoft.com) | |
[SetupDiSetDeviceInterfacePropertyW](https://www.google.com/search?num=5&q=SetupDiSetDeviceInterfacePropertyW+site%3Adocs.microsoft.com) | |
[SetupDiSetDevicePropertyW](https://www.google.com/search?num=5&q=SetupDiSetDevicePropertyW+site%3Adocs.microsoft.com) | |
[SetupDiSetDeviceRegistryProperty](https://www.google.com/search?num=5&q=SetupDiSetDeviceRegistryPropertyA+site%3Adocs.microsoft.com) | |
[SetupDiSetDriverInstallParams](https://www.google.com/search?num=5&q=SetupDiSetDriverInstallParamsA+site%3Adocs.microsoft.com) | |
[SetupDiSetSelectedDevice](https://www.google.com/search?num=5&q=SetupDiSetSelectedDevice+site%3Adocs.microsoft.com) | |
[SetupDiSetSelectedDriver](https://www.google.com/search?num=5&q=SetupDiSetSelectedDriverA+site%3Adocs.microsoft.com) | |
[SetupDiUnremoveDevice](https://www.google.com/search?num=5&q=SetupDiUnremoveDevice+site%3Adocs.microsoft.com) | |
[SetupDiRestartDevices](https://www.google.com/search?num=5&q=SetupDiRestartDevices+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiRestartDevices](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiRestartDevices)
[SetupDiSelectBestCompatDrv](https://www.google.com/search?num=5&q=SetupDiSelectBestCompatDrv+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSelectBestCompatDrv](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSelectBestCompatDrv)
[SetupDiSelectDevice](https://www.google.com/search?num=5&q=SetupDiSelectDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSelectDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSelectDevice)
[SetupDiSelectOEMDrv](https://www.google.com/search?num=5&q=SetupDiSelectOEMDrv+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSelectOEMDrv](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSelectOEMDrv)
[SetupDiSetClassInstallParams](https://www.google.com/search?num=5&q=SetupDiSetClassInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetClassInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetClassInstallParams)
[SetupDiSetClassPropertyExW](https://www.google.com/search?num=5&q=SetupDiSetClassPropertyExW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetClassPropertyEx](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetClassPropertyEx)
[SetupDiSetClassPropertyW](https://www.google.com/search?num=5&q=SetupDiSetClassPropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetClassProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetClassProperty)
[SetupDiSetClassRegistryProperty](https://www.google.com/search?num=5&q=SetupDiSetClassRegistryPropertyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetClassRegistryProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetClassRegistryProperty)
[SetupDiSetDeviceInstallParams](https://www.google.com/search?num=5&q=SetupDiSetDeviceInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDeviceInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDeviceInstallParams)
[SetupDiSetDeviceInterfaceDefault](https://www.google.com/search?num=5&q=SetupDiSetDeviceInterfaceDefault+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDeviceInterfaceDefault](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDeviceInterfaceDefault)
[SetupDiSetDeviceInterfacePropertyW](https://www.google.com/search?num=5&q=SetupDiSetDeviceInterfacePropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDeviceInterfaceProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDeviceInterfaceProperty)
[SetupDiSetDevicePropertyW](https://www.google.com/search?num=5&q=SetupDiSetDevicePropertyW+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDeviceProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDeviceProperty)
[SetupDiSetDeviceRegistryProperty](https://www.google.com/search?num=5&q=SetupDiSetDeviceRegistryPropertyA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDeviceRegistryProperty](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDeviceRegistryProperty)
[SetupDiSetDriverInstallParams](https://www.google.com/search?num=5&q=SetupDiSetDriverInstallParamsA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetDriverInstallParams](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetDriverInstallParams)
[SetupDiSetSelectedDevice](https://www.google.com/search?num=5&q=SetupDiSetSelectedDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetSelectedDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetSelectedDevice)
[SetupDiSetSelectedDriver](https://www.google.com/search?num=5&q=SetupDiSetSelectedDriverA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiSetSelectedDriver](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiSetSelectedDriver)
[SetupDiUnremoveDevice](https://www.google.com/search?num=5&q=SetupDiUnremoveDevice+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupDiUnremoveDevice](https://github.com/dahall/Vanara/search?l=C%23&q=SetupDiUnremoveDevice)
[SetupDuplicateDiskSpaceList](https://www.google.com/search?num=5&q=SetupDuplicateDiskSpaceListA+site%3Adocs.microsoft.com) | |
[SetupEnumInfSections](https://www.google.com/search?num=5&q=SetupEnumInfSectionsA+site%3Adocs.microsoft.com) | |
[SetupEnumPublishedInf](https://www.google.com/search?num=5&q=SetupEnumPublishedInfA+site%3Adocs.microsoft.com) | |
@ -194,7 +196,7 @@ Native Method | Header | Managed Method
[SetupLogFile](https://www.google.com/search?num=5&q=SetupLogFileA+site%3Adocs.microsoft.com) | |
[SetupOpenAppendInfFile](https://www.google.com/search?num=5&q=SetupOpenAppendInfFileA+site%3Adocs.microsoft.com) | |
[SetupOpenFileQueue](https://www.google.com/search?num=5&q=SetupOpenFileQueue+site%3Adocs.microsoft.com) | |
[SetupOpenInfFile](https://www.google.com/search?num=5&q=SetupOpenInfFileA+site%3Adocs.microsoft.com) | |
[SetupOpenInfFile](https://www.google.com/search?num=5&q=SetupOpenInfFileA+site%3Adocs.microsoft.com) | setupapi.h | [Vanara.PInvoke.SetupAPI.SetupOpenInfFile](https://github.com/dahall/Vanara/search?l=C%23&q=SetupOpenInfFile)
[SetupOpenLog](https://www.google.com/search?num=5&q=SetupOpenLog+site%3Adocs.microsoft.com) | |
[SetupOpenMasterInf](https://www.google.com/search?num=5&q=SetupOpenMasterInf+site%3Adocs.microsoft.com) | |
[SetupPrepareQueueForRestore](https://www.google.com/search?num=5&q=SetupPrepareQueueForRestoreA+site%3Adocs.microsoft.com) | |

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -25,6 +25,7 @@ namespace Vanara.PInvoke
private const int MAX_SERVICE_NAME_LEN = 256;
private const int MAX_SUBTITLE_LEN = 256;
private const int MAX_TITLE_LEN = 60;
/// <summary>Define maximum length of a machine name in the format expected by ConfigMgr32 CM_Connect_Machine (i.e., "\\\\MachineName\0").</summary>
private const int SP_MAX_MACHINENAME_LENGTH = MAX_PATH + 3;
@ -1291,6 +1292,50 @@ namespace Vanara.PInvoke
DI_UNREMOVEDEVICE_CONFIGSPECIFIC = 0x00000002
}
/// <summary>
/// Flags used to control exclusion of classes from the list. If no flags are specified, all setup classes are included in the list.
/// </summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiBuildClassInfoList")]
[Flags]
public enum DIBCI : uint
{
/// <summary>Exclude a class if it has the <c>NoInstallClass</c> value entry in its registry key.</summary>
DIBCI_NOINSTALLCLASS = 0x00000001,
/// <summary>Exclude a class if it has the <c>NoDisplayClass</c> value entry in its registry key.</summary>
DIBCI_NODISPLAYCLASS = 0x00000002
}
/// <summary>A variable that controls how the device information element is created.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiCreateDeviceInfoA")]
[Flags]
public enum DICD : uint
{
/// <summary>
/// If this flag is specified, DeviceName contains only a Root-enumerated device ID and the system uses that ID to generate a
/// full device instance ID for the new device information element.
/// </summary>
DICD_GENERATE_ID = 0x00000001,
/// <summary>
/// If this flag is specified, the resulting device information element inherits the class driver list, if any, associated with
/// the device information set. In addition, if there is a selected driver for the device information set, that same driver is
/// selected for the new device information element.
/// </summary>
DICD_INHERIT_CLASSDRVS = 0x00000002
}
/// <summary>Specifies whether the class is a device setup class or a device interface class.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetClassPropertyW")]
public enum DICLASSPROP
{
/// <para>ClassGuid specifies a device setup class. This flag cannot be used with DICLASSPROP_INTERFACE.</para>
DICLASSPROP_INSTALLER = 0x00000001,
/// <para>ClassGuid specifies a device interface class. This flag cannot be used with DICLASSPROP_INSTALLER.</para>
DICLASSPROP_INTERFACE = 0x00000002,
}
/// <summary>State change action.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NS:setupapi._SP_PROPCHANGE_PARAMS")]
public enum DICS : uint
@ -1365,6 +1410,38 @@ namespace Vanara.PInvoke
DICS_FLAG_CONFIGGENERAL = 0x00000004,
}
/// <summary>A flag value that indicates how the requested information should be returned.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetCustomDevicePropertyA")]
[Flags]
public enum DICUSTOMDEVPROP : uint
{
/// <summary>
/// If set, the function retrieves both device instance-specific property values and hardware ID-specific property values,
/// concatenated as a REG_MULTI_SZ-typed string. (For more information, see the <c>Remarks</c> section on this reference page.)
/// </summary>
DICUSTOMDEVPROP_MERGE_MULTISZ = 0x00000001
}
/// <summary>A flag that indicates one of the following types of property sheets.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetClassDevPropertySheetsA")]
public enum DIGCDP_FLAG
{
/// <summary>
/// Basic property sheets. Supported only in Microsoft Windows 95 and Windows 98. Do not use in Windows 2000 and later versions
/// of Windows.
/// </summary>
DIGCDP_FLAG_BASIC = 0x00000001,
/// <summary>Advanced property sheets.</summary>
DIGCDP_FLAG_ADVANCED = 0x00000002,
/// <summary>Not implemented.</summary>
DIGCDP_FLAG_REMOTE_BASIC = 0x00000003,
/// <summary>Advanced property sheets on a remote computer.</summary>
DIGCDP_FLAG_REMOTE_ADVANCED = 0x00000004,
}
/// <summary>Specifies control options that filter the device information elements that are added to the device information set.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetClassDevsW")]
[Flags]
@ -1392,6 +1469,85 @@ namespace Vanara.PInvoke
DIGCF_DEVICEINTERFACE = 0x00000010,
}
/// <summary>The type of registry key to be opened.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiOpenClassRegKeyExA")]
public enum DIOCR : uint
{
/// <summary>Open a setup class key. If ClassGuid is <c>NULL</c>, open the root key of the class installer branch.</summary>
DIOCR_INSTALLER = 0x00000001,
/// <summary>Open an interface class key. If ClassGuid is <c>NULL</c>, open the root key of the interface class branch.</summary>
DIOCR_INTERFACE = 0x00000002
}
/// <summary>Controls how the device information element is opened.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiOpenDeviceInfoA")]
[Flags]
public enum DIOD : uint
{
/// <summary>
/// <para>
/// If this flag is specified, the resulting device information element inherits the class driver list, if any, associated with
/// the device information set. In addition, if there is a selected driver for the device information set, that same driver is
/// selected for the new device information element.
/// </para>
/// <para>
/// If the device information element was already present, its class driver list, if any, is replaced with the inherited list.
/// </para>
/// </summary>
DIOD_INHERIT_CLASSDRVS = 0x00000002,
/// <summary>
/// If this flag is specified and the device had been marked for pending removal, the operating system cancels the pending removal.
/// </summary>
DIOD_CANCEL_REMOVE = 0x00000004
}
/// <summary>Flags that determine how the device interface element is to be opened.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiOpenDeviceInterfaceW")]
[Flags]
public enum DIODI : uint
{
/// <summary>
/// Specifies that the device information element for the underlying device will not be created if that element is not already
/// present in the specified device information set. For more information, see the following <c>Remarks</c> section.
/// </summary>
DIODI_NO_ADD = 0x00000001,
}
/// <summary>The type of registry storage key to create.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiCreateDevRegKeyA")]
[Flags]
public enum DIREG : uint
{
/// <summary>Create a hardware key for the device.</summary>
DIREG_DEV = 0x00000001,
/// <summary>Create a software key for the device.</summary>
DIREG_DRV = 0x00000002,
/// <summary>Create both a software and hardware key for the device.</summary>
DIREG_BOTH = 0x00000004,
}
/// <summary>These flags control the drawing operation.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiDrawMiniIcon")]
[Flags]
public enum DMI : uint
{
/// <summary>Draw the mini-icon's mask into HDC.</summary>
DMI_MASK = 0x00000001,
/// <summary>
/// Use the system color index specified in the HIWORD of Flags as the background color. If this flag is not set, COLOR_WINDOW
/// is used.
/// </summary>
DMI_BKCOLOR = 0x00000002,
/// <summary>If set, <c>SetupDiDrawMiniIcon</c> uses the supplied rectangle and stretches the icon to fit.</summary>
DMI_USERECT = 0x00000004,
}
/// <summary>Flags that control functions operating on this driver.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NS:setupapi._SP_DRVINSTALL_PARAMS")]
[Flags]
@ -1670,6 +1826,54 @@ namespace Vanara.PInvoke
SCWMI_CLOBBER_SECURITY = 0x00000001
}
/// <summary>A value that identifies the property to be retrieved.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetClassRegistryPropertyA")]
public enum SPCRP
{
/// <summary>
/// (Windows Vista and later) The function returns a REG_MULTI_SZ list of the service names of the upper filter drivers that are
/// installed for the device setup class.
/// </summary>
SPCRP_UPPERFILTERS = 0x00000011,
/// <summary>
/// (Windows Vista and later) The function returns a REG_MULTI_SZ list of the service names of the lower filter drivers that are
/// installed for the device setup class.
/// </summary>
SPCRP_LOWERFILTERS = 0x00000012,
/// <summary>
/// The function returns the device's security descriptor as a SECURITY_DESCRIPTOR structure in self-relative format (described
/// in the Microsoft Windows SDK documentation).
/// </summary>
SPCRP_SECURITY = 0x00000017,
/// <summary>
/// The function returns the device's security descriptor as a text string. For information about security descriptor strings,
/// see Security Descriptor Definition Language (Windows). For information about the format of security descriptor strings, see
/// Security Descriptor Definition Language (Windows).
/// </summary>
SPCRP_SECURITY_SDS = 0x00000018,
/// <summary>
/// The function returns a DWORD value that represents the device type for the class. For more information, see Specifying
/// Device Types.
/// </summary>
SPCRP_DEVTYPE = 0x00000019,
/// <summary>
/// The function returns a DWORD value indicating whether users can obtain exclusive access to devices for this class. The
/// returned value is one if exclusive access is allowed, or zero otherwise.
/// </summary>
SPCRP_EXCLUSIVE = 0x0000001A,
/// <summary>
/// The function returns flags indicating device characteristics for the class. For a list of characteristics flags, see the
/// DeviceCharacteristics parameter to IoCreateDevice.
/// </summary>
SPCRP_CHARACTERISTICS = 0x0000001B,
}
/// <summary>The type of driver represented by this structure.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NS:setupapi._SP_DRVINFO_DATA_V2_A")]
public enum SPDIT : uint
@ -1684,6 +1888,210 @@ namespace Vanara.PInvoke
SPDIT_COMPATDRIVER = 0x00000002,
}
/// <summary>Specifies the property to be retrieved or set.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiGetDeviceRegistryPropertyA")]
public enum SPDRP
{
/// <summary>The function retrieves the device's address.</summary>
SPDRP_ADDRESS = 0x0000001C,
/// <summary>The function retrieves the device's bus number.</summary>
SPDRP_BUSNUMBER = 0x00000015,
/// <summary>The function retrieves the GUID for the device's bus type.</summary>
SPDRP_BUSTYPEGUID = 0x00000013,
/// <summary>
/// The function retrieves a bitwise OR of the following CM_DEVCAP_Xxx flags in a DWORD. The device capabilities that are
/// represented by these flags correspond to the device capabilities that are represented by the members of the
/// DEVICE_CAPABILITIES structure. The CM_DEVCAP_Xxx constants are defined in Cfgmgr32.h.
/// <list type="table">
/// <listheader>
/// <term>CM_DEVCAP_Xxx flag</term>
/// <term>Corresponding DEVICE_CAPABILITIES structure member</term>
/// </listheader>
/// <item>
/// <term>CM_DEVCAP_LOCKSUPPORTED</term>
/// <term>LockSupported</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_EJECTSUPPORTED</term>
/// <term>EjectSupported</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_REMOVABLE</term>
/// <term>Removable</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_DOCKDEVICE</term>
/// <term>DockDevice</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_UNIQUEID</term>
/// <term>UniqueID</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_SILENTINSTALL</term>
/// <term>SilentInstall</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_RAWDEVICEOK</term>
/// <term>RawDeviceOK</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_SURPRISEREMOVALOK</term>
/// <term>SurpriseRemovalOK</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_HARDWAREDISABLED</term>
/// <term>HardwareDisabled</term>
/// </item>
/// <item>
/// <term>CM_DEVCAP_NONDYNAMIC</term>
/// <term>NonDynamic</term>
/// </item>
/// </list>
/// </summary>
SPDRP_CAPABILITIES = 0x0000000F,
/// <summary>
/// The function retrieves a bitwise OR of a device's characteristics flags in a DWORD. For a description of these flags, which
/// are defined in Wdm.h and Ntddk.h, see the DeviceCharacteristics parameter of the IoCreateDevice function.
/// </summary>
SPDRP_CHARACTERISTICS = 0x0000001B,
/// <summary>The function retrieves a REG_SZ string that contains the device setup class of a device.</summary>
SPDRP_CLASS = 0x00000007,
/// <summary>The function retrieves a REG_SZ string that contains the GUID that represents the device setup class of a device.</summary>
SPDRP_CLASSGUID = 0x00000008,
/// <summary>
/// The function retrieves a REG_MULTI_SZ string that contains the list of compatible IDs for a device. For information about
/// compatible IDs, see Device Identification Strings.
/// </summary>
SPDRP_COMPATIBLEIDS = 0x00000002,
/// <summary>
/// The function retrieves a bitwise OR of a device's configuration flags in a DWORD value. The configuration flags are
/// represented by the CONFIGFLAG_Xxx bitmasks that are defined in Regstr.h.
/// </summary>
SPDRP_CONFIGFLAGS = 0x0000000A,
/// <summary>
/// (Windows XP and later) The function retrieves a CM_POWER_DATA structure that contains the device's power management information.
/// </summary>
SPDRP_DEVICE_POWER_DATA = 0x0000001E,
/// <summary>The function retrieves a REG_SZ string that contains the description of a device.</summary>
SPDRP_DEVICEDESC = 0x00000000,
/// <summary>
/// The function retrieves a DWORD value that represents the device's type. For more information, see Specifying Device Types.
/// </summary>
SPDRP_DEVTYPE = 0x00000019,
/// <summary>
/// The function retrieves a string that identifies the device's software key (sometimes called the driver key). For more
/// information about driver keys, see Registry Trees and Keys for Devices and Drivers.
/// </summary>
SPDRP_DRIVER = 0x00000009,
/// <summary>The function retrieves a REG_SZ string that contains the name of the device's enumerator.</summary>
SPDRP_ENUMERATOR_NAME = 0x00000016,
/// <summary>
/// The function retrieves a DWORD value that indicates whether a user can obtain exclusive use of the device. The returned
/// value is one if exclusive use is allowed, or zero otherwise. For more information, see IoCreateDevice.
/// </summary>
SPDRP_EXCLUSIVE = 0x0000001A,
/// <summary>The function retrieves a REG_SZ string that contains the friendly name of a device.</summary>
SPDRP_FRIENDLYNAME = 0x0000000C,
/// <summary>
/// The function retrieves a REG_MULTI_SZ string that contains the list of hardware IDs for a device. For information about
/// hardware IDs, see Device Identification Strings.
/// </summary>
SPDRP_HARDWAREID = 0x00000001,
/// <summary>
/// (Windows XP and later) The function retrieves a DWORD value that indicates the installation state of a device. The
/// installation state is represented by one of the CM_INSTALL_STATE_Xxx values that are defined in Cfgmgr32.h. The
/// CM_INSTALL_STATE_Xxx values correspond to the DEVICE_INSTALL_STATE enumeration values.
/// </summary>
SPDRP_INSTALL_STATE = 0x00000022,
/// <summary>The function retrieves the device's legacy bus type as an INTERFACE_TYPE value (defined in Wdm.h and Ntddk.h).</summary>
SPDRP_LEGACYBUSTYPE = 0x00000014,
/// <summary>The function retrieves a REG_SZ string that contains the hardware location of a device.</summary>
SPDRP_LOCATION_INFORMATION = 0x0000000D,
/// <summary>
/// (Windows Server 2003 and later) The function retrieves a REG_MULTI_SZ string that represents the location of the device in
/// the device tree.
/// </summary>
SPDRP_LOCATION_PATHS = 0x00000023,
/// <summary>The function retrieves a REG_MULTI_SZ string that contains the names of a device's lower-filter drivers.</summary>
SPDRP_LOWERFILTERS = 0x00000012,
/// <summary>The function retrieves a REG_SZ string that contains the name of the device manufacturer.</summary>
SPDRP_MFG = 0x0000000B,
/// <summary>
/// The function retrieves a REG_SZ string that contains the name that is associated with the device's PDO. For more
/// information, see IoCreateDevice.
/// </summary>
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = 0x0000000E,
/// <summary>
/// (Windows XP and later) The function retrieves the device's current removal policy as a DWORD that contains one of the
/// CM_REMOVAL_POLICY_Xxx values that are defined in Cfgmgr32.h.
/// </summary>
SPDRP_REMOVAL_POLICY = 0x0000001F,
/// <summary>
/// (Windows XP and later) The function retrieves the device's hardware-specified default removal policy as a DWORD that
/// contains one of the CM_REMOVAL_POLICY_Xxx values that are defined in Cfgmgr32.h.
/// </summary>
SPDRP_REMOVAL_POLICY_HW_DEFAULT = 0x00000020,
/// <summary>
/// (Windows XP and later) The function retrieves the device's override removal policy (if it exists) from the registry, as a
/// DWORD that contains one of the CM_REMOVAL_POLICY_Xxx values that are defined in Cfgmgr32.h.
/// </summary>
SPDRP_REMOVAL_POLICY_OVERRIDE = 0x00000021,
/// <summary>The function retrieves a SECURITY_DESCRIPTOR structure for a device.</summary>
SPDRP_SECURITY = 0x00000017,
/// <summary>
/// The function retrieves a REG_SZ string that contains the device's security descriptor. For information about security
/// descriptor strings, see Security Descriptor Definition Language (Windows). For information about the format of security
/// descriptor strings, see Security Descriptor Definition Language (Windows).
/// </summary>
SPDRP_SECURITY_SDS = 0x00000018,
/// <summary>The function retrieves a REG_SZ string that contains the service name for a device.</summary>
SPDRP_SERVICE = 0x00000004,
/// <summary>
/// The function retrieves a DWORD value set to the value of the <c>UINumber</c> member of the device's DEVICE_CAPABILITIES structure.
/// </summary>
SPDRP_UI_NUMBER = 0x00000010,
/// <summary>The function retrieves a format string (REG_SZ) used to display the <c>UINumber</c> value.</summary>
SPDRP_UI_NUMBER_DESC_FORMAT = 0x0000001D,
/// <summary>The function retrieves a REG_MULTI_SZ string that contains the names of a device's upper filter drivers.</summary>
SPDRP_UPPERFILTERS = 0x00000011,
/// <summary>Base ContainerID (R)</summary>
SPDRP_BASE_CONTAINERID = 0x00000024,
}
/// <summary>Flags for <see cref="SetupCreateDiskSpaceList"/>.</summary>
[Flags]
public enum SPDSL : uint
@ -1830,6 +2238,18 @@ namespace Vanara.PInvoke
SPPSR_ENUM_ADV_DEVICE_PROPERTIES,
}
/// <summary>A flag value that controls how the device is registered.</summary>
[PInvokeData("setupapi.h", MSDNShortId = "NF:setupapi.SetupDiRegisterDeviceInfo")]
[Flags]
public enum SPRDI : uint
{
/// <summary>
/// Search for a previously-existing device instance that corresponds to the device that is represented by DeviceInfoData. If
/// this flag is not specified, the device instance is registered regardless of whether a device instance already exists for it.
/// </summary>
SPRDI_FIND_DUPS = 0x00000001
}
/// <summary>
/// For a SPFILENOTIFY_STARTREGISTRATION notification, this member is not used and should be set to SPREG_SUCCESS. For a
/// SPFILENOTIFY_ENDREGISTRATION notification, set to one of the following failure codes that indicate the result of registration.
@ -2354,6 +2774,7 @@ namespace Vanara.PInvoke
/// <inheritdoc/>
public IntPtr DangerousGetHandle() => handle;
}
/// <summary>
/// The <c>INFCONTEXT</c> structure stores context information that functions such as SetupGetLineText use to navigate INF files.
/// </summary>

File diff suppressed because one or more lines are too long