CodeMGetContentByFirmcode2 (FUN)

FUNCTION CodeMGetContentByFirmcode2 : RTS_IEC_RESULT

Get the license entry stored on a CodeMeter container with the specified identifiers with the possibility to occupy a license.

InOut:

Scope

Name

Type

Comment

Return

CodeMGetContentByFirmcode2

RTS_IEC_RESULT

Returns error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded

Input

duiFirmcode

UDINT

FirmCode of the license

duiProductcode

UDINT

ProductCode of the license

bReleaseLicense

BOOL

  • TRUE: Release license so it can be used several from several instances

  • FALSE: Don’t release license so it remains occupied and cannot be used by another instance

Inout

licenseEntry

RTS_CMBOXENTRY

Returns the content of the license entry