NTMS_STORAGESLOTINFORMATION structure (ntmsapi.h)

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

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

Syntax

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

Members

Number

Number of the slot in the 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

Library that contains the slot.

Remarks

The NTMS_STORAGESLOTINFORMATION structure is part of the NTMS_OBJECTINFORMATION structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntmsapi.h

See also

NTMS_OBJECTINFORMATION