User`s guide
Contents lxi
Reset System—Function 21
This function reinitializes the system to its default (start) state:
u All session options are reset to their defaults.
u Event notification is stopped.
u Any reserved sessions are released.
u Connected sessions are disconnected.
u The current status of Host sessions is updated.
Prerequisite Functions
None.
WinHLLAPI(RESETSYSTEM,lpbyString,lpwLength,lpwReturnnCode)
Parameter Description
Data String NA
Data Length NA
PS Position NA
Code Description
WHLLOK The system has been reset.
WHLLSYSERROR The function failed due to a system error.
This function is normally used at the beginning and end of a Windows HLLAPI application to reset the
system to initial default conditions.
This function resets ALL connected sessions owned by the HLLAPI application. As a result, caution is
advised when using this function.
Function Call
Call Parameters
Return Codes
Remarks