Return Parameters

Return Code Explanation
0 The Connect Window Services function was successful.
1 An incorrect host presentation space short session ID was specified, or the Sessions Window Services manager was not connected. This return code could also mean that the API Setting for EHLLAPI is not set on.
9 A system error occurred.
10 The function is not supported by the emulation program.
11 This resource is unavailable. The host presentation space is already being used by another system function.