Partager via


NtmsObjectsTypes Enumeration

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

The NtmsObjectsTypes enumeration type specifies the types of RSM objects.

Syntax

typedef enum NtmsObjectsTypes {
  NTMS_UNKNOWN          = 0,
  NTMS_OBJECT,
  NTMS_CHANGER,
  NTMS_CHANGER_TYPE,
  NTMS_COMPUTER,
  NTMS_DRIVE,
  NTMS_DRIVE_TYPE,
  NTMS_IEDOOR,
  NTMS_IEPORT,
  NTMS_LIBRARY,
  NTMS_LIBREQUEST,
  NTMS_LOGICAL_MEDIA,
  NTMS_MEDIA_POOL,
  NTMS_MEDIA_TYPE,
  NTMS_PARTITION,
  NTMS_PHYSICAL_MEDIA,
  NTMS_STORAGESLOT,
  NTMS_OPREQUEST,
  NTMS_UI_DESTINATION 
} NtmsObjectsTypes;

Constants

  • NTMS_UNKNOWN
    Unknown object.

  • NTMS_OBJECT
    Used internally when initializing an object.

  • NTMS_CHANGER
    Changer.

  • NTMS_CHANGER_TYPE
    Changer type.

  • NTMS_COMPUTER
    Computer.

  • NTMS_DRIVE
    Drive.

  • NTMS_DRIVE_TYPE
    Drive type.

  • NTMS_IEDOOR
    Insert/eject door.

  • NTMS_IEPORT
    Insert/eject port.

  • NTMS_LIBRARY
    Library (including the offline library).

  • NTMS_LIBREQUEST
    Library request.

  • NTMS_LOGICAL_MEDIA
    Logical media.

  • NTMS_MEDIA_POOL
    Media pool.

  • NTMS_MEDIA_TYPE
    Media type.

  • NTMS_PARTITION
    Side of a piece of physical media.

  • NTMS_PHYSICAL_MEDIA
    Physical media.

  • NTMS_STORAGESLOT
    Storage slot.

  • NTMS_OPREQUEST
    Operator request.

  • NTMS_UI_DESTINATION
    User interface destination.

Remarks

The following table show the relationship of RSM objects.

Container Object
Library Changer
Door
Drive
Library request
Media type
Physical media
Port
Slot
Logical media Side
Media pool Logical media
Media pool
Physical media
NULL Changer
Changer type
Computer
Door
Drive
Drive type
Library
Library request
Logical media
Media pool (free, unrecognized, import, and application root)
Media type
Operator request
Port
Physical media
Side
Physical Media Side

 

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

EnumerateNtmsObject

SetNtmsObjectInformation

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011