AlarmStorageReader.prvReadLatchVarString2 (METH)ΒΆ

METHOD prvReadLatchVarString2 : STO.ERROR

This method reads for a string latch variable the stored variable value from the table TblLatchVarStrings.

InOut:

Scope

Name

Type

Comment

Return

prvReadLatchVarString2

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

pbVarValue

POINTER TO BYTE

Where to write value in case of STRING/WSTRING

iSzVarValue

INT