User`s guide

Contents lxxiii
Set Session Parameters—Function 9
This function sets the options of the Host session. Session options that are not set with this function
use their default values. Session options set with this function remain in effect until one of the
following occurs:
u Another Set Session Parameters call sets a new value.
u Reset System (function 21) is called.
Prerequisite Functions
None.
WinHLLAPI(SETSESSIONPARAMETERS,lpbyString,lpwLength,
lpwReturnnCode)
Parameter Description
Data String String containing the desired session options to set. If
more than one session option is set, use a comma or
space to separate the session options. See “Remarks”
section for an explanation of the session options.
Data Length Explicit length of Data String (EOT cannot be used).
PS Position NA
Parameter Description
Data Length Remains the same as the call value if all session
options in Data String are valid. If Data String
contains any invalid session options, Data Length is
set to the number of valid session options contained in
Data String.
Code Description
WHLLOK All of the requested session options set as specified.
WHLLPARAMETERERROR Data String contains one or more invalid session
options.
WHLLSYSERROR The function failed due to a system error.
Function Call
Call Parameters
Return Parameters
Return Codes