Query Close Intercept (42)
|
Top
Previous
Next
|
The Query Close Intercept function allows the application to determine if the close option was selected.
Prerequisite Calls
Start Close Intercept (41)
Call Parameters
|
Standard Interface
|
Enhanced Interface
|
Function Number
|
Must be 42
|
|
Data String
|
See the following table.
|
|
Length
|
Must be 1
|
Must be 4
|
PS Position
|
NA
|
|
The calling data string can contain:
Byte
|
|
Definition
|
Standard
|
Enhanced
|
|
1
|
1
|
1-character short session ID of the host presentation space, or a blank or null indicating request for querying the host-connected session
|
|
2-4
|
Reserved
|
Return Parameters
Return Code
|
Explanation
|
0
|
A close intercept event did not occur.
|
1
|
The presentation source was not valid.
|
2
|
An error was made in specifying parameters.
|
8
|
No prior Start Close Intercept (41) function was called for this host presentation space.
|
9
|
A system error occurred.
|
12
|
The session stopped.
|
26
|
A close intercept occurred since the last query close intercept call.
|
|