TAPE_GET_MEDIA_PARAMETERS structure (minitape.h)

The TAPE_GET_MEDIA_PARAMETERS structure is used in conjunction with the TapeMiniGetMediaParameters routine to retrieve tape media parameters.

Syntax

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

Members

Capacity

Indicates the total number of bytes of user data the tape can hold.

Remaining

Indicates the number of bytes from the current position to the end of the tape.

BlockSize

Indicates the block size, in bytes, or zero if the drive is using variable block size.

PartitionCount

Indicates the number of partitions on the tape. If the tape is not partitioned, PartitionCount is 1.

WriteProtected

Is set to TRUE if the tape is write-protected.

Requirements

Requirement Value
Header minitape.h (include Ntddtape.h, Minitape.h)

See also

TapeMiniGetMediaParameters