Aten RCMDVI40BT [69/297] For a complete list of the rcm api functions please contact your local dealer

Aten RCMDVI40BT [69/297] For a complete list of the rcm api functions please contact your local dealer
Chapter 3. API Functions
53
Get Remote Session Info
Kill Sessions by User Account
Kill Remote Port Sessions
Sets Denied Access Prompt Message
Error Description Search
For a complete list of the RCM API functions, please contact your local dealer.
Function Description Example
GetSessionByPort(<S
ID>,1,lpBuf,<lpBuf
size>)
Gets the session list information
currently accessing the RCM
device.
GetSessionByPort(4,
1,lpBuf,1024*64)
Function Description Example
KillSessionByName(<
SID>,<username>,<u
sername size>)
Terminates sessions currently
accessed by the specified user.
KillSessionByName(4
,nicholas,8*2)
Function Description Example
KillSessionByPort(<SI
D>,1,<port list>,<port
list length>)
Terminates all sessions currently
accessing the remote port.
KillSessionByPort(4,1
,”\x01”,1)
Function Description Example
SetMessageByPort(<
SID>,1,<prompt
message, max. 30
characters>,<messag
e length>)
Sets a prompt message for
notifying users without access
rights to the remote port.
SetMessageByPort(4,
1,access denied,13*2)
Function Description Example
GetErrorDescription(<
error code>)
Searches for error description by
a specified returned error value.
GetErrorDescription(-
9)

Содержание

Скачать