(Page 1 of 15 in this chapter)
Version
Chapter 7
NaturalFax Function Reference
7.1 Introduction
nfxAnswerFaxPoll 91
nfxCheckTIFF 96
nfxConvertFileDirect 99
nfxCreateQueue 102
nfxDestroyQueue 104
nfxEnqueueDoc 105
nfxGetDocStatus 108
nfxGetSessionStatus 110
nfxMergeFile 112
nfxReceiveFax 114
nfxResetQueue 118
nfxSendFax 119
nfxSplitFile 126
nfxStopSession 128
7.1 Introduction
This chapter provides a comprehensive, alphabetically-ordered reference to the NaturalFax functions. A prototype of each function is shown with the function description and details of all arguments and return values. A typical function description includes:
nfxDoSomething
Prototype
The prototype is shown followed by a listing of the function's arguments. Natural MicroSystems data types include:
·
WORD
·
DWORD
·
INT16
·
INT32
·
BYTE
16-bit unsigned
32-bit unsigned
16-bit signed
32-bit signed
8-bit unsigned
If a function argument is a data structure, the complete data structure is defined. Refer to Appendix D for a description of all data structures and Appendix E for descriptions of parameters.
Return Values
The return value for a function is either
SUCCESS
or an error code. For asynchronous functions, a return value of
SUCCESS
indicates the function was initiated; subsequent events indicate the status of the operation.
Refer to Appendix B for a listing of all errors returned by NaturalFax functions.
Events
If events are listed, the function is asynchronous and is complete when the
DONE
event is returned. If there are no events listed, the function is synchronous.
Additional information such as reason codes and return values may be provided in the
value
field of the event.
Refer to Appendix C for details about all NaturalFax events and reason codes.
(Page 1 of 15 in this chapter)
Version
Want to send us feedback on our documentation? Email:
Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.