# ESB_PROCSTATE_T

When you perform asynchronous operations (for example, a calculation), this structure is returned from calls to EsbGetProcessState(). This lets the caller determine the status of the asynchronous operation.

Note: In this release of the VB API, the State field is the only field implemented; all other fields are reserved for future use.

    Type ESB_PROCSTATE_T

       Action       As Integer
       State        As Integer
       Reserved1    As Integer
       Reserved2    As Long
       Reserved3    As Long
    End Type

VB Data Type | Field | Description
As Integer | Action | Current process action (not used)
As Integer | State | Current process state (either done or in progress). Values: ESB_STATE_DONE (0) ESB_STATE_INPROGRESS (1) ESB_STATE_FINALSTAGE (5)
As Integer | Reserved1 | Reserved for future use
As Long | Reserved2 | Reserved for future use
As Long | Reserved3 | Reserved for future use