ASM. JobSetState (Fun)

This function of the CAA_AsyncMan.library will set the state of a job to a specified value.

The return is the error code of the executed function.

Input:

hJob

CAA.HANDLE

Handle of job

stateJob

ASM.STATE

New state of job.

Output:

eError

ASM.ERROR

Error enumeration variable for diagnosis purposes.