Important: The information in this document is obsolete and should not be used for new development.
CountSymbols
You can use theCountSymbols
function to determine how many symbols are exported from a specified fragment.
OSErr CountSymbols (ConnectionID connID, long *symCount);
connID
- A connection ID.
symCount
- On exit, the number of exported symbols in the fragment whose connection ID is
connID
.DESCRIPTION
TheCountSymbols
function returns, in thesymCount
parameter, the number of symbols exported by the fragment whose connection ID isconnID
. You can use the value returned insymCount
to index through all the exported symbols in a particular fragment (using theGetIndSymbol
function).RESULT CODES
fragNoErr 0 No error fragConnectionIDNotFound -2801 Connection ID is not valid