Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine Early Warning Zone with Win32 API

1 view
Skip to first unread message

Peter Hemmingsen

unread,
Jan 21, 2002, 8:24:59 AM1/21/02
to
Hi,

I'm developing a backup program using Win32 API. It is used for backing up
huge amount of data and therefore needs to support multiple tapes and
autoloaders.

I'm using WriteFile to write asynchronously to the tape. By using
GetOverlappedResult I can find out if the actual write to the tape
succeeded. This method will correctly tell me when I reached the end of the
tape but I would like to somehow be notified that I'm writing in the Early
Warning Zone so that I can write some info before changing tape.

I'm testing on a HP SureStore DAT24/6. When I use GetTapeParameters to read
a TAPE_GET_DRIVE_PARAMETERS structure the EOTWarningZoneSize member is 0.
I've tried to set it to something else but when reading it again it is still
0.

Any comments would be highly appreciated.

Peter Hemmingsen


0 new messages