TAPE_PREPARE structure

The TAPE_PREPARE structure describes how to prepare the tape.

Syntax


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

Members

Operation

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

ValueMeaning
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.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winnt.h (include Windows.h)

 

 

Community Additions

ADD
Show: