2.2.2.2 NtmsInjectOperation Enumeration

The NtmsInjectOperation enumeration defines the types of actions to perform in an inject operation.

 enum NtmsInjectOperation
 {
   NTMS_INJECT_START = 0,
   NTMS_INJECT_STOP = 1,
   NTMS_INJECT_RETRACT = 2,
   NTMS_INJECT_STARTMANY = 3
 };

NTMS_INJECT_START:  Start the insert operation on a port. All media in the port MUST be inserted until either the operation times out or NTMS_INJECT_STOP is issued.

NTMS_INJECT_STOP:  Terminate the insertion process.

NTMS_INJECT_RETRACT:  Direct the library to retract the IE port and check for media that the operator placed there.

NTMS_INJECT_STARTMANY:  Direct the IE port to open continually and check for media that the operator placed there. If media are found, the IE port MUST be reopened to receive more media.