setupapi topic

Application Installation and Servicing

Functions that a setup application calls to perform installation operations.

Functions

SetupDiDestroyDeviceInfoList(int DeviceInfoSet) int setupapi
The SetupDiDestroyDeviceInfoList function deletes a device information set and frees all associated memory.
SetupDiEnumDeviceInfo(int DeviceInfoSet, int MemberIndex, Pointer<SP_DEVINFO_DATA> DeviceInfoData) int setupapi
The SetupDiEnumDeviceInfo function returns a SP_DEVINFO_DATA structure that specifies a device information element in a device information set.
SetupDiEnumDeviceInterfaces(int DeviceInfoSet, Pointer<SP_DEVINFO_DATA> DeviceInfoData, Pointer<GUID> InterfaceClassGuid, int MemberIndex, Pointer<SP_DEVICE_INTERFACE_DATA> DeviceInterfaceData) int setupapi
The SetupDiEnumDeviceInterfaces function enumerates the device interfaces that are contained in a device information set.
SetupDiGetClassDevs(Pointer<GUID> ClassGuid, Pointer<Utf16> Enumerator, int hwndParent, int Flags) int setupapi
The SetupDiGetClassDevs function returns a handle to a device information set that contains requested device information elements for a local computer.
SetupDiGetDeviceInstanceId(int DeviceInfoSet, Pointer<SP_DEVINFO_DATA> DeviceInfoData, Pointer<Utf16> DeviceInstanceId, int DeviceInstanceIdSize, Pointer<Uint32> RequiredSize) int setupapi
The SetupDiGetDeviceInstanceId function retrieves the device instance ID that is associated with a device information element.
SetupDiGetDeviceInterfaceDetail(int DeviceInfoSet, Pointer<SP_DEVICE_INTERFACE_DATA> DeviceInterfaceData, Pointer<SP_DEVICE_INTERFACE_DETAIL_DATA_> DeviceInterfaceDetailData, int DeviceInterfaceDetailDataSize, Pointer<Uint32> RequiredSize, Pointer<SP_DEVINFO_DATA> DeviceInfoData) int setupapi
The SetupDiGetDeviceInterfaceDetail function returns details about a device interface.
SetupDiGetDeviceRegistryProperty(int DeviceInfoSet, Pointer<SP_DEVINFO_DATA> DeviceInfoData, int Property, Pointer<Uint32> PropertyRegDataType, Pointer<Uint8> PropertyBuffer, int PropertyBufferSize, Pointer<Uint32> RequiredSize) int setupapi
The SetupDiGetDeviceRegistryProperty function retrieves a specified Plug and Play device property.
SetupDiOpenDevRegKey(int DeviceInfoSet, Pointer<SP_DEVINFO_DATA> DeviceInfoData, int Scope, int HwProfile, int KeyType, int samDesired) int setupapi
The SetupDiOpenDevRegKey function opens a registry key for device-specific configuration information.