NTMS_CHANGERINFORMATIONW structure (ntmsapi.h)
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The NTMS_CHANGERINFORMATION structure defines properties specific to a robotic changer object.
Syntax
typedef struct _NTMS_CHANGERINFORMATIONW {
DWORD Number;
NTMS_GUID ChangerType;
WCHAR szSerialNumber[NTMS_SERIALNUMBER_LENGTH];
WCHAR szRevision[NTMS_REVISION_LENGTH];
WCHAR szDeviceName[NTMS_DEVICENAME_LENGTH];
WORD ScsiPort;
WORD ScsiBus;
WORD ScsiTarget;
WORD ScsiLun;
NTMS_GUID Library;
} NTMS_CHANGERINFORMATIONW;
Members
Number
Number of the changer within the library.
ChangerType
Identifier of the changer type of this changer.
szSerialNumber[NTMS_SERIALNUMBER_LENGTH]
Serial number for the changer represented as a string. Devices that do not support serial numbers report NULL for this member.
szRevision[NTMS_REVISION_LENGTH]
Revision for the changer, represented as a string.
szDeviceName[NTMS_DEVICENAME_LENGTH]
Name of the device used to access the changer.
ScsiPort
SCSI host adapter to which the changer is connected.
ScsiBus
SCSI bus to which the changer is connected.
ScsiTarget
SCSI target ID for the changer.
ScsiLun
SCSI logical unit ID for the changer.
Library
Unique identifier of the library that contains the changer.
Remarks
The NTMS_CHANGERINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.
Note
The ntmsapi.h header defines NTMS_CHANGERINFORMATION 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 |