Return Code

The return code value should be processed bit-significantly, that is, by either one of the following values or an ORed value out of the following values:

Return Code Value Meaning
PCS_SESSION_STARTED 0x00000001 Specified session has started. When this bit is off, the specified session has not started or an incorrect session ID was specified.
PCS_SESSION_ONLINE 0x00000002 Specified session is online (connected). When this bit is off, the specified session is offline (disconnected).
PCS_SESSION_API_ENABLED 0x00000004 API (EHLLAPI) is enabled on the specified session. If this bit is off, API is disabled on this session.