(Page 1 of 18 in this chapter)


Chapter 6

NaturalFax Function Reference


6.1 Introduction
nfxAnswerFaxPoll 65
nfxCheckTIFF 69
nfxConvertFileDirect 72
nfxCreateQueue 75
nfxDestroyQueue 77
nfxEnqueueDoc 78
nfxGetDocStatus 81
nfxGetLicense 83
nfxGetLicenseStatus 84
nfxGetSessionStatus 85
nfxMergeFile 87
nfxReceiveFax 89
nfxReleaseLicense 93
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 18 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.