TAPE_GET_MEDIA_PARAMETERS structure (winnt.h)

The TAPE_GET_MEDIA_PARAMETERS structure describes the tape in the tape drive. It is used by the GetTapeParameters function.

Syntax

typedef struct _TAPE_GET_MEDIA_PARAMETERS {
  LARGE_INTEGER Capacity;
  LARGE_INTEGER Remaining;
  DWORD         BlockSize;
  DWORD         PartitionCount;
  BOOLEAN       WriteProtected;
} TAPE_GET_MEDIA_PARAMETERS, *PTAPE_GET_MEDIA_PARAMETERS;

Members

Capacity

Total number of bytes on the current tape partition.

Remaining

Number of bytes between the current position and the end of the current tape partition.

BlockSize

Number of bytes per block.

PartitionCount

Number of partitions on the tape.

WriteProtected

If this member is TRUE, the tape is write-protected. Otherwise, it is not.

Remarks

The GetTapeParameters function fills the Remaining and Capacity members with estimates of the tape remaining in the current tape partition and the total capacity of the current tape partition.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

GetTapeParameters