Stop Keystroke Intercept – Function 53
This function disables the ability of your Windows HLLAPI application to intercept keystrokes.
Prerequisite functions
Start Keystroke Intercept (function 50)
Function call
WinHLLAPI(STOPKSINTERCEPT,lpbyString,lpwLength,lpwReturnnCode)
Call parameters
Parameter Description
Data String One byte: short name session ID of the desired Host session, or space or null for the current Host session.
Data Length NA (length of 1 is implied).
PS Position NA
Return code
Code Description
WHLLOK Keystroke intercept has been enabled.
WHLLNOTCONNECTED The Host session presentation space is invalid.
WHLLNOTAVAILABLE Intercept (function 50) was not called prior to this function call.
WHLLSYSERROR The function failed due to a system error.