### CArclib::ArcModifyPassthroughDisk

The ArcModifyPassthroughDisk method modifies a pass-through disk.

Method1: virtual ARC_STATUS ArcModifyPassthroughDisk ( pPassDiskCap pDisk ); Method2: virtual ARC_STATUS ArcModifyPassthroughDisk ( IN BYTE nEncnum, IN BYTE nDrvnum, IN pPassDiskCap pNewDiskCap );

#### Parameters:

[IN]

nEncnum: Enclosure#, this field will be ignored if Non-SAS controller

nDrvnum: Drive# in Enclosure#

pNewDiskCap: Pointer to a sPassDiskCap structure that uses to create pass-through Disk

#### Return Values

This method returns the ARC_STATUS.

#### Note:

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.