The NTMS_OBJECTINFORMATIONA structure describes the properties of RSM objects, in ASCII.
typedef struct _NTMS_OBJECTINFORMATIONA {
DWORD dwSize;
DWORD dwType;
SYSTEMTIME Created;
SYSTEMTIME Modified;
NTMS_GUID ObjectGuid;
BOOL Enabled;
DWORD dwOperationalState;
char szName[64];
char szDescription[127];
[switch_is(dwType)] union {
[case(NTMS_DRIVE)]
NTMS_DRIVEINFORMATIONA Drive;
[case(NTMS_DRIVE_TYPE)]
NTMS_DRIVETYPEINFORMATIONA DriveType;
[case(NTMS_LIBRARY)]
NTMS_LIBRARYINFORMATION Library;
[case(NTMS_CHANGER)]
NTMS_CHANGERINFORMATIONA Changer;
[case(NTMS_CHANGER_TYPE)]
NTMS_CHANGERTYPEINFORMATIONA ChangerType;
[case(NTMS_STORAGESLOT)]
NTMS_STORAGESLOTINFORMATION StorageSlot;
[case(NTMS_IEDOOR)]
NTMS_IEDOORINFORMATION IEDoor;
[case(NTMS_IEPORT)]
NTMS_IEPORTINFORMATION IEPort;
[case(NTMS_PHYSICAL_MEDIA)]
NTMS_PMIDINFORMATIONA PhysicalMedia;
[case(NTMS_LOGICAL_MEDIA)]
NTMS_LMIDINFORMATION LogicalMedia;
[case(NTMS_PARTITION)]
NTMS_PARTITIONINFORMATIONA Partition;
[case(NTMS_MEDIA_POOL)]
NTMS_MEDIAPOOLINFORMATION MediaPool;
[case(NTMS_MEDIA_TYPE)]
NTMS_MEDIATYPEINFORMATION MediaType;
[case(NTMS_LIBREQUEST)]
NTMS_LIBREQUESTINFORMATIONA LibRequest;
[case(NTMS_OPREQUEST)]
NTMS_OPREQUESTINFORMATIONA OpRequest;
[case(NTMS_COMPUTER)]
NTMS_COMPUTERINFORMATION Computer;
} Info;
} NTMS_OBJECTINFORMATIONA,
*LPNTMS_OBJECTINFORMATIONA;
dwSize: The size, in bytes, of the structure.
dwType: A value from the NtmsObjectsTypes (section 2.2.1.6) enumeration specifying the type of the object.
Created: A SYSTEMTIME structure specifying the time when the object was created.
Modified: A SYSTEMTIME structure specifying the time when the object was last modified.
ObjectGuid: The identifier of the object.
Enabled: If set to TRUE, the object MUST be enabled; if set to FALSE, the object MUST NOT be enabled.
dwOperationalState: A value from the NtmsOperationalState (section 2.2.4.5) enumeration specifying the operation state of the object.
szName: A null-terminated sequence of ASCII characters specifying the name of the object.
szDescription: The null-terminated description of the object.<13>
Info: A device or system control object information that is specific to the value of dwType.
Drive: An NTMS_DRIVEINFORMATIONA structure that describes the properties of a drive.
DriveType: An NTMS_DRIVETYPEINFORMATIONA structure that describes the properties specific to a type of drive.
Library: An NTMS_LIBRARYINFORMATION structure that describes the properties of a media library.
Changer: An NTMS_CHANGERINFORMATIONA structure that describes the properties of a changer object.
ChangerType: An NTMS_CHANGERTYPEINFORMATIONA structure that describes the properties specific to a type of changer object.
StorageSlot: An NTMS_STORAGESLOTINFORMATION structure that describes the properties of a media storage slot.
IEDoor: An NTMS_IEDOORINFORMATION structure that describes the properties of an access door.
IEPort: An NTMS_IEPORTINFORMATION structure that describes the properties of an inject/eject port.
PhysicalMedia: An NTMS_PMIDINFORMATIONA structure that describes the properties of a physical media object.
LogicalMedia: An NTMS_LMIDINFORMATION structure that describes the properties of a logical media object.
Partition: An NTMS_PARTITIONINFORMATIONA structure that describes the properties of a media-side object.
MediaPool: An NTMS_MEDIAPOOLINFORMATION structure that describes the properties of a media pool.
MediaType: An NTMS_MEDIATYPEINFORMATION structure that describes the properties specific to a type of media.
LibRequest: An NTMS_LIBREQUESTINFORMATIONA structure that describes the properties of a library request.
OpRequest: An NTMS_OPREQUESTINFORMATIONA structure that describes the properties of an operator request.
Computer: An NTMS_COMPUTERINFORMATION structure that describes the properties of a computer.