The ArcCreateHotSpare method creates one or
more Hot-Spare devices (disks).
Method1: virtual
ARC_STATUS ArcCreateHotSpare ( DWORD nDevMask, ); Method2: virtual ARC_STATUS ArcCreateHotSpare ( IN pDEVICE_LIST pDevPairList ); |
[IN]
nDevMask:
The devices mask represents the index of devices that use to create Hot-Spare
devices,
Bit0 represents device0, Bit1 represents device1….and so on.
Example: The mask of 0x00000010 means that create a Hot-Spare device in
device4.
pDevPairList: Pointer to a
sDEVICE_LIST
structure containing a list of devices
This method returns the ARC_STATUS.
Password required if password enabled, use ArcChkPassword member function to
validate the password.
The
method1 is deprecated and only use for Non-SAS controller, please use the
method2 instead.