User`s guide
lx Contents
Reserve—Function 11
This function reserves the currently Connected Host session presentation space, locking out the user
and preventing keyboard input.
Prerequisite Functions
Connect Presentation Space (function 1).
WinHLLAPI(RESERVE,lpbyString,lpwLength,lpwReturnnCode)
Parameter Description
Data String NA
Data Length NA
PS Position NA
Code Description
WHLLOK The Host session presentation space has been reserved
(locked).
WHLLNOTCONNECTED Your Windows HLLAPI application is not currently
connected to a Host session.
WHLLINHIBITED The Host session is inhibited.
WHLLSYSERROR The function failed due to a system error.
Reserve locks out keyboard input. You can prevent the user from gaining access to the Host session
with this function. Once the Host session presentation space is reserved, it remains locked until one of
the following occurs:
u Your Windows HLLAPI application calls Release (function 12).
u Your Windows HLLAPI application calls Disconnect Presentation Space
(function 2).
u Your Windows HLLAPI application calls Reset System (function 21).
Function Call
Call Parameters
Return Codes
Remarks