This function of the ⇘ CAA_AsyncMan.library will write the state of the job to the memory passed.
The return is a pointer to the state; in case of error this pointer equals CAA.gc_NULL.
Input:
hJob
CAA.HANDLE
Handle of job
pStateJob
POINTER TO ASM.STATE
Pointer to structure of type ASM.STATE.
Output:
eError
ASM.ERROR
Error enumeration variable for diagnosis purposes.