4.4 Media Management Using INtmsMediaServices1
The following illustrates the how an RSM client performs media management using the INtmsMediaServices1 interface.

Figure 4: Example of media management (ASCII)
The client calls INtmsSession1::OpenNtmsServerSessionA to open a session with the server.
The server initializes the session and indicates success.
The RSM client calls INtmsObjectManagement1::EnumerateNtmsObject. The dwType parameter is set to a value from the NtmsObjectsTypes enumeration.
The server returns a list of objects.
The client calls INtmsMediaServices1::MountNtmsMedia to mount media in a drive, specifying the media ID and the drive ID it obtained through EnumerateNtmsObject.
The server indicates success (S_OK).