CHANGER_EXCHANGE_MEDIUM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddchgr-_changer_exchange_medium)

_CHANGER_EXCHANGE_MEDIUM structure

Description

The CHANGER_EXCHANGE_MEDIUM structure is used with the IOCTL_CHANGER_EXCHANGE_MEDIUM request to exchange locations of two pieces of media.

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.

See also

ChangerExchangeMedium

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_EXCHANGE_MEDIUM


Win32 API reference (ns-winioctl-changer_exchange_medium)

CHANGER_EXCHANGE_MEDIUM structure

Description

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.

Members

Transport

A CHANGER_ELEMENT structure that indicates which transport element to use for the exchange operation. The ElementType member of this structure must be ChangerTransport.

Source

A CHANGER_ELEMENT structure that indicates the element that contains the media that is to be moved.

Destination1

A CHANGER_ELEMENT structure that indicates the element that is the destination of the media originally at Source.

Destination2

A CHANGER_ELEMENT structure that indicates the element that is the destination of the media originally at Destination1.

Flip1

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

Flip2

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

See also

CHANGER_ELEMENT

IOCTL_CHANGER_EXCHANGE_MEDIUM