// ntddchgr.h
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;
View the official Windows Driver Kit DDI reference// winioctl.h
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;
View the official Win32 API referenceNo description available.
The CHANGER_EXCHANGE_MEDIUM structure is used with the IOCTL_CHANGER_EXCHANGE_MEDIUM request to exchange locations of two pieces of media.
TransportIndicates 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.
SourceIndicates the element that contains the piece of media to be moved.
Destination1Indicates the destination of the piece of media originally at Source.
Destination2Indicates the destination of the piece of media originally at Destination1.
Flip1Indicates, 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.
Flip2Indicates, 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.
Contains information the IOCTL_CHANGER_EXCHANGE_MEDIUM control code uses to move a piece of media to a destination, and the piece of media originally in the first destination to a second destination.
TransportA CHANGER_ELEMENT structure that indicates which transport element to use for the exchange operation. The ElementType member of this structure must be ChangerTransport.
SourceA CHANGER_ELEMENT structure that indicates the element that contains the media that is to be moved.
Destination1A CHANGER_ELEMENT structure that indicates the element that is the destination of the media originally at Source.
Destination2A CHANGER_ELEMENT structure that indicates the element that is the destination of the media originally at Destination1.
Flip1If this member is TRUE, the medium at Destination1 should be flipped. Otherwise, it should not. This member is valid only if the Features0 member of the GET_CHANGER_PARAMETERS structure is CHANGER_MEDIUM_FLIP.
Flip2If this member is TRUE, the medium at Destination2 should be flipped. Otherwise, it should not. This member is valid only if the Features0 member of the GET_CHANGER_PARAMETERS structure is CHANGER_MEDIUM_FLIP.