Platform SDK: Removable Storage Manager

NTMS_STORAGESLOTINFORMATION

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

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

Members

Number
Number of the slot in the online library.
State
Current state of the slot. This can be one of the following values.
Value Meaning
NTMS_SLOTSTATE_EMPTY Slot is present, but does not contain a piece of physical media.
NTMS_SLOTSTATE_FULL Slot is present and contains a piece of physical media.
NTMS_SLOTSTATE_NOTPRESENT Slot is not present. If the library contains magazines, this value is reported for each slot when the associated magazine is missing.
NTMS_SLOTSTATE_UNKNOWN Slot state cannot be determined.
NTMS_SLOTSTATE_NEEDSINVENTORY Slot needs inventory.

Library
Online library that contains the slot.

Remarks

The NTMS_STORAGESLOTINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure used for the GetNtmsObjectInformation and SetNtmsObjectInformation functions.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntmsapi.h.