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
prvReadLatchVarString
STO.ERROR
A return value indicating, whether the processing was successful or not.
Input
liRowID
LINT
The row id used to read the string from the table TblLatchVarStrings.
itfDatabaseAccess
IDatabaseAccess
The instance of IDatabaseAccess, that is used to access the database
byLatchVarType
BYTE
The type of the latch variable
Output
cbpString
CharBufferPtr
Returns the pointer to the [W]STRING, that read from the database and stored in the global StringContainer instance.