DWORD GetDriveInfo( BYTE ha, BYTE tgt, BYTE lun, LPCDREC cdrec );


Description: Retrieves information about a CD-ROM device identified by ha, tgt and lun, and stores that information in a CDREC struct.

Parameters:
ha Host adapter number
tgt Target number
lun LUN
cdrec CDREC struct to receive information for the CD-ROM identified by parameters ha, tgt, lun.

Return Value:

SS_COMP Success
SS_ERR An error occured. Call GetAspiLibError to retrieve the specific error code.

See also: GetCDId, GetAspiLibError