TELCADispose
Disposes of a handle to a call appearance structure.
pascal TELErr TELCADispose (TELCAHandle hTELCA);
hTELCA- A handle to the call appearance structure to be disposed of.
- function result
- A result code. If you pass an invalid handle, the function returns the
telBadCAErrresult code.DESCRIPTION
You should call theTELCADisposefunction when your application no longer needs any information about the call appearance referenced byhTELCAand always after a call appearance reverts to the idle state. (Your message handler gets atelCAIdleMsgmessage when a call reverts to idle.)Disposing of a call appearance structure does not drop the associated call. It simply deletes all structures and information related to the call. As a result, your application can no longer monitor or control the call in any way, but the parties can continue to talk.
SEE ALSO
Call appearances revert to idle after you call theTELDrop(page 4-33),TELReject(page 4-31), orTELDeflect(page 4-32) function.The functions
TELDisposeandTELDNDisposecan also dispose of call appearance structures.