### CArclib::ArcCreatePassthroughDisk

The ArcCreatePassthroughDisk method creates a pass-through disk.

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

#### Parameters:

[IN]

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

nDrvnum: Drive# in Enclsoure#

pDisk: 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.