2.2.1.10 NtmsLmState Enumeration

The NtmsLmState enumeration defines the state of a work request.

 enum NtmsLmState
 {
   NTMS_LM_QUEUED = 0,
   NTMS_LM_INPROCESS = 1,
   NTMS_LM_PASSED = 2,
   NTMS_LM_FAILED = 3,
   NTMS_LM_INVALID = 4,
   NTMS_LM_WAITING = 5,
   NTMS_LM_CANCELLED = 7,
   NTMS_LM_STOPPED = 8
 };

NTMS_LM_QUEUED:  The work request is queued.

NTMS_LM_INPROCESS:  The work request is being processed.

NTMS_LM_PASSED:  The work request has completed successfully.

NTMS_LM_FAILED:  The work request has completed with an error.

NTMS_LM_INVALID:  The work request is invalid.

NTMS_LM_WAITING:  The work request is blocked.

NTMS_LM_CANCELLED:  The work request has been canceled.

NTMS_LM_STOPPED:  The work request has been stopped.