Last update: Fri Nov 13 12:39 2009


Download RSPaspi files

Project detail and discuss

SourceForge.net

RSP Aspi


rspaspi and what more?


 

Win32 DLL and library to burn/rip/test/fix/erase CD-R/CD-RW/DVD-RAM/DVD-R/DVD-RW/DVD+R/DVD+RW/DVD+R DL/BD-R/BD-RE , and eventually it is also a documentation and or tutorial to Adaptec ASPI and ISO 9660

For the moment it can just list devices and extract wav files from audio or iso files from CDrom, but more code will be added with your help


Documentation

 

/// <summary>
/// It will retrieve the number of (valid)
/// CDROM devices on the system
/// </summary>
/// <returns>the number of devices or
/// -1 if no devices are found or error or
/// system busy</returns>
[DllImport("rsp_aspi.dll")]
public static extern int
DriveCount();
/// <summary>
/// This function will get a handle to the CDROM
/// device , it is required to identify the device
/// on some functions
///
/// </summary>
/// <param name="drive">the drive letter</param>
/// <param name="handle">returns the device handle or -1 if
/// handle not valid</param>
/// <returns>0 if no error,
/// 2 - invalid drive,
/// 1 - device don't have a valid handle</returns>
[DllImport("rsp_aspi.dll")]
public static extern int
GetDriveHandle(string drive, ref int handle);
/// <summary>
/// It will retrieve the drive letter based on the
/// index, it range from 0 to the number of returned
/// by DriveCount - 1
/// </summary>
/// <param name="index">the number of the device detected
/// on the system</param>
/// <param name="drive">return the drive letter</param>
/// <returns>0 - no error,
/// 1 - invalid index,
/// -1 - no valid cdrom devices on the system or error,
/// 2 - index is larger than the number of devices on the system</returns>
[DllImport("rsp_aspi.dll")]
public static extern int
GetDriveLetter (int index, StringBuilder drive);
/// <summary>
/// It will get the drive information
/// </summary>
/// <param name="handle">the drive handle</param>
/// <param name="vendspec">Vendor specfifications</param>
/// <param name="drivedata">The drive information and description</param>
/// <returns>0 - no error,
/// 1 - error or invalid device</returns>
[DllImport("rsp_aspi.dll")]
public static extern int
GetDriveData(int handle, StringBuilder vendspec, StringBuilder drivedata);
public delegate int CallBack
(int clear, int isdata, int tracknumber, int minutes, int seconds,int _max_speed, int cur_speed, int buffer_size);
[DllImport("rsp_aspi.dll")]
public static extern int
ReadToc(int handle, CallBack function);
[DllImport("rsp_aspi.dll")]
public static extern int
ExtractTrack(int handle, int track, string wav_or_iso);
[DllImport("rsp_aspi.dll")]
public static extern int
GetProgress();
[DllImport("rsp_aspi.dll")]
public static extern int
GetExtractReturnValue();
[DllImport("rsp_aspi.dll")]
public static extern int
GetExtractStatus();
[DllImport("rsp_aspi.dll")]
public static extern int
SetCDSpeed(int handle, int speed);
[DllImport("rsp_aspi.dll")]
public static extern int
LoadUnload(int handle, int load);
//yes the documentation is incomplete because I am lazy, but with your help it will be ready


Install

Install

- Extract the files to an empty folder

Operating System Compliance

Windows 2000 , Windows XP, Windows Vista, Windows 7


Download

RSP Aspi Files

 


Email
arab@rspsoftware.com.br

Phone

#55 41 96802731

Thanks for using our software

RSP Software 2009