ASM.JobGetParams (FUN)

This function of the CAA_AsyncMan.library will return a pointer to the memory area having been allocated for the parameters of the job to be executed. The job management has to manage this memory area as well.

The return is a pointer on the memory area; in case of error the value CAA.gc_NULL will be returned. The pointer returned must not be registered throughout multiple cycles.

Input:

hJob

UDINT

Handle of job

peError

POINTER TO ASM.ERROR

Pointer to error enumeration variable for diagnosis purposes.

Output:

pParam

CAA.PVOID

Pointer to memory area