After the Disconnect Presentation Space function
is called, functions that interact with the host-connected presentation
space are no longer valid (for example, the Send
Key (3), Wait (4), Reserve (11)
and Release (12) functions).
Your EHLLAPI application should disconnect from the host presentation
space before exiting.
The Disconnect Presentation Space function
does not reset the session parameters to the defaults. Your EHLLAPI application
must call the Reset System (21) function to
accomplish this.