NtmsObjectsTypes enumeration (ntmsapi.h)

[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,
  NTMS_NUMBER_OF_OBJECT_TYPES
} ;

Constants

 
NTMS_UNKNOWN
Value: 0
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.
NTMS_NUMBER_OF_OBJECT_TYPES

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

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

See also

EnumerateNtmsObject

SetNtmsObjectInformation