Return Parameters Return Code Explanation 0 The Window Status function was successful. 1 The presentation space was not valid or not connected. 2 An incorrect option was specified. 9 A system error occurred. 12 The session stopped.