User`s guide

Contents xvii
Change Presentation Space Window Name—
Function 105
This function allows the application to specify a new name for the presentation space window or reset
the presentation space window to the default name.
Prerequisite Functions
Connect Window Services (function 101).
WinHLLAPI(CHANGEPSNAME,lpbyString,lpwLength,lpwReturnnCode)
Parameter Description
Data String Window name - a 17-byte string with the following
format:
Byte 1
Short name session ID, or space or null for
the current session.
Byte 2 A change request option value, select one
of the following:
WHLL_CHANGEPSNAME_SET.
Change the window name.
WHLL_CHANGEPSNAME_RESET.
Reset the window name.
Bytes 3-63
An ASCII string of 1 to 61 bytes including
a terminator byte. The ASCII string must
end with a NULL character. This string
must contain a least one non-NULL
character followed by a NULL character.
Data Length 3-63.
PS Position NA
Code Description
WHLLOK The function was successful.
WHLLNOTCONNECTED An invalid presentation space was specified, or was not
connected for window services.
WHLLPARAMETERERROR An invalid option was specified.
WHLLSYSERROR The function failed due to a system error.
WHLLPSENDED The session stopped.
Function Call
Call Parameters
Return Codes