EsbGetProcessState

Gets the current state of an asynchronous process, such as a calculate or a data import.

Syntax

EsbGetProcessState (hCtx, ProcState)
ByVal hCtx      As Long
      ProcState As ESB_PROCSTATE_T
ParameterDescription

hCtx

VB API context handle.

ProcState

Pointer to process state structure

Notes

Return Value

If successful, returns the current process state in the state structure pProcState. Values for pProcState:

Access

This function requires no special privilege.

Example

Declare Function EsbGetProcessState Lib "ESBAPIN" (ByVal hCtx As Long, ProcState As ESB_PROCSTATE_T) As Long

See the examples for EsbBeginCalc, EsbCalc, and EsbImport.

See Also