AppGetSegmentSize (FUN)

FUNCTION AppGetSegmentSize : __UXINT

<description>

This function retuns the start size of an IEC segment. All segments resides within an area. This is used to get access for example to the size of the output processimage segment (%Q = AreaType.DA_OUTPUT).

</description> <param name=”pApp” type=”IN”>Pointer to Application</param> <param name=”wType” type=”IN”>Area type</param> <param name=”pResult” type=”IN”>Pointer to Result</param> <result>Segment size</result>

InOut:

Scope

Name

Type

Return

AppGetSegmentSize

__UXINT

Input

pApp

POINTER TO APPLICATION

wType

WORD

pResult

POINTER TO RTS_IEC_RESULT