krn.JobThreadGetFlowStack

This job returns the flow stack (processing stack) of the job currently executed on the specified thread. The flow stack reflects the chain of nested job calls. If the thread currently has no active flow, the job completes successfully without output parameters. The maximum and minimum flow stack size is returned by krn.GetFlowStackSizes.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

ThreadID

INT

Yes

Identifier of the thread

2. Return Value

(INT): 0 = Job successful, otherwise error code.