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

sPCnamePartition's client name
sMACaddr12-byte string representing the client's MAC address. Only the characters a-f, A-F or 0-9 are allowed.
sUserNameName of the partition's owner
sPstatMsgOptional 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.