KCML_Lic_CreateSession
Purpose
Creates a pseudo-session that consumes a KCML licence
Definition
DEFSUB 'KCML_Lic_CreateSession(sPCname$, sMACaddr$, sUserName$, sPstatMsg$) AS Integer
Parameters
| sPCname | Partition's client name |
| sMACaddr | 12-byte string representing the client's MAC address. Only the characters a-f, A-F or 0-9 are allowed. |
| sUserName | Name of the partition's owner |
| sPstatMsg | Optional user-defined message |
Return
Returns the partition number of the pseudo-session.
Description
Creates a partition of terminal type P that consumes licences in the same manner as a foreground session. The partition executes no application code.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.