// ntddchgr.h
typedef struct _CHANGER_READ_ELEMENT_STATUS {
CHANGER_ELEMENT_LIST ElementList;
BOOLEAN VolumeTagInfo;
} CHANGER_READ_ELEMENT_STATUS, *PCHANGER_READ_ELEMENT_STATUS;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _CHANGER_READ_ELEMENT_STATUS {
CHANGER_ELEMENT_LIST ElementList;
BOOLEAN VolumeTagInfo;
} CHANGER_READ_ELEMENT_STATUS, *PCHANGER_READ_ELEMENT_STATUS;
View the official Win32 API referenceNo description available.
The CHANGER_READ_ELEMENT_STATUS structure is used in conjunction with the IOCTL_CHANGER_GET_ELEMENT_STATUS request to retrieve the status of all elements or the status of a specified number of elements of a particular type.
ElementListSpecifies the element type and the number of elements of that type for which to report status in a structure of type CHANGER_ELEMENT_LIST. This member contains a list of structures of type CHANGER_ELEMENT. The ElementType member of each CHANGER_ELEMENT structure in this list can be assigned a value of ChangerDrive, ChangerSlot, ChangerTransport, ChangerIEPort, or AllElements.
VolumeTagInfoIndicates, when TRUE, that volume tag information should be reported in addition to element status. When FALSE, it indicates that only element status should be reported. A volume tag can be a bar code or an application-defined value assigned using ChangerQueryVolumeTags. This member is applicable only if either CHANGER_BAR_CODE_SCANNER_INSTALLED or CHANGER_VOLUME_IDENTIFICATION is set in the Features0 member of the GET_CHANGER_PARAMETERS structure.
IOCTL_CHANGER_GET_ELEMENT_STATUS
Contains information that the IOCTL_CHANGER_GET_ELEMENT_STATUS control code needs to determine the elements whose status is to be retrieved.
ElementListA CHANGER_ELEMENT_LIST structure that contains an array of structures that represents the range of elements for which information is to be retrieved. The ElementType member of each structure can be one of the following values: ChangerDrive, ChangerSlot, ChangerTransport, ChangerIEPort, or AllElements.
VolumeTagInfoIf this member is TRUE, volume tag information is to be retrieved. Otherwise, no volume information is retrieved. A volume tag can be a bar code or an application-defined value. This member is valid only if the Features0 member of the GET_CHANGER_PARAMETERS structure is CHANGER_BAR_CODE_SCANNER_INSTALLED or CHANGER_VOLUME_IDENTIFICATION.
IOCTL_CHANGER_GET_ELEMENT_STATUS