SetTapePosition

The SetTapePosition entry point is called to seek to a particular block of media data. For example:
SetTapePosition(
 HANDLE hDevice,
 DWORD dwPositionMethod,
 DWORD dwPartition,
 DWORD dwOffsetLow,
 DWORD dwOffsetHigh,
 BOOL bImmediate
);

dwPositionMethod is the type of positioning.

For Magstar® devices, the following types of tapemarks and immediate values are supported.

TAPE_ABSOLUTE_BLOCK bImmediate TRUE or FALSE
TAPE_LOGICAL_BLOCK bImmediate TRUE or FALSE

For Magstar devices, there is no difference between the absolute and logical block addresses.

TAPE_REWIND bImmediate TRUE or FALSE
TAPE_SPACE_END_OF_DATA bImmediate FALSE
TAPE_SPACE_FILEMARKS bImmediate FALSE
TAPE_SPACE_RELATIVE_BLOCKS bImmediate FALSE
TAPE_SPACE_SEQUENTIAL_FMKS