CHANGER_EXCHANGE_MEDIUM structure (ntddchgr.h)
The CHANGER_EXCHANGE_MEDIUM structure is used with the IOCTL_CHANGER_EXCHANGE_MEDIUM request to exchange locations of two pieces of media.
Syntax
typedef struct _CHANGER_EXCHANGE_MEDIUM {
CHANGER_ELEMENT Transport;
CHANGER_ELEMENT Source;
CHANGER_ELEMENT Destination1;
CHANGER_ELEMENT Destination2;
BOOLEAN Flip1;
BOOLEAN Flip2;
} CHANGER_EXCHANGE_MEDIUM, *PCHANGER_EXCHANGE_MEDIUM;
Members
Transport
Indicates which transport element to use for the exchange operation. This member contains a structure of type CHANGER_ELEMENT. The ElementType member of the CHANGER_ELEMENT structure must be assigned a value of ChangerTransport.
Source
Indicates the element that contains the piece of media to be moved.
Destination1
Indicates the destination of the piece of media originally at Source.
Destination2
Indicates the destination of the piece of media originally at Destination1.
Flip1
Indicates, when TRUE, that the piece of media moved to Destination1 should be flipped. This member is valid only if the Features0 member of the GET_CHANGER_PARAMETERS structure is set to CHANGER_MEDIUM_FLIP. When FALSE, this member indicates that the media does not ready to be flipped.
Flip2
Indicates, when TRUE, that the medium moved to Destination2 should be flipped. This member is valid only if the Features0 member of the GET_CHANGER_PARAMETERS structure is set to CHANGER_MEDIUM_FLIP. When FALSE, this member indicates that the media does not ready to be flipped.
Requirements
Requirement | Value |
---|---|
Header | ntddchgr.h |