# ESS_PROCSTATE_T

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

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

    typedef struct ESS_PROCSTATE_T
    {
       ESS_USHORT_T Action;
       ESS_USHORT_T State;
       ESS_USHORT_T Reserved1;
       ESS_ULONG_T  Reserved2;
       ESS_ULONG_T  Reserved3;
    } ESS_PROCSTATE_T, *ESS_PPROCSTATE_T;

Data Type | Field | Description
ESS_USHORT_T | Action | Current process action (not used)
ESS_USHORT_T | State | Current process state (either done or in progress). Values: ESS_STATE_DONE (0) ESS_STATE_INPROGRESS (1) ESS_STATE_FINALSTAGE (5)
ESS_USHORT_T | Reserved1 | Reserved for future use
ESS_ULONG_T | Reserved2 | Reserved for future use
ESS_ULONG_T | Reserved3 | Reserved for future use