// minitape.h
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;
View the official Windows Driver Kit DDI reference// ntddtape.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The TAPE_GET_MEDIA_PARAMETERS structure is used in conjunction with the TapeMiniGetMediaParameters routine to retrieve tape media parameters.
CapacityIndicates the total number of bytes of user data the tape can hold.
RemainingIndicates the number of bytes from the current position to the end of the tape.
BlockSizeIndicates the block size, in bytes, or zero if the drive is using variable block size.
PartitionCountIndicates the number of partitions on the tape. If the tape is not partitioned, PartitionCount is 1.
WriteProtectedIs set to TRUE if the tape is write-protected.
The TAPE_GET_MEDIA_PARAMETERS structure is used in conjunction with the TapeMiniGetMediaParameters routine to retrieve tape media parameters.
CapacityIndicates the total number of bytes of user data the tape can hold.
RemainingIndicates the number of bytes from the current position to the end of the tape.
BlockSizeIndicates the block size, in bytes, or zero if the drive is using variable block size.
PartitionCountIndicates the number of partitions on the tape. If the tape is not partitioned, PartitionCount is 1.
WriteProtectedIs set to TRUE if the tape is write-protected.