Important: The information in this document is obsolete and should not be used for new development.
CountSymbols
You can use theCountSymbolsfunction 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
TheCountSymbolsfunction returns, in thesymCountparameter, the number of symbols exported by the fragment whose connection ID isconnID. You can use the value returned insymCountto index through all the exported symbols in a particular fragment (using theGetIndSymbolfunction).RESULT CODES
fragNoErr 0 No error fragConnectionIDNotFound -2801 Connection ID is not valid