Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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_UNKNOWNValue: 0 Unknown object. | 
| NTMS_OBJECTUsed internally when initializing an object. | 
| NTMS_CHANGERChanger. | 
| NTMS_CHANGER_TYPEChanger type. | 
| NTMS_COMPUTERComputer. | 
| NTMS_DRIVEDrive. | 
| NTMS_DRIVE_TYPEDrive type. | 
| NTMS_IEDOORInsert/eject door. | 
| NTMS_IEPORTInsert/eject port. | 
| NTMS_LIBRARYLibrary (including the offline library). | 
| NTMS_LIBREQUESTLibrary request. | 
| NTMS_LOGICAL_MEDIALogical media. | 
| NTMS_MEDIA_POOLMedia pool. | 
| NTMS_MEDIA_TYPEMedia type. | 
| NTMS_PARTITIONSide of a piece of physical media. | 
| NTMS_PHYSICAL_MEDIAPhysical media. | 
| NTMS_STORAGESLOTStorage slot. | 
| NTMS_OPREQUESTOperator request. | 
| NTMS_UI_DESTINATIONUser 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 |