User`s guide
xlviii Contents
Query Close Intercept—Function 42
This function allows the application to determine if the user selected to close the emulator program.
Prerequisite Functions
Start Close Intercept (function 41).
WinHLLAPI(QUERYCLOSEINTERCEPT,lpbyString,lpwLength,
lpwReturnnCode)
Parameter Description
Data String One-character short name session ID of the presentation
space.
Data Length Must be specified.
PS Position NA
Code Description
WHLLOK A close intercept event did not occur.
WHLLNOTCONNECTED An invalid presentation space was specified.
WHLLPARAMETERERROR An invalid option was specified.
WHLLNOTAVAILABLE Start Close Intercept has not been called prior to this
function for the specified presentation space.
WHLLSYSERROR The function failed due to a system error.
WHLLPSENDED The session stopped.
WHLLPSCHANGED A close intercept event occurred.
This function is not supported for 5250 emulation.
Function Call
Call Parameters
Return Codes
Remarks