CmListRemoteUpdate2
Description
CmListRemoteUpdate2 parses an Update File *.WibuCmRaU and determines the serial numbers of all CmContainers listed in this file.
|
Triple Mode Redundancy-related information (TMR)
|
Syntax
int CMAPIENTRY CmListRemoteUpdate2(CMUINT flCtrl, void *pvRauFile, CMSERIAL *pcmSerials, CMUINT cbSerials)
Parameter
flCtrl contains one of the following flags:
CM_RMT_LOCAL_ENCODING uses local encoding for the given filename.
CM_RMT_UTF8_ENCODING uses UTF8 encoding for the given filename.
CM_RMT_WCHAR_ENCODING uses wchar encoding for the given filename.
If no encoding flag is set, the local encoding is used.
pvRauFile contains a pointer to the NULL-terminated filename of the Update File *.WibuCmRaU in the encoding that is defined in flCtrl.
pcmSerials contains a pointer to an allocated array of
CMSERIAL structures which receives the result.
|
CMSERIAL contains the box mask and serial number of a CmContainer. Syntax
Parameter mulSerial contains the serial number of the CmContainer. musMask contains the box mask of the CmContainer. musReserved is reserved for future use.
|
cbSerials contains the length of the array (number of CMSERIAL structures) in pcmSerials.
Return
Returns the number of found serial numbers in the Update File *.WibuCmRaU. If this number is equal or smaller than cbSerials, all found serial numbers are copied to the array at pcmSerials. If the number of found serial numbers is larger than cbSerials, cbSerials elements are copied to the array at pcmSerials.
No method available.
Syntax
import cmapi
cmapi.CodeMeter().CmListRemoteUpdate2(flCtrl: int, pvRauFile: bytes)
-> List[cmapi.CMSERIAL]
Parameter
flCtrl contains one of the following flags:
cmapi.CM_RMT_LOCAL_ENCODING uses local encoding for the given filename.
cmapi.CM_RMT_UTF8_ENCODING uses UTF8 encoding for the given filename.
cmapi.CM_RMT_WCHAR_ENCODING uses wchar encoding for the given filename.
If no encoding flag is set, the local encoding is used.
pvRauFile contains a pointer to the NULL-terminated filename of the Update File *.WibuCmRaU in the encoding that is defined in flCtrl.
Return
Returns the list of found serial numbers in the Update File *.WibuCmRaU. The list is made of
cmapi.CMSERIAL classes.
|
CMSERIAL contains the box mask and serial number of a CmContainer. Syntax
Parameter mulSerial contains the serial number of the CmContainer. musMask contains the box mask of the CmContainer. musReserved is reserved for future use.
|