| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| refs | OUT | number of references to this library |
SysLibRemove.
TlpClose returns a PalmOS error code if it fails
to disconnect or free the global data. This is not expected
to ever happen; if it does the library is left in a unknown
state.
UInt16 refs; ... err = TlpClose (tlpRef, &refs); if (err) ... handle error ... if (refs == 0) SysLibRemove (tlpRef); |