Return Parameters

Return Code Explanation
0 The Lock Window Services API function was successful.
1 An incorrect host presentation space short session ID was specified or was not connected.
2 An error was made in specifying parameters.
9 A system error was encountered.
38 Requested function was not complete.
43 The API was already locked by another EHLLAPI application (on LOCK) or API not locked (on UNLOCK).