TAPE_CREATE_PARTITION structure

The TAPE_CREATE_PARTITION structure is used in conjunction with the IOCTL_TAPE_CREATE_PARTITION request to create a specified number of fixed, select, or initiator partitions of a given size on the tape media.

Syntax


typedef struct _TAPE_CREATE_PARTITION {
  ULONG Method;
  ULONG Count;
  ULONG Size;
} TAPE_CREATE_PARTITION, *PTAPE_CREATE_PARTITION;

Members

Method

Indicates the method used to create the partitions. This member can have one of the following values:

MethodMeaning

TAPE_FIXED_PARTITIONS

Partitions the tape based on the device's default definition of partitions. The Count and Size parameters are ignored.

TAPE_SELECT_PARTITIONS

Partitions the tape into the number of partitions specified by Count. The Size parameter is ignored. The size of the partitions is determined by the device's default partition size. For more specific information, refer to the documentation for your tape device.

TAPE_INITIATOR_PARTITIONS

Partitions the tape into the number and size of partitions specified by Count and Size, respectively, except for the last partition. The size of the last partition is the remainder of the tape.

 

Count

Indicates the number of partitions to create.

Size

Indicates the size of each partition, in bytes.

Requirements

Header

Ntddtape.h (include Ntddtape.h)

See also

TapeMiniCreatePartition
IOCTL_TAPE_CREATE_PARTITION

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft