CodeMGetName (FUN)

FUNCTION CodeMGetName : RTS_IEC_RESULT

Get name of the opened CodeMeter container

InOut:

Scope

Name

Type

Comment

Return

CodeMGetName

RTS_IEC_RESULT

Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded

Input

hCodeMeter

RTS_IEC_HANDLE

Handle to the CodeMeter license container retrieved by CodeMOpen() or CodeMGetFirst / CodeMGetNext.

Inout

wstName

WSTRING(255)

Returns the name of the specified CodeMeter license container

Input

nLenBytes

UDINT

Maximum length of wstName: SIZEOF(wstName)