CHANGER_INITIALIZE_ELEMENT_STATUS - NtDoc

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

NtDoc

No description available.

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

_CHANGER_INITIALIZE_ELEMENT_STATUS structure

Description

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.

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.

See also

CHANGER_ELEMENT_LIST

ChangerInitializeElementStatus

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS


Win32 API reference (ns-winioctl-changer_initialize_element_status)

CHANGER_INITIALIZE_ELEMENT_STATUS structure

Description

Represents the status of all media changer elements or the specified elements of a particular type.

Members

ElementList

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

BarCodeScan

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

See also

CHANGER_ELEMENT_LIST

IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS