TAPE_WRITE_MARKS structure (ntddtape.h)

The TAPE_WRITE_MARKS structure is used in conjunction with an IOCTL_TAPE_WRITE_MARKS request to write a setmark, a filemark, a short filemark, or a long filemark to tape.

Syntax

typedef struct _TAPE_WRITE_MARKS {
  ULONG   Type;
  ULONG   Count;
  BOOLEAN Immediate;
} TAPE_WRITE_MARKS, *PTAPE_WRITE_MARKS;

Members

Type

Indicates the type of mark to write. This member can have one of the following values:

Type Meaning
TAPE_SETMARKS Writes the number of setmarks specified by Count.
TAPE_FILEMARKS Writes the number of filemarks specified by the Count parameter.
TAPE_SHORT_FILEMARKS Writes the number of short filemarks specified by Count.
TAPE_LONG_FILEMARKS Writes the number of long filemarks specified by Count.

Count

Indicates the number of marks to write.

Immediate

When set to TRUE, indicates that the target device should return status immediately. When set to FALSE, indicates that the device should return status after the operation is complete.

Requirements

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

See also

IOCTL_TAPE_WRITE_MARKS

TapeMiniWriteMarks