NTMS_CHANGERTYPEINFORMATIONW structure (ntmsapi.h)

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

The NTMS_CHANGERTYPEINFORMATION structure defines the properties specific to a type of robotic changer supported by RSM.

Syntax

typedef struct _NTMS_CHANGERTYPEINFORMATIONW {
  WCHAR szVendor[NTMS_VENDORNAME_LENGTH];
  WCHAR szProduct[NTMS_PRODUCTNAME_LENGTH];
  DWORD DeviceType;
} NTMS_CHANGERTYPEINFORMATIONW;

Members

szVendor[NTMS_VENDORNAME_LENGTH]

Name of the vendor of the changer. This is acquired directly from the device inquiry data.

szProduct[NTMS_PRODUCTNAME_LENGTH]

Product name of the changer. This is acquired directly from the device inquiry data.

DeviceType

SCSI device type as reported from device inquiry data. From Winioctl.h. This can be the following value.

Value Meaning
FILE_DEVICE_CHANGER
Changer device.

Remarks

The NTMS_CHANGERTYPEINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.

Note

The ntmsapi.h header defines NTMS_CHANGERTYPEINFORMATION as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntmsapi.h

See also

NTMS_OBJECTINFORMATION