AlarmStorageReader.prvReadLatchVarString (METH)ΒΆ
METHOD prvReadLatchVarString : STO.ERROR
This method reads for a string latch variable the stored variable value from the table TblLatchVarStrings.
- InOut:
Scope
Name
Type
Comment
Return
prvReadLatchVarStringSTO.ERRORA return value indicating, whether the processing was successful or not.
Input
liRowIDLINTThe row id used to read the string from the table TblLatchVarStrings.
itfDatabaseAccessIDatabaseAccessThe instance of IDatabaseAccess, that is used to access the database
byLatchVarTypeBYTEThe type of the latch variable
Output
cbpStringCharBufferPtrReturns the pointer to the [W]STRING, that read from the database and stored in the global StringContainer instance.