CONFIGMG_Get_Hardware_Profile_Info
CONFIGRET CONFIGMG_Get_Hardware_Profile_Info(ULONG ulIndex, PHWPROFILEINFO pHWProfileInfo, ULONG ulFlags)
Get inpormation about a hardware profile.
- Returns CR_SUCCESS if the function is successful, CR_NO_MORE_DEVNODES if ulIndex is larger than the number of hardware profiles on the computer. Otherwise, the return value can be CR_INVALID_POINTER or CR_INVALID_FLAG.
- ulIndex
- The index of the hardware profile to examine. Hardware profiles go from 0 to the number of hardware profiles-1. A ulIndex value of 0xFFFFFFFF is the same as the index of the current hardware profile.
- pHWProfileInfo
- Structure to be filled.
- ulFlags
- Must be zero.