MM_SEQUENTIAL_READ

Reads sequential data from tape.

Parameters

handle
The handle of the object representing the media to be read.
function
Set to MM_SEQUENTIAL_READ.
parameter1
Specifies the number of units to be read, where units refers to what was formerly called sectors on fixed media.
parameter2
Reserved. Set to zero.
parameter3
Reserved. Set to zero.
bufferLen
The size of the buffer (i.e., the number of units multiplied by the unit size) in bytes. The number of units ( parameter1) cannot exceed the maximum number of units as prescribed in the blockSize returned in a IOObjectMappingTableDef structure. The unitSize parameter is also returned in a IOObjectGenericInfoDef structure.
buffer
Points to a buffer in memory where the data is to be read.
returnParameter
The number of units read.