(Page 10 of 19 in this chapter)
typedef struct
{
DWORD size; /* size of this structure */
DWORD newdocument; /* New doc or continuation of prev*/
DWORD docnum; /* Entry number in queue */
DWORD processedstatus; /* Has this document been sent? */
DWORD lasterror; /* Last error code (if any)for doc*/
DWORD pagecount; /* Number of pages (for receive) */
DWORD startpage; /* Page to start (for retransmit)*/
DWORD lastpagesent; /* Last page # successfully sent */
DWORD retranscount; /* Number of retries */
DWORD localNSFlength; /* Length of local NSF field */
/* (if specified in doc parms) */
DWORD remoteNSFlength; /* Length of remote NSF field */
/* (or 0)*/
DWORD docencoding; /* NFX_ENCODE_1D or NFX_ENCODE_2D */
DWORD docresolution; /* NFX_RESOLUTION_HIGH */
/* NFX_RESOLUTION_LOW */
/* NFX_RESOLUTION_SUPER_HIGH */
DWORD docwidth; /* NFX_PAGE_WIDTH_A4 */
/* NFX_PAGE_WIDTH_B4 */
/* NFX_PAGE_WIDTH_A3 */
DWORD negotiatedencoding; /* Encoding used for transfer */
/* NFX_ENCODE_1D or NFX_ENCODE_2D */
DWORD negotiatedrate; /* Baud rate used for transfer */
/* NFX_BIT_RATE_14400, */
/* NFX_BIT_RATE_12000, */
/* NFX_BIT_RATE_9600, */
/* NFX_BIT_RATE_7200, */
/* NFX_BIT_RATE_4800, */
/* NFX_BIT_RATE_2400 */
DWORD negotiatedresolution;
/* Resolution used for transfer*/
/* NFX_RESOLUTION_HIGH */
/* NFX_RESOLUTION_LOW */
/* NFX_RESOLUTION_SUPER_HIGH */
DWORD negotiatedwidth; /* Page width used for transfer */
/* NFX_PAGE_WIDTH_A4 */
/* NFX_PAGE_WIDTH_B4 */
/* NFX_PAGE_WIDTH_A3 */
DWORD badlinecount; /* Number of bad lines in */
/* this doc */
DWORD doctime; /* time document processing */
/* started */
DWORD duration; /* seconds elapsed processing doc */
char filename[NFX_FILENAME_MAX];
/* filename arg from nfxEnqueueDoc*/
char localSID[NFX_MAX_SID];
/* Station ID: CSI (RX), TSI (TX) */
/* (if specified in doc parms)*/
BYTE localNSF[NFX_MAX_FULL_NSF];
/* Local NSF (DSI) / NSC */(DTC)/
/* NSS (if specified in doc parms)*/
BYTE localDIS[NFX_MAX_DIS];
/* Local DIS/DCS frame */
char remoteSID[NFX_MAX_SID];
/* remote SID: TSI (RX),CSI (TX) */
BYTE remoteNSF[NFX_MAX_FULL_NSF];
/* NSF/NSC/NSS rec'd from remote */
BYTE remoteDIS[NFS_MAX_DIS];
/* remote DIS/DCS frame */
} NFX_DOC_STATUS;
(Page 10 of 19 in this chapter)