共用方式為


NTMS_STORAGESLOTINFORMATION Structure

[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_STORAGEINFORMATION;

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Ntmsapi.h

See Also

NTMS_OBJECTINFORMATION

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011