Documentation
Frog Aspi is composed of the following functions :
Function GetASPI32SupportInfo: DWord; cdecl;
Function SendASPI32Command(Srb: PSRB_ExecSCSICmd): DWord; cdecl;
Function GetASPI32Buffer(Aspi32Buff : PAspi32buff) : boolean; cdecl;
Function FreeASPI32Buffer(Aspi32Buff : PAspi32buff) : boolean; cdecl;
Function TranslateASPI32Address(var D1,D2 : DWord) : boolean; cdecl;
Function GetASPI32DLLVersion : DWord; cdecl;
Function GetDriveHandleByDriveLetter(Drive : Char) : THandle; cdecl;
Function GetDriveHandleByDriveNo(DriveNo : Byte) : THandle; cdecl;
Function GetDriveHandleBySCSIAddr(HA,ID,Lun : Byte) : THandle; cdecl;
Function GetScsiAddressByCdRomID(ID : Byte) : DWord; cdecl;
Function GetScsiAddressByDriveLetter(Drive : Char) : DWord; cdecl;
Function HaveAdminPrivilege : ByteBool; cdecl;
Procedure RescanSCSI;
GetASPI32SupportInfo
Described in Adaptec Aspi SDK.
SendASPI32Command
Described in Adaptec Aspi SDK.
GetASPI32Buffer
Described in Adaptec Aspi SDK.
FreeASPI32Buffer
Described in Adaptec Aspi SDK.
TranslateASPI32Address
Described in Adaptec Aspi SDK.
GetASPI32DLLVersion
Returns the library version as a dword.
Bits 0-7 represents the Major version
Bits 8-15 represents the Minor version
Bits 16-23 represents the Release version
Bits 24-31 represents the Build version
GetDriveHandleByDriveLetter
Returns the drive handle, depending on its drive letter
GetDriveHandleByDriveNo
Returns the drive handle, depending on its number in the aspi device list
GetDriveHandleBySCSIAddr
Returns the drive handle, depending on the device scsi adress
GetScsiAddressByCdRomID
Returns the SCSI address of a CD-Rom drive, depending on its number in the aspi device list.
Bits 0-7 represents the LUN
Bits 8-15 represents the Target
Bits 16-23 represents the HostAdapter
GetScsiAddressByDriveLetter
Returns the SCSI address of a drive, depending on its drive letter
Bits 0-7 represents the LUN
Bits 8-15 represents the Target
Bits 16-23 represents the HostAdapter
HaveAdminPrivilege
Indicates if Frog Aspi is running with administrator privilege
RescanSCSI
Rescan all devices.
|