TAPE_PREPARE structure (winnt.h)

The TAPE_PREPARE structure describes how to prepare the tape.

Syntax

typedef struct _TAPE_PREPARE {
  DWORD   Operation;
  BOOLEAN Immediate;
} TAPE_PREPARE, *PTAPE_PREPARE;

Members

Operation

Tape preparation option. This member must be one of the following values.

Value Meaning
TAPE_LOCK
3L
Locks the tape ejection mechanism so that the tape is not ejected accidentally during a tape operation.
TAPE_TENSION
2L
Moves to the end of the tape and rewinds to the beginning of the tape. This value is ignored if the tape device does not support tensioning.
TAPE_UNLOAD
1L
Rewinds and unloads the tape.
TAPE_UNLOCK
4L
Unlocks the tape ejection mechanism.

Immediate

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)