lic.LicLockResource

This job locks a named resource for the current working session. It complements the publicly documented counterpart lic.LicFreeResource, which releases locks, and lic.LicGetLockCount, which determines active locks.

This job is not listed in the official enaio® licensing engine overview (lic). This description was reconstructed from the call code of the enaio® gateway (dms-enaio library).

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Reserved; always pass 0.

ResourceName

STRING

Yes

Name of the resource to be locked.

SessionGUID

STRING

Yes

GUID of the active working session to which the lock is assigned.

LockTime

INT

Yes

Timestamp of the lock start as Unix seconds since epoch.

2. Return Value

(INT): 0 = job successful, otherwise error code.

3. See Also