Re: Backup Function GetTapePosition

From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 08/13/04


Date: Fri, 13 Aug 2004 13:03:12 -0700

Are you interpreting big-endian numbers correctly? Is the tape sending data
in proper big-endian format? What you're getting in hex?

"Yavin" <Yavin@discussions.microsoft.com> wrote in message
news:C068024B-08B0-402D-9E5A-57EEA004ACA7@microsoft.com...
> "Maxim S. Shatskih" wrote:
> > Try IOCTL_SCSI_PASS_THROUGH and sending the manually created CDB to a
> > tape.
>
> Okay Maxim, now I send a READ_POSITION to the tape and it returns me a
> value, but I suppose it is not valid. I moved the tape to logical block 50
> and should have got 50 or (1638400) but I didn't. Got something about
> 8*10^6. The used blocksize is 32KB.