(Page 1 of 15 in this chapter)
Version
Chapter 6
NaturalFax Function Reference
6.1 Introduction
nfxAnswerFaxPoll 67
nfxCheckTIFF 72
nfxConvertFileDirect 75
nfxCreateQueue 78
nfxDestroyQueue 80
nfxEnqueueDoc 81
nfxGetDocStatus 84
nfxGetSessionStatus 86
nfxMergeFile 88
nfxReceiveFax 90
nfxResetQueue 94
nfxSendFax 95
nfxSplitFile 102
nfxStopSession 104
6.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
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.