(Page 15 of 15 in this chapter) Version
nfxStopSession
Description
- Stops a current send or receive operation.
Prototype
- DWORD nfxStopSession ( CTAHD ctahd)
- ctahd Context handle returned by ctaCreateContext.
Return Values
Events
Details
- After the application invokes nfxStopSession, NaturalFax immediately terminates the current send or receive operation. Cancellation is complete when the NFXEVN_SESSION_DONE event arrives.
- Use this function when the application encounters an unexpected error. The fax session terminates abruptly, and is not completed with a T.30 DCN message. Use this function also when the telephone call is terminated by the remote end and the application is not using ADI or ISDN Natural Call Control Interface (Layer 4) functions for call control. For example, when low layer ISDN protocols are used by the application, NaturalFax is not notified when the call is released. Therefore, the application must use nfxStopSession to terminate an active fax session.
See Also
- nfxAnswerFaxPoll
, nfxReceiveFax, nfxSendFax
(Page 15 of 15 in this chapter) Version
Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, NMS Communications Corporation. All rights
reserved.