// ntddchgr.h
typedef struct _CHANGER_INITIALIZE_ELEMENT_STATUS {
CHANGER_ELEMENT_LIST ElementList;
BOOLEAN BarCodeScan;
} CHANGER_INITIALIZE_ELEMENT_STATUS, *PCHANGER_INITIALIZE_ELEMENT_STATUS;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _CHANGER_INITIALIZE_ELEMENT_STATUS {
CHANGER_ELEMENT_LIST ElementList;
BOOLEAN BarCodeScan;
} CHANGER_INITIALIZE_ELEMENT_STATUS, *PCHANGER_INITIALIZE_ELEMENT_STATUS;
View the official Win32 API referenceNo description available.
The CHANGER_INITIALIZE_ELEMENT_STATUS structure is used in conjunction with the IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS request to initialize the status of all elements or of a specified number of elements of a particular type.
ElementListContains a structure of type CHANGER_ELEMENT_LIST that specifies the element type and the number of elements. If the Features0 member of the GET_CHANGER_PARAMETERS structure is set to CHANGER_INIT_ELEM_STAT_WITH_RANGE, the changer supports initializing a range of elements. In this case, the element type can be ChangerTransport, ChangerSlot, ChangerDrive, or ChangerIEPort and ElementList can specify a number of elements to initialize. Otherwise, the element type must be AllElements and the number of elements is ignored.
BarCodeScanInstructs the changer driver, when TRUE, to initialize elements by scanning bar codes. When FALSE, the changer driver takes no action. This member is applicable only if the Features0 member of GET_CHANGER_PARAMETERS is set to CHANGER_BAR_CODE_SCANNER_INSTALLED. If the changer has nonvolatile RAM, a bar code scan can serve as an optimization.
ChangerInitializeElementStatus
IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS
Represents the status of all media changer elements or the specified elements of a particular type.
ElementListA CHANGER_ELEMENT_LIST structure that lists the elements and range on which to initialize.
If CHANGER_INIT_ELEM_STAT_WITH_RANGE is set in the Features0 member of GET_CHANGER_PARAMETERS, the changer supports initializing a range of elements. In this case, the ElementType member can be one of the following: ChangerTransport, ChangerSlot, ChangerDrive, or ChangerIEPort. Otherwise, the element type must be AllElements and the NumberOfElements member is ignored.
BarCodeScanIf this member is TRUE, a bar-code scan should be used. Otherwise, it should not. If the changer has nonvolatile RAM, using a bar-code scan is an optimization.
This member is applicable only if CHANGER_BAR_CODE_SCANNER_INSTALLED is set in the Features0 member of GET_CHANGER_PARAMETERS.
IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS