Post Intercept Status (52)
|
Top
Previous
Next
|
The Post Intercept Status function informs the Personal Communications emulator that a keystroke obtained through the Get Key (51) function was accepted or rejected. When the application rejects a keystroke, the Post Intercept Status function issues a beep.
Prerequisite Calls
Start Keystroke Intercept (50)
Call Parameters
|
Standard Interface
|
Enhanced Interface
|
Function Number
|
Must be 52
|
|
Data String
|
See the following table
|
|
Length
|
Must be 2
|
Must be 8
|
PS Position
|
NA
|
|
The calling data string can contain:
Byte
|
|
Definition
|
Standard
|
Enhanced
|
|
1
|
1
|
One of the following values:
• | The 1-letter short name of the presentation space. |
• | A blank or null indicating a function call for the host-connected presentation space. |
|
|
2-4
|
Reserved
|
2
|
5
|
One of the following characters:
• | A for accepted keystroke. |
• | R for rejected keystroke. |
|
|
6-8
|
Reserved.
|
Remarks
Return Code
|
Explanation
|
0
|
The Post Intercept Status function was successful.
|
1
|
An incorrect presentation space was specified.
|
2
|
An incorrect session option was specified.
|
8
|
No prior Start Keystroke Intercept (50) function was called for this presentation space ID.
|
9
|
A system error was encountered.
|
|