The ArcHelpBuildDeviceMap method enumerates devices (disks) that connected to raid subsystem.
ARC_STATUS
ArcHelpBuildDeviceMap(sDRV_MAP *drvMap); |
[OUT]
drvMap: Pointer to a sDRV_MAP structure that receives the
information.
typedef struct
_DRV_MAP { int total; struct { BYTE
encindex; BYTE
drvindex; sGUI_PHY_DRV
drvInfo; }drv[256]; }sDRV_MAP, *pDRV_MAP; |
total
Number
of devices (disks) found.
encindex
The
enclosure# the device (disk) belongs to. Note: This field is always set to '0'
when non-SAS controller
drvindex
The
device (disk) channel#
drvInfo
Pointer
to sGUI_PHY_DRV
that receives the device (disk) information
This method returns the ARC_STATUS.