CmListRemoteUpdateBuffer
Description
This function operates like CmListRemoteUpdate() but uses a pre-allocated memory buffer instead of a file pointer.
|
Triple Mode Redundancy-related information (TMR)
|
Syntax
int CMAPIENTRY CmListRemoteUpdateBuffer(CMUINT flCtrl, void* pvMemBuffer, CMUINT cbMemBuffer, CMSERIAL *pcmSerials, CMUINT cbSerials);
Parameter
flCtrl reserved for future purposes.
pvMemBuffer pointer to memory to hold the data.
cbMemBuffer holds the size of pvMemBuffer.
pcmSerials points to a serial structure.
cbSerials holds the size of 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.
Syntax
public bool CmListRemoteUpdateBuffer(string Buffer, out CmSerial[] Serials) |
Syntax
Buffer pointer to memory to hold the data.
Serials points to a serial
CmSerial class
|
CmSerial contains the box mask and serial number of a CmContainer. Syntax
Parameter Serial contains the serial number of the CmContainer. Mask contains the box mask of the CmContainer.
|
Return
Returns true, if the update was successful, false if otherwise.
Syntax
import cmapi
cmapi.CodeMeter().CmListRemoteUpdateBuffer(pvMemBuffer: bytes)
-> List[cmapi.CMSERIAL]
Parameter
pvMemBuffer pointer to memory to hold the data.
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.
|