CountSymbols
You can use the CountSymbols 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
The CountSymbols function returns, in the symCount parameter, the number of symbols exported by the fragment whose connection ID is connID. You can use the value returned in symCount to index through all the exported symbols in a particular fragment (using the GetIndSymbol function).
RESULT CODES
| fragNoErr | 0 | No error |
| fragConnectionIDNotFound | -2801 | Connection ID is not valid |