38.9.4.13 Finds the symbol/group byte size

Find the total buffer byte size required to access the device and group symbols.

Function Name

INT WINAPI SizeOfSymbol(LPCSTR sNodeName,LPCSTR sSymbolName,INT* oiByteSize);

Argument

sNodeName: The station name is fixed as #WinGP.

sSymbolName: (In) Device symbol name or group symbol name to search for

oiByteSize: (Out) Byte size to search for

Return value (NULL)

Normal End: 0

Problem: Error code

Special Item

In sSymbolName, you can define one element as a device symbol, non-array group, array group, or all array groups.