<< Click to Display Table of Contents >>

 

zetafax_logo

ZfxReleaseMsg

 


 

Request server to resume processing of message.

 

Syntax

 

ZFERR FAR ZfxReleaseMsg( SESSIONHANDLE hSession, ZFMSGDIR MsgDir, char FAR  *lpszBody)

 

Parameters

 

Parameter

Description

hSession

API session handle, as returned by ZfxAPIInit cal

lMsgDir

Message type (ZFDIR_OUT)

lpszBody

Base name of message file

 

Description

 

This routine is called to resume the server processing a message that has been  suspended with ZfxHoldMsg . The routine sends a request to the Zetafax server, which processes it asynchronously.

 

Return value

 

The routine returns 0 if successful, otherwise one of the following:  

 

ZFERR_NOT_INITIALISED

ZFERR_INVALID_PARAMETERS

ZFERR_UNKNOWN_MESSAGE

ZFERR_SERVER_NOT_RUNNING

ZFERR_CANNOT_SUBMIT_REQUEST

 

Example

 

#include  <stdio.h>

#include <zfapi.h>

...

 

if (ZfxReleaseMsg(hSession, ZFDIR_OUT, "~XSND000")  == 0)

{

 printf("Message release request sent\n");

}

 

Related topics

Alphabetical reference

Function error returns and reference