CHANGER_PRODUCT_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddchgr.h

typedef struct _CHANGER_PRODUCT_DATA {
  UCHAR VendorId[VENDOR_ID_LENGTH];
  UCHAR ProductId[PRODUCT_ID_LENGTH];
  UCHAR Revision[REVISION_LENGTH];
  UCHAR SerialNumber[SERIAL_NUMBER_LENGTH];
  UCHAR DeviceType;
} CHANGER_PRODUCT_DATA, *PCHANGER_PRODUCT_DATA;
View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _CHANGER_PRODUCT_DATA {
  BYTE VendorId[VENDOR_ID_LENGTH];
  BYTE ProductId[PRODUCT_ID_LENGTH];
  BYTE Revision[REVISION_LENGTH];
  BYTE SerialNumber[SERIAL_NUMBER_LENGTH];
  BYTE DeviceType;
} CHANGER_PRODUCT_DATA, *PCHANGER_PRODUCT_DATA;
View the official Win32 API reference

NtDoc

No description available.

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

_CHANGER_PRODUCT_DATA structure

Description

The CHANGER_PRODUCT_DATA structure is used in conjunction with the IOCTL_CHANGER_GET_PRODUCT_DATA request to retrieve product data for a device.

Members

VendorId

Specifies the name of the device manufacturer.

ProductId

Specifies the product identification as defined by the vendor.

Revision

Specifies the product revision as defined by the vendor.

SerialNumber

Specifies the value defined by the vendor to identify this device. Serial numbers are unique for all changers of a given type, but are not necessarily unique across vendor and product lines. For a SCSI changer, this value might be from Vital Product Data. If SerialNumber is not unique, the miniclass driver should not set the CHANGER_SERIAL_NUMBER_VALID flag in the Features0 member of the GET_CHANGER_PARAMETERS structure.

DeviceType

Specifies the device type of the changer. This member must be MEDIUM_CHANGER.

See also

ChangerGetProductData

GET_CHANGER_PARAMETERS

IOCTL_CHANGER_GET_PRODUCT_DATA


Win32 API reference (ns-winioctl-changer_product_data)

CHANGER_PRODUCT_DATA structure

Description

Represents product data for a changer device. It is used by the IOCTL_CHANGER_GET_PRODUCT_DATA control code.

Members

VendorId

The device manufacturer's name. This is acquired directly from the device inquiry data.

ProductId

The product identification, as defined by the vendor. This is acquired directly from the device inquiry data.

Revision

The product revision, as defined by the vendor.

SerialNumber

A unique value used to globally identify this device, as defined by the vendor.

DeviceType

The device type of data transports, as defined by SCSI-2. This member must be FILE_DEVICE_CHANGER.

See also

IOCTL_CHANGER_GET_PRODUCT_DATA