User`s guide
xxxii Contents
Copy Presentation Space—Function 5
This function copies the contents of the current Host session’s presentation space into a string buffer.
Prerequisite Functions
Connect Presentation Space (function 1).
WinHLLAPI(COPYPS,lpbyString,lpwLength,lpwReturnnCode)
Parameter Description
Data String String that will contain the Host session presentation space.
The string length must be defined as the maximum size of
the presentation space. If the session option EAB has been
set with Set Session Parameters (function 9), the string
length must be defined to be at least twice the size of the
presentation space.
Data Length NA (the length of the presentation space is assumed).
PS Position NA
Parameter Description
Data String String containing the Host session presentation space.
Code Description
WHLLOK Host session presentation space successfully copied to Data
String; the session is active and the keyboard is unlocked.
WHLLNOTCONNECTED Your Windows HLLAPI application is not currently
connected to a session.
WHLLPSBUSY Host session presentation space successfully copied to Data
String; the session is waiting for a Host response.
WHLLINHIBITED Host session presentation space successfully copied to Data
String; the keyboard is locked.
WHLLSYSERROR The function failed due to a system error.
This function copies the entire Host session presentation space to the supplied string. To copy only a
portion of the presentation space, use Copy Presentation Space to String (function 8).
Function Call
Call Parameters
Return Parameters
Return Codes
Remarks