mpiDriveMapParamCount
Declaration
int32_t mpiDriveMapParamCount (MPIDriveMap driveMap, char *nodeName, char *firmwareVersion, int32_t *paramsCount);
Required Header: drivemap.h
Description
mpiDriveMapParamCount scans the drive map file for a drive entry that matches a particular drive. If an entry is found, then this function returns the number of drive parameters that need to be preserved for the configuration of the drive.
This function is normally used with the mpiDriveMapParamList(...) function. First, this function is called in order to get the size of the drive parameter list. Then the user can use this size to allocate enough memory to hold the complete parameter list before calling mpiDriveMapParamList to fill in the list.
|
|||||||||
|