User`s guide

Contents xlvii
Post Intercept Status—Function 52
This function notifies WinHLLAPI that a keystroke obtained with Get Key (function 51) has been
accepted or rejected. If rejected, a beep is generated.
Prerequisite Functions
Start Keystroke Intercept (function 50).
WinHLLAPI(POSTINTERCEPTSTATUS,lpbyString,lpwLength,
lpwReturnnCode)
Parameter Description
Data String A 2-byte string in the following format:
Byte 1 Short name session ID of the desired Host
session, or space or null for the current Host
session.
Byte 2 “A” to accept the keystroke; “R” to reject the
keystroke.
Data Length NA (length of 2 is implied).
PS Position NA.
Code Description
WHLLOK The notification is successful.
WHLLNOTCONNECTED The Host session presentation space is invalid.
WHLLPARAMETERERROR One or more of the call parameters are invalid.
WHLLNOTAVAILABLE Intercept (function 50) was not called prior to this function
call.
WHLLSYSERROR The function failed due to a system error.
Function Call
Call Parameters
Return Codes