2.2.4.22 NTMS_STORAGESLOTINFORMATION Structure

The NTMS_STORAGESLOTINFORMATION structure defines properties specific to a storage slot object.

 typedef struct _NTMS_STORAGESLOTINFORMATION {
   DWORD Number;
   DWORD State;
   NTMS_GUID Library;
 } NTMS_STORAGESLOTINFORMATION;

Number: The number of the slot in the library.

State: The current state of the slot. This MUST be one of the following values.

Value

Meaning

NTMS_SLOTSTATE_UNKNOWN

0x00000000

The slot state cannot be determined.

NTMS_SLOTSTATE_FULL

0x00000001

The slot is present and contains physical media.

NTMS_SLOTSTATE_EMPTY

0x00000002

The slot is present but does not contain physical media.

NTMS_SLOTSTATE_NOTPRESENT

0x00000003

The slot is not present. If the library contains magazines, this value is reported for each slot when the associated magazine is missing.

NTMS_SLOTSTATE_NEEDSINVENTORY

0x00000004

The slot needs inventory.

Library: The library that contains the slot.