In order to access the hardware RAID, first call this function to get the handle.
int CoHWRaidOpen(const char* dev, void *pv)
const char *dev
Enter the path of the block device file corresponding to the target RAID board, such as "/dev/sd[a-z]" or "/dev/sgN".
void *pv
It is a reserved argument. Please specify NULL.
If the function succeeds, a valid bundle is returned.
If the function fails, -1 is returned.
For other functions, device control is performed using the handle acquired by this function.
Function List