CHANGER_INITIALIZE_ELEMENT_STATUS structure (ntddchgr.h)

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.

Syntax

typedef struct _CHANGER_INITIALIZE_ELEMENT_STATUS {
  CHANGER_ELEMENT_LIST ElementList;
  BOOLEAN              BarCodeScan;
} CHANGER_INITIALIZE_ELEMENT_STATUS, *PCHANGER_INITIALIZE_ELEMENT_STATUS;

Members

ElementList

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

BarCodeScan

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

Requirements

Requirement Value
Header ntddchgr.h

See also

CHANGER_ELEMENT_LIST

ChangerInitializeElementStatus

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS