2.2.4.21 NTMS_OBJECTINFORMATIONW Structure
The NTMS_OBJECTINFORMATIONW structure describes the properties of RSM objects, in Unicode.
-
typedef struct _NTMS_OBJECTINFORMATIONW { DWORD dwSize; DWORD dwType; SYSTEMTIME Created; SYSTEMTIME Modified; NTMS_GUID ObjectGuid; BOOL Enabled; DWORD dwOperationalState; [string] wchar_t szName[64]; [string] wchar_t szDescription[127]; [switch_is(dwType)] union { [case(NTMS_DRIVE)] NTMS_DRIVEINFORMATIONW Drive; [case(NTMS_DRIVE_TYPE)] NTMS_DRIVETYPEINFORMATIONW DriveType; [case(NTMS_LIBRARY)] NTMS_LIBRARYINFORMATION Library; [case(NTMS_CHANGER)] NTMS_CHANGERINFORMATIONW Changer; [case(NTMS_CHANGER_TYPE)] NTMS_CHANGERTYPEINFORMATIONW ChangerType; [case(NTMS_STORAGESLOT)] NTMS_STORAGESLOTINFORMATION StorageSlot; [case(NTMS_IEDOOR)] NTMS_IEDOORINFORMATION IEDoor; [case(NTMS_IEPORT)] NTMS_IEPORTINFORMATION IEPort; [case(NTMS_PHYSICAL_MEDIA)] NTMS_PMIDINFORMATIONW PhysicalMedia; [case(NTMS_LOGICAL_MEDIA)] NTMS_LMIDINFORMATION LogicalMedia; [case(NTMS_PARTITION)] NTMS_PARTITIONINFORMATIONW Partition; [case(NTMS_MEDIA_POOL)] NTMS_MEDIAPOOLINFORMATION MediaPool; [case(NTMS_MEDIA_TYPE)] NTMS_MEDIATYPEINFORMATION MediaType; [case(NTMS_LIBREQUEST)] NTMS_LIBREQUESTINFORMATIONW LibRequest; [case(NTMS_OPREQUEST)] NTMS_OPREQUESTINFORMATIONW OpRequest; [case(NTMS_COMPUTER)] NTMS_COMPUTERINFORMATION Computer; } Info; } NTMS_OBJECTINFORMATIONW, *LPNTMS_OBJECTINFORMATIONW;
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 Unicode UTF-16 characters specifying the name of the object.
szDescription: The null-terminated description of the object.<14>
Info: A device or system control object information that is specific to the value of dwType.
Drive: An NTMS_DRIVEINFORMATIONW structure that describes the properties of a drive.
DriveType: An NTMS_DRIVETYPEINFORMATIONW 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_CHANGERINFORMATIONW structure that describes the properties of a changer object.
ChangerType: An NTMS_CHANGERTYPEINFORMATIONW 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 IE port.
PhysicalMedia: An NTMS_PMIDINFORMATIONW 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_PARTITIONINFORMATIONW 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_LIBREQUESTINFORMATIONW structure that describes the properties of a library request.
OpRequest: An NTMS_OPREQUESTINFORMATIONW structure that describes the properties of an operator request.
Computer: An NTMS_COMPUTERINFORMATION structure that describes the properties of a computer.