home *** CD-ROM | disk | FTP | other *** search
-
- ΓòÉΓòÉΓòÉ 1. Read this first ΓòÉΓòÉΓòÉ
-
- The Fax/PM APIs are included in the Fax/PM 2.0 full product.
-
- The Fax/PM API OnLine Reference is provided for information purposes.
-
- Microformatic hope this will be useful for easier Fax integration.
-
- Fax/PM APIs are written in SOM and can be directly accessed from any language
- for which SOM bindings are available, and from REXX applications.
-
- For any technical information, please contact Microformatic :
-
- Phone 33 (1) 48.70.19.00
- Fax 33 (1) 48.70.27.29
- CompuServe ID 100024,1777
-
-
- ΓòÉΓòÉΓòÉ 2. Related information ΓòÉΓòÉΓòÉ
-
- This section contains further information about how to use the Fax/PM API.
-
-
- ΓòÉΓòÉΓòÉ 2.1. Copyright ΓòÉΓòÉΓòÉ
-
- EVALUATION AND VERIFICATION OF OPERATION IN CONJUNCTION WITH OTHER PRODUCTS,
- PROGRAMS, OR SERVICES, EXCEPT THOSE EXPRESSLY DESIGNATED BY MICROFORMATIC, ARE
- USER'S RESPONSABILITY.
-
- MICROFORMATIC MAY HAVE PATENTS OR PENDING PATENT APPLICATIONS COVERING SUBJECT
- MATTER IN THIS DOCUMENT.
-
- MICROFORMATIC PROVIDES THIS DOCUMENTATION "AS IS" WITHOUT WARRANTY OF ANY KIND.
-
- (c) Microformatic 1990, 1993. All rigths reserved
-
-
- ΓòÉΓòÉΓòÉ 2.2. Include files ΓòÉΓòÉΓòÉ
-
- The include files that are necessary for the Fax/PM API are the following :
-
- group.h
- recip.h
- faxapi.h
- *.SC files
-
- This files are located in the subdirectory API, created in the directory where
- Fax/PM is installed.
-
-
- ΓòÉΓòÉΓòÉ <hidden> group.h ΓòÉΓòÉΓòÉ
-
- This include contains the definitions for the FaxGroup class.
-
- (c) Microformatic S.A - 1993
-
-
- ΓòÉΓòÉΓòÉ <hidden> recip.h ΓòÉΓòÉΓòÉ
-
- This include contains the definitions for the FaxRecipient class.
-
- (c) Microformatic S.A - 1993
-
-
- ΓòÉΓòÉΓòÉ <hidden> FAXAPI.h ΓòÉΓòÉΓòÉ
-
- This include contains the definitions to use the Printer Driver interface.
-
- (c) Microformatic S.A - 1993
-
-
- ΓòÉΓòÉΓòÉ 2.3. Sample ΓòÉΓòÉΓòÉ
-
- A SAMPLE subdirectory is created at install time. This subdirectory contains
- the following files :
-
- sample.c
- sample.def
- makefile
-
- To compile this sample, you must first define the following environment
- variables :
-
- INCLUDE
- LIB
- PATH
-
-
- ΓòÉΓòÉΓòÉ <hidden> makefile ΓòÉΓòÉΓòÉ
-
- This is the makefile used to build the sample :
-
- #*****************************************************************************
- #*
- #* File MAKEFILE
- #*
- #* Build SAMPLE┬╖EXE
- #*
- #* Last modif February 5, 1993
- #*
- #* Copyright (c) Microformatic S┬╖A┬╖ 1993
- #*
- #*****************************************************************************/
-
-
- #*****************************************************************************
- #* Suffixes
- #*****************************************************************************/
-
- ┬╖SUFFIXES: ┬╖c ┬╖rc ┬╖obj ┬╖res ┬╖bin ┬╖exe
-
-
- #*****************************************************************************
- #* Standard options
- #*****************************************************************************/
-
- COPTS = /Fd /Ss /Q /W1 /Gm /Gd /C
- LOPTS = /BAT /LI /M:FULL /NOI /NOL /NOD /NOE
-
-
- #*****************************************************************************
- #* Tools
- #*****************************************************************************/
-
- COMPILE = ICC
- LINK = LINK386
-
-
- #*****************************************************************************
- #* Debug options
- #*****************************************************************************/
-
- !IFDEF NODEBUG
- CDEBUGOPTS =
- LDEBUGOPTS =
- !ELSE
- CDEBUGOPTS = /Ti
- LDEBUGOPTS = /CO
- !ENDIF
-
-
- #*****************************************************************************
- #* Main target
- #*****************************************************************************/
-
- all: sample┬╖exe
-
-
- #*****************************************************************************
- #* Dependencies
- #*****************************************************************************/
-
- sample┬╖exe: \
- sample┬╖obj \
- sample┬╖def
- @REM @<<sample┬╖@0
- sample┬╖obj
- sample┬╖exe
-
- DDE4MBSO FAXAPP12 OS2386 SOM FAXGRP1 FAXRCP1
- sample┬╖def;
- <<
- $(LINK) $(LDEBUGOPTS) $(LOPTS) @sample┬╖@0
-
-
- #*****************************************************************************
- #* Implicit rules
- #*****************************************************************************/
-
- {┬╖}┬╖c┬╖obj:
- $(COMPILE) $(CDEBUGOPTS) $(CMACROS) $(COPTS) ┬╖\$*┬╖c
-
-
- #*****************************************************************************
- #* Other dependencies
- #*****************************************************************************/
-
- sample┬╖obj: sample┬╖c
-
-
- ΓòÉΓòÉΓòÉ <hidden> sample.c ΓòÉΓòÉΓòÉ
-
- This is the sample code.
-
- /*****************************************************************************
- /*
- /* File SAMPLE.C
- /*
- /* Program Sample for Fax/PM API use.
- /*
- /* Last modif February 5, 1993
- /*
- /* Copyright (c) Microformatic S.A. 1993
- /*
- /*****************************************************************************/
-
- /*****************************************************************************
- /* Includes
- /*****************************************************************************/
-
- #define INCL_DOS
- #define INCL_ERROR
- #define INCL_ERRORS
- #define INCL_PM
- #include <os2.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
- #include <memory.h>
-
- #include <recip.h>
- #include <group.h>
-
- /*****************************************************************************
- /* Includes
- /*****************************************************************************/
-
- #define MAX 10
- #define GROUP_NAME "All names"
- #define NEW_GROUP_NAME "New All names"
-
-
- /*****************************************************************************
- /* Global variables
- /*****************************************************************************/
-
- FaxRecipient *MyPhoneBook;
- FaxGroup * MyGroup;
-
- CHAR szArg[512];
- CHAR szArg1[80];
- CHAR szArg2[80];
-
-
- /*****************************************************************************
- /*
- /* Function LISTALL
- /*
- /* Description Lists the names and groups defined in the Fax/PM phone book.
- /*
- /* Parameters none
- /*
- /* Return code none
- /*
- /****************************************************************************/
-
- VOID APIENTRY LISTALL()
- {
- APIRET rc; /* return code for function calls */
- ULONG ulLen; /* length of required memory */
- PSZ pszGroups; /* pointer to group list */
- PSZ pszNames; /* pointer to name list */
- ULONG i ; /* index in a list */
-
- /***************************************************************************
- /* List all groups : issue a first call to get the length of the required
- /* memory, then issue a second call to actually retrieve the information.
- /**************************************************************************/
- rc = FaxGroup_GetAllNames(MyGroup, (PSZ) 0, &ulLen);
- if (rc != FAX_PHONEBOOK_OK) {
- ulLen=0 ;
- };
- printf("-----------------------> Groups in Fax/PM phone book :\n");
- if (ulLen != 0) {
- pszGroups = (PSZ) malloc(ulLen);
- rc = FaxGroup_GetAllNames(MyGroup, (PSZ) pszGroups, &ulLen);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("LISTALL: GetAllNames rc: %d\n", rc);
- free(pszGroups);
- return;
- };
- for (i=0; pszGroups[i] != 0; ) {
- printf("\t>>> %s\n", &pszGroups[i]);
- i = i + strlen(&pszGroups[i]) + 1;
- } /* endfor */
- free(pszGroups);
- } else {
- printf("No group defined !\n");
- }; /* endif */
-
-
- /***************************************************************************
- /* List all names : issue a first call to get the length of the required
- /* memory, then issue a second call to actually retrieve the information.
- /**************************************************************************/
- rc = FaxRecipient_GetAllNames(MyPhoneBook, (PSZ) 0, &ulLen);
- if (rc != FAX_PHONEBOOK_OK) {
- ulLen=0 ;
- };
- printf("-----------------------> Names in Fax/PM phone book :\n");
- if (ulLen != 0) {
- pszNames = (PSZ) malloc(ulLen);
- rc = FaxRecipient_GetAllNames(MyPhoneBook, (PSZ) pszNames, &ulLen);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("LISTALL: GetAllRecipientNames rc: %d\n", rc);
- free(pszNames);
- return;
- };
- for (i=0; pszNames[i] != 0; ) {
- printf("\t>>> %s\n", &pszNames[i]);
- i = i + strlen(&pszNames[i]) + 1;
- } /* endfor */
- } else {
- printf("No name defined !\n");
- return;
- }; /* endif */
- printf("-----------------------> End of list\n");
- free(pszNames);
- return;
- }
-
-
- /*****************************************************************************
- /*
- /* Function GO1
- /*
- /* Description Process 1 parameter command line
- /*
- /* Parameters none
- /*
- /* Return code none
- /*
- /****************************************************************************/
-
- VOID APIENTRY GO1()
- {
- APIRET rc; /* return code for function calls */
- ULONG ulLen; /* length of required memory */
- ULONG i ; /* index in a list */
- PSZ p1; /* parameter 1 */
- PSZ p2; /* parameter 2 */
-
- p1 = (PSZ) 0;
- p2 = (PSZ) 0;
-
- /***************************************************************************
- /* Delete a group
- /**************************************************************************/
- p1 = strstr(szArg1, "-DN:");
- if (p1 != (PSZ) 0) {
- printf("Delete group name: %s\n", &p1[4]);
- rc = FaxGroup_Delete(MyGroup, &p1[4]);
- printf("Delete group name: %s rc:%ld\n", &p1[4], rc);
- return;
- };
-
- /***************************************************************************
- /* Get a recipient from the phonebook
- /**************************************************************************/
- p1 = strstr(szArg1, "-LN:");
- if (p1 != (PSZ) 0) {
- rc = FaxRecipient_Get(MyPhoneBook, &p1[4]);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Get recipient: %s rc:%ld\n", &p1[4], rc);
- return;
- };
- rc = FaxRecipient_GetTel(MyPhoneBook, (PSZ) 0, &ulLen);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Get fax phone number for: %s rc:%ld\n", &p1[4], rc);
- };
- p2 = (PSZ) malloc(ulLen);
- rc = FaxRecipient_GetTel(MyPhoneBook, (PSZ) p2, &ulLen);
- printf("Name: %s\nFax phone number: %s\n", &p1[4], p2);
- free(p2);
- return;
- };
-
- /***************************************************************************
- /* Get the list of recipients is a group
- /**************************************************************************/
- p1 = strstr(szArg1, "-LG:");
- if (p1 != (PSZ) 0) {
- rc = FaxGroup_GetGroupContents(MyGroup,
- (PSZ) 0,
- &ulLen,
- &p1[4]);
- if (rc == FAX_PHONEBOOK_GROUP_NOTFOUND) {
- printf("Group: %s not found rc: %ld\n", &p1[4], rc);
- return;
- };
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Group: %s not found error rc: %ld\n", &p1[4], rc);
- return;
- };
- p2 = (PSZ) malloc(ulLen);
- rc = FaxGroup_GetGroupContents(MyGroup,
- (PSZ) p2,
- &ulLen,
- &p1[4]);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Group: %s not found error rc: %ld\n", &p1[4], rc);
- return;
- };
- printf("Group: %s contents:\n", &p1[4]);
- for (i=0; p2[i] != 0; ) {
- printf("\t>>> %s\n", &p2[i]);
- i = i + strlen(&p2[i]) + 1;
- } /* endfor */
- printf("end Group: %s contents:\n", &p1[4]);
- free(p2);
- return;
- };
-
- /***************************************************************************
- /* Delete a group
- /**************************************************************************/
- p1 = strstr(szArg1, "-DG:");
- if (p1 != (PSZ) 0) {
- rc = FaxGroup_Delete(MyGroup, &p1[4]);
- if (rc == FAX_PHONEBOOK_GROUP_NOTFOUND) {
- printf("Delete group: %s rc:%ld (Group unknown !)\n", &p1[4], rc);
- return;
- };
- if (rc == FAX_PHONEBOOK_OK) {
- printf("Delete group: %s error rc:%ld\n", &p1[4], rc);
- return;
- };
- printf("Delete group: %s rc:%ld\n", &p1[4], rc);
- return;
- };
-
- return;
- }
-
-
- /*****************************************************************************
- /*
- /* Function GO2
- /*
- /* Description Process 2 parameters command line
- /*
- /* Parameters none
- /*
- /* Return code none
- /*
- /****************************************************************************/
-
- VOID APIENTRY GO2()
- {
- APIRET rc; /* return code for function calls */
- ULONG ulLen; /* length of required memory */
- PSZ p1; /* parameter 1 */
- PSZ p2; /* parameter 2 */
-
- /***************************************************************************
- /* Add recipient in the phonebook
- /**************************************************************************/
- p1 = strstr(szArg1, "-AN:");
- if (p1 != (PSZ) 0) {
- rc = FaxRecipient_SetName(MyPhoneBook, &p1[4]);
- rc = FaxRecipient_SetTel(MyPhoneBook, szArg2);
- rc = FaxRecipient_Create(MyPhoneBook);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Add recipient name: %s error rc: %ld\n", &p1[4], rc);
- return;
- };
- printf("Add recipient name: %s Ok\n", &p1[4]);
- return;
- };
-
- /***************************************************************************
- /* Add recipient in a group
- /**************************************************************************/
- p1 = strstr(szArg1, "-NG:");
- if (p1 != (PSZ) 0) {
- rc = FaxGroup_AddName(MyGroup, szArg2, &p1[4]);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Add recipient %s to group: %s error rc: %ld", &p1[4], szArg2, rc);
- return;
- };
- printf("Add recipient %s to group: %s Ok\n", &p1[4], szArg2);
- return;
- };
-
- /***************************************************************************
- /* Update recipient
- /**************************************************************************/
- p1 = strstr(szArg1, "-UN:");
- if (p1 != (PSZ) 0) {
- rc = FaxRecipient_SetName(MyPhoneBook, &p1[4]);
- rc = FaxRecipient_SetTel(MyPhoneBook, szArg2);
- rc = FaxRecipient_Update(MyPhoneBook);
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Update recipient name: %s error rc: %ld\n", &p1[4], rc);
- return;
- };
- printf("Update recipient name: %s Ok\n", &p1[4]);
- return;
- };
-
- /***************************************************************************
- /* Delete name from a group
- /**************************************************************************/
- p1 = strstr(szArg1, "-SG:");
- if (p1 != (PSZ) 0) {
- rc = FaxGroup_DeleteName(MyGroup, szArg2, &p1[4]);
- if (rc == FAX_PHONEBOOK_GROUP_NOTFOUND) {
- printf("Delete recipient: %s in group: %s, group not found\n", &p1[4], szArg2);
- return;
- };
- if (rc != FAX_PHONEBOOK_OK) {
- printf("Delete recipient: %s in group: %s error rc:%ld\n", &p1[4], szArg2, rc);
- return;
- };
- printf("Delete recipient: %s in group: %s Ok\n", &p1[4], szArg2);
- return;
- };
-
-
- return;
- }
-
- /*****************************************************************************
- /*
- /* Function main
- /*
- /* Description main function : check parameters and take appropriate action.
- /*
- /* Parameters int argc : arguments count
- /* char * argv[] : array of string pointers
- /*
- /* Return code 0
- /*
- /****************************************************************************/
-
- int _Optlink main ( int argc, char* argv [] ) {
-
- /***************************************************************************
- /* Initialize all the objects
- /**************************************************************************/
- FaxRecipientNewClass(0,0);
- FaxGroupNewClass(0,0);
- MyPhoneBook = _somNew(_FaxRecipient);
- if (MyPhoneBook == 0) {
- printf("ERROR : Recipient Creation failed");
- return 0 ;
- };
- MyGroup = _somNew(_FaxGroup);
- if (MyGroup == 0) {
- printf("ERROR : Group Creation failed");
- return 0 ;
- };
- FaxRecipient_Setup(MyPhoneBook, "");
- FaxGroup_Setup(MyGroup, "");
-
- /***************************************************************************
- /* No argument : print command line syntax
- /**************************************************************************/
- if (argc == 1) {
- printf("Fax/PM API Sample Program - (c) Microformatic 1993\n\n") ;
- printf("Syntax :\n");
- printf(" commands used on Recipient names\n");
- printf(" -DN:name : delete a name\n");
- printf(" -AN:name phone : add name & phone\n");
- printf(" -LN:name : list a name\n");
- printf(" -NG:name group : add a name to group\n");
- printf(" -UN:name phone : update a name & phone\n");
- printf("\n");
- printf(" commands used on Group names\n");
- printf(" -LG:group : list a group contents\n");
- printf(" -DG:group : delete a group\n");
- printf(" -SG:name group : supress a name in a group\n");
- printf("\n");
- printf(" no parameters : list all groups & names\n");
- printf("\n");
- printf("\n");
- };
-
- /***************************************************************************
- /* Take the action depending on the number of parameters
- /**************************************************************************/
- szArg[0] = 0;
- if (argc == 1) {
- LISTALL();
- } else {
- if (argc == 2) {
- strcpy(szArg1, argv[1]);
- GO1();
- } else {
- strcpy(szArg1, argv[1]);
- strcpy(szArg2, argv[2]);
- GO2();
- }; /* endif */
- }; /* endif */
-
- return 0 ;
- }
-
-
- ΓòÉΓòÉΓòÉ <hidden> *.SC files ΓòÉΓòÉΓòÉ
-
- These files must be included if you want to create SOM classes that inherit
- from the Fax/PM defined classes. These files are :
-
- recip.sc : the FaxRecipient class definition.
- group.sc : the FaxGroup class definition.
- faxjob1.sc : the FaxJob class definition.
- faxhdr1.sc : the FaxJobHeader class definition.
-
-
- ΓòÉΓòÉΓòÉ <hidden> sample.def ΓòÉΓòÉΓòÉ
-
- This is the sample module definition file.
-
- ;*****************************************************************************
- ;*
- ;* File SAMPLE.DEF
- ;*
- ;* Program Module definition file for Fax/PM API sample
- ;*
- ;* Last modif February 5, 1993
- ;*
- ;* Copyright (c) Microformatic S.A. 1993
- ;*
- ;*****************************************************************************/
-
- Name Sample NotWindowCompat
-
- Description 'Sample program for Fax/PM API - (c) Microformatic 1993'
-
- Stacksize 10240
-
-
- ΓòÉΓòÉΓòÉ 2.4. Libraries ΓòÉΓòÉΓòÉ
-
- To link your programs that use the Fax/PM API, you have to use the following
- libraries :
-
- faxgrp1.lib
- faxrcp1.lib
- faxjob1.lib
- faxapp12.lib
-
- This files are located in the subdirectory API, created in the directory where
- Fax/PM is installed.
-
- Some other libraries are required, from the OS/2 toolkit. These libraries are :
-
- dde4mbso : runtime linking
- os2386.lib : OS/2 system functions
- som.lib : som functions
-
- Note: It is recommended to compile your source programs using the dynamic
- linking to libraries option. This is why the DDE4MBSO library is useful.
-
-
- ΓòÉΓòÉΓòÉ 3. Faxjob Class ΓòÉΓòÉΓòÉ
-
- The FaxJob class allows you to manage Fax/PM Send Requests.
-
-
- ΓòÉΓòÉΓòÉ 3.1. Get ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The Get method is used to load
- /* an existing job
- /***********************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulJobNumber;
-
- rc = FaxJob_Get ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulJobNumber (PSZ) - input
- number of the job to load.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_BADJOBNUMBER
- FAX_JOBERR_MEMORYALLOCFAILED
- FAX_JOBERR_BADUSERNAME
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to load an existing job. All the informations about the job
- are stored in the job object.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to load an existing job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Related methods ΓòÉΓòÉΓòÉ
-
- Update
- Delete
-
-
- ΓòÉΓòÉΓòÉ 3.2. Create ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Function Syntax ΓòÉΓòÉΓòÉ
-
- /*******************************
- /* The Create method is used
- /* to create a fax job
- /*******************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulNewReqNumber;
-
- rc = FaxJob_Create ( self, pulNewReqNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulNewReqNumber (PULONG) - output
- number of the created job .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_MEMORYALLOCFAILED
- FAX_JOBERR_CREATEFAILED
- FAX_JOBERR_BADSTATE
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to create a new job using the informations stored in the
- job object data.Use Set... functions to initialize job object data. It is not
- necessary to set job number - it is set by Create method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to create a new job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Related methods ΓòÉΓòÉΓòÉ
-
- Update
- Delete
-
-
- ΓòÉΓòÉΓòÉ 3.3. Update ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Function Syntax ΓòÉΓòÉΓòÉ
-
- /*******************************************************
- /* The Update method is used to update a fax job
- /*******************************************************
-
- APIRET rc ;
- FaxJob * self ;
-
- rc = FaxJob_Update ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_MEMORYALLOCFAILED
- FAX_JOBERR_REQUESTNOTFOUND
- FAX_JOBERR_BADUSERNAME
- FAX_JOBERR_BADSTATE
- FAX_JOBERR_FILENAMECHANGED
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to update an existing job using the informations stored in
- the job object data.Use Get... function to load the job and Set... functions to
- update it. Thus call Update method to save the changes.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to update an existing job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- Delete
-
-
- ΓòÉΓòÉΓòÉ 3.4. Delete ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Function Syntax ΓòÉΓòÉΓòÉ
-
- /*******************************************************
- /* The Delete method is used to delete a fax job
- /*******************************************************
-
- APIRET rc ;
- FaxJob * self ;
-
- rc = FaxJob_Delete ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_MEMORYALLOCFAILED
- FAX_JOBERR_REQUESTNOTFOUND
- FAX_JOBERR_JOBINPROGRESS
- FAX_JOBERR_BADUSERNAME
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Notes ΓòÉΓòÉΓòÉ
-
- The number of the job to delete must be set before calling this method. It can
- be done with Get... or SetJobNumber... methods.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to delete an existing job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- Update
- SetJobNumber
-
-
- ΓòÉΓòÉΓòÉ 3.5. GetJobNumber ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetJobNumber - Function Syntax ΓòÉΓòÉΓòÉ
-
- /*******************************************************
- /* The GetJobNumber method retrieves job number from object data
- /*******************************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulJobNumber;
-
- rc = FaxJob_GetJobNumber ( self, pulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetJobNumber - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulNewReqNumber (PULONG) - output
- number of the job .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetJobNumber - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_MEMORYALLOCFAILED
- FAX_JOBERR_CREATEFAILED
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetJobNumber - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get a number of the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetJobNumber - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetJobNumber
-
-
- ΓòÉΓòÉΓòÉ 3.6. GetFaxNumber ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxNumber - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetFaxNumber method retrieves
- /* the fax number from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszFaxNumber;
- PULONG pulLen;
-
- rc = FaxJob_GetFaxNumber ( self, pszFaxNumber, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxNumber - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszFaxNumber (PSZ)
- If not NULL, receives the fax number .
-
- pulLen (PULONG) - output
- If pszFaxNumber is NULL pulLen receives the length of the buffer required
- for the fax number .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxNumber - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxNumber - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get a recipient fax number for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxNumber - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetFaxNumber
-
-
- ΓòÉΓòÉΓòÉ 3.7. GetAttention ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAttention - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetAttention method retrieves
- /* the recipient name from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszAttention;
- PULONG pulLen;
-
- rc = FaxJob_GetAttention ( self, pszAttention, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAttention - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszAttention (PSZ)
- If not NULL, receives the recipient name.
-
- pulLen (PULONG) - output
- If pszAttention is NULL pulLen receives the length of the buffer required
- for the recipient name .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAttention - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAttention - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get a recipient name for the current job
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAttention - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetAttention
-
-
- ΓòÉΓòÉΓòÉ 3.8. GetExternalCall ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetExternalCall method retrieves
- /* the external call flag from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulExtCall;
-
- rc = FaxJob_GetExternalCall ( self, pulExtCall) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulExtCall (PULONG) - output
- external call flag.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the external call flag of the current job
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetExternalCall
-
-
- ΓòÉΓòÉΓòÉ 3.9. GetDocName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetDocName method retrieves
- /* the fax file name from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocName;
- PULONG pulLen;
-
- rc = FaxJob_GetDocName ( self, pszDocName, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszDocName (PSZ)
- If not NULL, receives the fax file name.
-
- pulLen (PULONG) - output
- If pszDocName is NULL pulLen receives the length of the buffer required
- for the fax file name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the name of the fax file for the current job
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocName - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetDocName
-
-
- ΓòÉΓòÉΓòÉ 3.10. GetFaxMgrId ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxMgrId - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetFaxMgrId method retrieves
- /* the sender workstation ID from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocName;
- PULONG pulLen;
-
- rc = FaxJob_GetFaxMgrId ( self, pszFaxMgrId, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxMgrId - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszFaxMgrId (PSZ)
- If not NULL, receives the sender workstation ID.
-
- pulLen (PULONG) - output
- If pszFaxMgrId is NULL pulLen receives the length of the buffer required
- for the sender ID.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxMgrId - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxMgrId - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the sender workstation ID for the current job
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetFaxMgrId - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetFaxMgrId
-
-
- ΓòÉΓòÉΓòÉ 3.11. GetUserName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetUserName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetUserName method retrieves
- /* the user name from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocName;
- PULONG pulLen;
-
- rc = FaxJob_GetUserName ( self, pszUserName, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetUserName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszUserName (PSZ)
- If not NULL, receives the user name.
-
- pulLen (PULONG) - output
- If pszUserName is NULL pulLen receives the length of the buffer required
- for the user name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetUserName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetUserName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the user name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetUserName - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetUserName
-
-
- ΓòÉΓòÉΓòÉ 3.12. GetDocType ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocType - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetDocType method retrieves the format
- /* of the fax file from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocType;
- PULONG pulLen;
-
- rc = FaxJob_GetDocType ( self, pszDocType, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocType - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszDocType (PSZ)
- If not NULL, receives the format of the fax file.
-
- pulLen (PULONG) - output
- If pszDocType is NULL pulLen receives the length of the buffer required
- for the fax file format .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocType - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocType - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the format of the fax file.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocType - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetDocType
-
-
- ΓòÉΓòÉΓòÉ 3.13. GetStartTime ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStartTime - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetStartTime method retrieves
- /* the start time from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulTime;
-
- rc = FaxJob_GetStartTime ( self, pulTime) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStartTime - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulTime (PULONG) - output
- Start time .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStartTime - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStartTime - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the start time for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStartTime - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetStartTime
-
-
- ΓòÉΓòÉΓòÉ 3.14. GetEndTime ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetEndTime - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetEndTime method retrieves
- /* the time limit from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulTime;
-
- rc = FaxJob_GetEndTime ( self, pulTime) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetEndTime - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulTime (PULONG) - output
- Time limit.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetEndTime - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetEndTime - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the time limit for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetEndTime - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetEndTime
-
-
- ΓòÉΓòÉΓòÉ 3.15. GetRetriesDone ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRetriesDone - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetRetriesDone method retrieves
- /* the the number of attempts already
- /* done.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulRetries;
-
- rc = FaxJob_GetRetriesDone ( self, pulRetries) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRetriesDone - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulRetries (PULONG) - output
- Number of attempts already done.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRetriesDone - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRetriesDone - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the number of attempts already done for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRetriesDone - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetRetriesDone
-
-
- ΓòÉΓòÉΓòÉ 3.16. GetMaxRetries ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetMaxRetries - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetMaxRetries method retrieves
- /* the the maximum number of attempts.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulRetries;
-
- rc = FaxJob_GetMaxRetries ( self, pulRetries) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetMaxRetries - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulRetries (PULONG) - output
- Maximum number of attempts .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetMaxRetries - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetMaxRetries - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the number maximum of attempts for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetMaxRetries - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetMaxRetries
-
-
- ΓòÉΓòÉΓòÉ 3.17. GetStatus ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStatus - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetStatus method retrieves
- /* the status of the job
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulStatus;
-
- rc = FaxJob_GetStatus ( self, pulStatus) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStatus - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulStatus (PULONG) - output
- Status of the job.
-
- The possible values are the following : FAX_JOB_READY FAX_JOB_HELD
- FAX_JOB_IN_PROGRESS FAX_JOB_CANCELLED FAX_JOB_LIMIT FAX_JOB_DONE
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStatus - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStatus - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the status of the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetStatus - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetStatus
-
-
- ΓòÉΓòÉΓòÉ 3.18. GetCriteria ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCriteria - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetCriteria method retrieves
- /* send criteria (by time or by retry).
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PULONG pulCrit;
-
- rc = FaxJob_GetCriteria ( self, pulCrit) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCriteria - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pulCrit (PULONG) - output
- send criteria.
-
- The possible values are the following : FAX_JOB_BYTIME FAX_JOB_BYRETRY
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCriteria - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCriteria - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the job send criteria (by time or by retry).
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCriteria - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetCriteria
-
-
- ΓòÉΓòÉΓòÉ 3.19. GetErrorMessage ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetErrorMessage - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetErrorMessage method retrieves
- /* the error message from object data
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszErr;
- PULONG pulLen;
-
- rc = FaxJob_GetErrorMessage ( self, pszErr, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetErrorMessage - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszErr (PSZ)
- If not NULL, receives the error message .
-
- pulLen (PULONG) - output
- If pszErr is NULL pulLen receives the length of the buffer required for
- the error message.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetErrorMessage - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetErrorMessage - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the error message .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetErrorMessage - Related methods ΓòÉΓòÉΓòÉ
-
- Get
-
-
- ΓòÉΓòÉΓòÉ 3.20. GetDocTypes ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The GetDocTypes method retrieves
- /* the list of the fax file formats.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocTypes;
- PULONG pulLen;
-
- rc = FaxJob_GetDocTypes ( self, pszDocTypes, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszDocTypes (PSZ)
- If not NULL, receives the list of the fax file formats. The list is
- terminated by a double NULL character. All the formats in the list are
- separated by NULL characters.
-
- pulLen (PULONG) - output
- If pszDocTypes is NULL pulLen receives the length of the buffer required
- for the list.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to get list of the fax file formats.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the list of the fax file formats.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDocTypes - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- GetDocType
- SetDocType
-
-
- ΓòÉΓòÉΓòÉ 3.21. SetJobNumber ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetJobNumber - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetJobNumber method retrieves
- /* send criteria (by time or by retry).
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulJobNumber;
-
- rc = FaxJob_SetJobNumber ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetJobNumber - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulJobNumber (PULONG) - output
- Job number.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetJobNumber - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetJobNumber - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the current job number .
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetJobNumber - Related methods ΓòÉΓòÉΓòÉ
-
- GetJobNumber
-
-
- ΓòÉΓòÉΓòÉ 3.22. SetFaxNumber ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxNumber - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetFaxNumber method sets
- /* the fax number in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszFaxNumber;
-
- rc = FaxJob_SetFaxNumber ( self, pszFaxNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxNumber - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszFaxNumber (PSZ)
- Pointer to the fax number string.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxNumber - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxNumber - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the fax number of the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxNumber - Related methods ΓòÉΓòÉΓòÉ
-
- GetJobNumber
-
-
- ΓòÉΓòÉΓòÉ 3.23. SetAttention ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAttention - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetAttention method sets
- /* the recipient name in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszAttention;
-
- rc = FaxJob_SetAttention ( self, pszAttention) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAttention - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszAttention (PSZ)
- Pointer to the recipient name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAttention - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAttention - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the recipient name for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAttention - Related methods ΓòÉΓòÉΓòÉ
-
- GetAttention
-
-
- ΓòÉΓòÉΓòÉ 3.24. SetExternalCall ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetExternalCall method sets
- /* the external call flag in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulExternalCall;
-
- rc = FaxJob_SetExternalCall ( self, ulExternalCall) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulExternalCall (PULONG) - output
- External call flag.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the external call flag for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Related methods ΓòÉΓòÉΓòÉ
-
- GetExternalCall
-
-
- ΓòÉΓòÉΓòÉ 3.25. SetDocName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetDocName method sets the document
- /* name ( file to send ) in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocName;
-
- rc = FaxJob_SetDocName ( self, pszDocName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszDocName (PSZ)
- Pointer to the document name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the fax file name for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocName - Related methods ΓòÉΓòÉΓòÉ
-
- GetDocName
-
-
- ΓòÉΓòÉΓòÉ 3.26. SetFaxMgrId ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxMgrId - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetFaxMgrId method sets the
- /* sender workstation ID in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszFaxMgrId;
-
- rc = FaxJob_SetFaxMgrId ( self, pszFaxMgrId) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxMgrId - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object.
-
- pszFaxMgrId (PSZ)
- Pointer to the sender workstation ID.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxMgrId - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxMgrId - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the sender workstation ID for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetFaxMgrId - Related methods ΓòÉΓòÉΓòÉ
-
- GetFaxMgrId
-
-
- ΓòÉΓòÉΓòÉ 3.27. SetUserName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetUserName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetUserName method sets
- /* the user name in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszUserName;
-
- rc = FaxJob_SetUserName ( self, pszUserName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetUserName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszUserName (PSZ)
- Pointer to the user name .
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetUserName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetUserName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the user name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetUserName - Related methods ΓòÉΓòÉΓòÉ
-
- GetUserName
-
-
- ΓòÉΓòÉΓòÉ 3.28. SetDocType ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocType - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetDocType method sets the fax
- /* file format in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszDocType;
-
- rc = FaxJob_SetDocType ( self, pszDocType) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocType - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszDocType (PSZ)
- Pointer to the fax file format.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocType - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocType - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the fax file format for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDocType - Related methods ΓòÉΓòÉΓòÉ
-
- GetDocType
-
-
- ΓòÉΓòÉΓòÉ 3.29. SetStartTime ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStartTime - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetStartTime method sets
- /* the start time in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulStartTime;
-
- rc = FaxJob_SetStartTime ( self, ulStartTime) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStartTime - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulStartTime (PULONG) - output
- Start time .
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStartTime - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStartTime - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the start time for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStartTime - Related methods ΓòÉΓòÉΓòÉ
-
- GetStartTime
-
-
- ΓòÉΓòÉΓòÉ 3.30. SetEndTime ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetEndTime - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetEndTime method sets
- /* the time limit in the object data.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulEndTime;
-
- rc = FaxJob_SetEndTime ( self, ulEndTime) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetEndTime - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulEndTime (PULONG) - output
- Time limit .
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetEndTime - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetEndTime - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the time limit for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetEndTime - Related methods ΓòÉΓòÉΓòÉ
-
- GetEndTime
-
-
- ΓòÉΓòÉΓòÉ 3.31. SetRetriesDone ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRetriesDone - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetRetriesDone method sets
- /* the number of attempts alreeady done.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulRetriesDone;
-
- rc = FaxJob_SetRetriesDone ( self, ulRetriesDone) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRetriesDone - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulRetriesDone (PULONG) - output
- Number of attempts alreeady done.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRetriesDone - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRetriesDone - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the number of attempts alreeady done for the current
- job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRetriesDone - Related methods ΓòÉΓòÉΓòÉ
-
- GetRetriesDone
-
-
- ΓòÉΓòÉΓòÉ 3.32. SetMaxRetries ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetMaxRetries - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetMaxRetries method sets
- /* the maximum number of attempts .
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulMaxRetries;
-
- rc = FaxJob_SetMaxRetries ( self, ulMaxRetries) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetMaxRetries - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulMaxRetries (PULONG) - output
- Maximum number of attempts .
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetMaxRetries - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetMaxRetries - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the maximum number of attempts for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetMaxRetries - Related methods ΓòÉΓòÉΓòÉ
-
- GetMaxRetries
-
-
- ΓòÉΓòÉΓòÉ 3.33. SetStatus ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStatus - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetStatus method sets
- /* the status of the job.
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulStatus;
-
- rc = FaxJob_SetStatus ( self, ulStatus) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStatus - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulStatus (PULONG) - output
- Status of the job.
-
- The possible values are the following : FAX_JOB_READY FAX_JOB_HELD
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStatus - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
- FAX_JOBERR_BADSTATE
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStatus - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the status of the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetStatus - Related methods ΓòÉΓòÉΓòÉ
-
- GetStatus
-
-
- ΓòÉΓòÉΓòÉ 3.34. SetCriteria ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCriteria - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetCriteria method sets
- /* the send criteria (by time or by retry).
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- ULONG ulCriteria;
-
- rc = FaxJob_SetCriteria ( self, ulCriteria) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCriteria - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- ulCriteria (PULONG) - output
- Send criteria.
-
- The possible values are the following : FAX_JOB_BYTIME FAX_JOB_BYRETRY
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCriteria - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCriteria - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the send criteria for the current job.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCriteria - Related methods ΓòÉΓòÉΓòÉ
-
- SetCriteria
-
-
- ΓòÉΓòÉΓòÉ 3.35. Setup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The Setup method initialises
- /* the object according to the user name .
- /************************************
-
- APIRET rc ;
- FaxJob * self ;
- PSZ pszUserName;
-
- rc = FaxJob_Setup ( self, pszUserName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
- pszUserName (PSZ)
- Pointer to the user name .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Notes ΓòÉΓòÉΓòÉ
-
- Mandatory init to manipulate fax object. It is to be issued after _somNew. If a
- call to any method is made before calling the Setup the call will return
- FAX_JOBERR_NOSETUP.
-
- The parameter pszUserName is the name of the owner of the job. No control is
- made in this version of the API.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to perform the setup of the job before calling any other
- method.
-
-
- ΓòÉΓòÉΓòÉ 3.36. FaxJobReset ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxJobReset - Function Syntax ΓòÉΓòÉΓòÉ
-
- /*****************************************
- /* The FaxJobReset method is
- /* used to reset a fax job object
- /*****************************************
-
- APIRET rc ;
- FaxJob * self ;
-
- rc = FaxJob_FaxJobReset ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxJobReset - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJob *) - input
- Fax job object
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxJobReset - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_JOB_OK
- FAX_JOBERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxJobReset - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to reset a fax job object.
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxJobReset - Related methods ΓòÉΓòÉΓòÉ
-
- SetCriteria
-
-
- ΓòÉΓòÉΓòÉ 4. FaxJobHeader Class ΓòÉΓòÉΓòÉ
-
- The FaxJobHeader class allows you to manage the Fax/PM headers. This class is
- used with the FaxJob class.
-
- With the FaxJob class, you can create a request, and with the FaxJobHeader
- class you can create a header for the fax to send.
-
-
- ΓòÉΓòÉΓòÉ 4.1. GetHeader ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetHeader method is used
- /* to load a header
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- ULONG ulJobNumber;
-
- rc = FaxJobHeader_GetHeader ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- ulJobNumber (PSZ) - input
- number of the job which header is to load.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_HEADERNOTFOUND
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to load an existing header. All the informations about the
- header are stored in the header object.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to load an existing header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetHeader - Related methods ΓòÉΓòÉΓòÉ
-
- Update
- Delete
-
-
- ΓòÉΓòÉΓòÉ 4.2. Create ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The Create method is used to create
- /* a header for an existing job
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- ULONG ulJobNumber;
-
- rc = FaxJobHeader_Create ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- ulJobNumber (PSZ) - input
- number of the job for which the header is to create.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_ALREADYCREATED
- FAX_HERR_CANNOTCREATE
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to create a header for an existing job .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to create a header .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- Update
- Delete
-
-
- ΓòÉΓòÉΓòÉ 4.3. Update ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The Update method is used to update
- /* an existing header
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- ULONG ulJobNumber;
-
- rc = FaxJobHeader_Update ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- ulJobNumber (PSZ) - input
- number of the job for which the header is to update.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_HEADERNOTFOUND
- FAX_HERR_CANNOTUPDATE
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to update an existing header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to update a header .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- Create
- Delete
-
-
- ΓòÉΓòÉΓòÉ 4.4. Delete ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The Delete method is used to delete
- /* a header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- ULONG ulJobNumber;
-
- rc = FaxJobHeader_Delete ( self, ulJobNumber) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- ulJobNumber (PSZ) - input
- number of the job which header is to delete.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_HEADERNOTFOUND
- FAX_HERR_CANNOTDELETE
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Notes ΓòÉΓòÉΓòÉ
-
- This method is used to delete a header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to delete a header .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- Create
- Update
-
-
- ΓòÉΓòÉΓòÉ 4.5. GetLogo ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetLogo - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetLogo method is used to retrieve
- /* the logo file name for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszLogoFileName;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetLogo ( self, pszLogoFileName, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetLogo - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszLogoFileName (PSZ)
- If not NULL, receives the logo file name.
-
- pulLen (PULONG) - output
- If pszLogoFileName is NULL pulLen receives the length of the buffer
- required for the logo file name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetLogo - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetLogo - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the logo file name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetLogo - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetLogo
-
-
- ΓòÉΓòÉΓòÉ 4.6. GetSenderName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetSenderName method is used to to retrieve
- /* the sender name for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderName;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetSenderName ( self, pszSenderName, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderName (PSZ)
- If not NULL, receives the sender name.
-
- pulLen (PULONG) - output
- length of the string for the sender name. If pszSenderName is NULL pulLen
- receives the length of the buffer required for the sender name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the sender name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderName - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetSenderName
-
-
- ΓòÉΓòÉΓòÉ 4.7. GetSenderFax ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderFax - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetSenderFax method is used to to retrieve
- /* the sender fax number for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderFax;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetSenderFax ( self, pszSenderFax, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderFax - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderFax (PSZ)
- If not NULL, receives the sender fax number.
-
- pulLen (PULONG) - output
- If pszSenderFax is NULL pulLen receives the length of the buffer required
- for the sender fax number.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderFax - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderFax - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the sender fax number for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderFax - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetSenderFax
-
-
- ΓòÉΓòÉΓòÉ 4.8. GetSenderPhone ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderPhone - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetSenderPhone method is used to to retrieve
- /* the sender phone number for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderPhone;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetSenderPhone ( self, pszSenderPhone, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderPhone - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderPhone (PSZ)
- If not NULL, receives the sender phone number.
-
- pulLen (PULONG) - output
- If pszSenderPhone is NULL pulLen receives the length of the buffer
- required for the sender phone number.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderPhone - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderPhone - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the sender phone number for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetSenderPhone - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetSenderPhone
-
-
- ΓòÉΓòÉΓòÉ 4.9. GetRecipientName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRecipientName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetRecipientName method is used to to retrieve
- /* the recipient name for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszRecipientName;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetRecipientName ( self, pszRecipientName, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRecipientName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszRecipientName (PSZ)
- If not NULL, receives the recipient name.
-
- pulLen (PULONG) - output
- If pszRecipientName is NULL pulLen receives the length of the buffer
- required for the recipient name .
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRecipientName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRecipientName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the recipient name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetRecipientName - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetRecipientName
-
-
- ΓòÉΓòÉΓòÉ 4.10. GetComment ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetComment - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***********************************
- /* The GetComment method is used to to retrieve
- /* the comment for the current header.
- /***********************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszComment;
- PULONG pulLen;
-
- rc = FaxJobHeader_GetComment ( self, pszComment, pulLen) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetComment - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszComment (PSZ)
- If not NULL, receives the comment.
-
- pulLen (PULONG) - output
- If pszComment is NULL pulLen receives the length of the buffer required
- for the comment.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetComment - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetComment - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get the comment for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetComment - Related methods ΓòÉΓòÉΓòÉ
-
- GetHeader
- SetComment
-
-
- ΓòÉΓòÉΓòÉ 4.11. SetLogo ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetLogo - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetLogo method sets
- /* the logo file name in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszLogoFileName;
-
- rc = FaxJobHeader_SetLogo ( self, pszLogoFileName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetLogo - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszLogoFileName (PSZ)
- Pointer to the logo file name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetLogo - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
- FAX_HERR_BADFILENAME
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetLogo - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the logo file name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetLogo - Related methods ΓòÉΓòÉΓòÉ
-
- GetLogo
-
-
- ΓòÉΓòÉΓòÉ 4.12. SetSenderName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetSenderName method sets
- /* the sender name in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderName;
-
- rc = FaxJobHeader_SetSenderName ( self, pszSenderName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderName (PSZ)
- Pointer to the sender name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the sender name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderName - Related methods ΓòÉΓòÉΓòÉ
-
- GetSenderName
-
-
- ΓòÉΓòÉΓòÉ 4.13. SetSenderFax ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderFax - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetSenderFax method sets
- /* the sender fax number in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderFax;
-
- rc = FaxJobHeader_SetSenderFax ( self, pszSenderFax) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderFax - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderFax (PSZ)
- Pointer to the sender fax number string.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderFax - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderFax - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the sender fax number for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderFax - Related methods ΓòÉΓòÉΓòÉ
-
- GetSenderFax
-
-
- ΓòÉΓòÉΓòÉ 4.14. SetSenderPhone ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderPhone - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetSenderPhone method sets
- /* the sender phone number in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszSenderPhone;
-
- rc = FaxJobHeader_SetSenderPhone ( self, pszSenderPhone) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderPhone - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszSenderPhone (PSZ)
- Pointer to the sender phone number string.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderPhone - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderPhone - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the sender phone number for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetSenderPhone - Related methods ΓòÉΓòÉΓòÉ
-
- GetSenderPhone
-
-
- ΓòÉΓòÉΓòÉ 4.15. SetRecipientName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRecipientName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetRecipientName method sets
- /* the recipient name in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszRecipientName;
-
- rc = FaxJobHeader_SetRecipientName ( self, pszRecipientName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRecipientName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszRecipientName (PSZ)
- Pointer to the sender recipient name.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRecipientName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRecipientName - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the sender recipient name for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetRecipientName - Related methods ΓòÉΓòÉΓòÉ
-
- GetRecipientName
-
-
- ΓòÉΓòÉΓòÉ 4.16. SetComment ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetComment - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The SetComment method sets
- /* the comment in the object data.
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszComment;
-
- rc = FaxJobHeader_SetComment ( self, pszComment) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetComment - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszComment (PSZ)
- Pointer to the comment string.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetComment - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_NOSETUP
- FAX_HERR_STRINGTOOLONG
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetComment - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to set the comment for the current header.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetComment - Related methods ΓòÉΓòÉΓòÉ
-
- GetComment
-
-
- ΓòÉΓòÉΓòÉ 4.17. Setup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /************************************
- /* The Setup method initialises
- /* the object according to the user name .
- /************************************
-
- APIRET rc ;
- FaxJobHeader * self ;
- PSZ pszUserName;
-
- rc = FaxJob_Setup ( self, pszUserName) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxJobHeader *) - input
- Fax job header object
-
- pszUserName (PSZ)
- Pointer to the user name .
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_HEADER_OK
- FAX_HERR_STRINGTOOLONG
- FAX_HERR_NOUSERNAME
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Notes ΓòÉΓòÉΓòÉ
-
- Mandatory init to manipulate fax header object. It is to be issued after
- _somNew. If a call to any method is made before calling the Setup the call will
- return FAX_HERR_NOSETUP.
-
- The parameter pszUserName is the name of the owner of the job. No control is
- made in this version of the API.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to perform the setup of the header before calling any other
- method.
-
-
- ΓòÉΓòÉΓòÉ 5. Recipient Class ΓòÉΓòÉΓòÉ
-
- The FaxRecipient class allows to to add, remove and update entries in the
- Fax/PM 2.0 phone book.
-
-
- ΓòÉΓòÉΓòÉ 5.1. Create ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Create method is used to add
- /* a name in the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
-
- rc = _Create ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKINVALID_NAME
-
- FAX_PHONEBOOKINVALID_FAXNUMBER
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Notes ΓòÉΓòÉΓòÉ
-
- Before calling this method, the name and phone number must have been properly
- set using the SetName and SetTel functions.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Usage ΓòÉΓòÉΓòÉ
-
- This method is used to add a name into the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Related methods ΓòÉΓòÉΓòÉ
-
- SetName
- SetTel
-
-
- ΓòÉΓòÉΓòÉ 5.2. Delete ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Delete method is used to remove
- /* the current name from the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
-
- rc = _Delete ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Notes ΓòÉΓòÉΓòÉ
-
- Before calling this method, there must be a current name retrieved with Get or
- the name of the current name must be set with SetName.
-
- All the occurences of this name in this group are deleted.
-
- To remove a name that is not the current name, use the DeleteName method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Usage ΓòÉΓòÉΓòÉ
-
- This function removes the current name from the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Related methods ΓòÉΓòÉΓòÉ
-
- Get
- SetName
-
-
- ΓòÉΓòÉΓòÉ 5.3. DeleteName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The DeleteName method is used to
- /* remove a name from the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszName ;
-
- rc = _DeleteName ( self, pszName ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszName (PSZ) - input
- name to remove from the phone book
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_INVALID_PARM
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to remove a name from the phonebook. This method allows you to
- remove a name without calling the SetName method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Related methods ΓòÉΓòÉΓòÉ
-
- Delete
-
-
- ΓòÉΓòÉΓòÉ 5.4. Get ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Get method is used to get a
- /* recipient from the phone book.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszName ;
-
- rc = _Get ( self, pszName ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszName (PSZ) - input
- name to look for
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_INVALID_PARM
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Usage ΓòÉΓòÉΓòÉ
-
- Use this method to get a recipient from the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Get - Related methods ΓòÉΓòÉΓòÉ
-
- Create
- Delete
- Update
-
-
- ΓòÉΓòÉΓòÉ 5.5. GetActivity ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetActivity - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetActivity method is used to
- /* get the activity information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetActivity ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetActivity - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the address information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetActivity - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetActivity - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get information about the activity of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetActivity - Related methods ΓòÉΓòÉΓòÉ
-
- SetActivity
-
-
- ΓòÉΓòÉΓòÉ 5.6. GetAddress ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAddress - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetAddress method is used to
- /* get the address of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetAddress ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAddress - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the address information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAddress - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAddress - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get the address of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAddress - Related methods ΓòÉΓòÉΓòÉ
-
- SetAddress
-
-
- ΓòÉΓòÉΓòÉ 5.7. GetAllNames ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetAllNames method is used to
- /* get the list of all the names in
- /* the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetAllNames ( self, pszVal, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the list of names. If this field is NULL, the pulLen parameter
- receives the actual length to be returned.
- The list is terminated by a double NULL character. All the names in the
- list are separated by NULL characters.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get all the names that are stored in the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Related methods ΓòÉΓòÉΓòÉ
-
- none
-
-
- ΓòÉΓòÉΓòÉ 5.8. GetAreaCode ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAreaCode - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetAreaCode method is used to
- /* get the area code of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetAreaCode ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAreaCode - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the area code information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAreaCode - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAreaCode - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the area code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAreaCode - Related methods ΓòÉΓòÉΓòÉ
-
- SetAreaCode
-
-
- ΓòÉΓòÉΓòÉ 5.9. GetCity ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCity - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetCity method is used to
- /* get the city of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetCity ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCity - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the city information. If this field is NULL, the pulLen parameter
- receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCity - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCity - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the city of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCity - Related methods ΓòÉΓòÉΓòÉ
-
- SetCity
-
-
- ΓòÉΓòÉΓòÉ 5.10. GetCompany ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCompany - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetCompany method is used to
- /* get the company of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetCompany ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCompany - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the company information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCompany - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCompany - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the company of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCompany - Related methods ΓòÉΓòÉΓòÉ
-
- SetCompany
-
-
- ΓòÉΓòÉΓòÉ 5.11. GetCountry ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountry - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetCountry method is used to
- /* get the country of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetCountry ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountry - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the country information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountry - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountry - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the country of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountry - Related methods ΓòÉΓòÉΓòÉ
-
- SetCountry
-
-
- ΓòÉΓòÉΓòÉ 5.12. GetCountryCode ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountryCode - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetCountryCode method is used to
- /* get the country code of the recipient
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetCountryCode ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountryCode - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the country code information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountryCode - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountryCode - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the country code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetCountryCode - Related methods ΓòÉΓòÉΓòÉ
-
- SetCountryCode
-
-
- ΓòÉΓòÉΓòÉ 5.13. GetDivision ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDivision - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetDivision method is used to
- /* get the division of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetDivision ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDivision - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the division information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDivision - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDivision - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the division of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetDivision - Related methods ΓòÉΓòÉΓòÉ
-
- SetDivision
-
-
- ΓòÉΓòÉΓòÉ 5.14. GetExtension ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExtension - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetExtension method is used to
- /* get the extension information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetExtension ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExtension - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the extension information. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExtension - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExtension - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the extension of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExtension - Related methods ΓòÉΓòÉΓòÉ
-
- SetExtension
-
-
- ΓòÉΓòÉΓòÉ 5.15. GetExternalCall ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetExternalCall method is used to
- /* get the external call flag
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PULONG pulExtCall ;
-
- rc = _GetExternalCall ( ulExtCall ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pulExtCall (PULONG) - output receives the external call flag.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the external call flag of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetExternalCall - Related methods ΓòÉΓòÉΓòÉ
-
- SetExternalCall
-
-
- ΓòÉΓòÉΓòÉ 5.16. GetName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetName method is used to
- /* get the name of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetName ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the name. If this field is NULL, the pulLen parameter receives
- the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetName - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the name of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetName - Related methods ΓòÉΓòÉΓòÉ
-
- SetName
-
-
- ΓòÉΓòÉΓòÉ 5.17. GetOwner ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetOwner method is used to
- /* get the name of the recipient entry's
- /* owner.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetOwner ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the owner. If this field is NULL, the pulLen parameter receives
- the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the name of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Related methods ΓòÉΓòÉΓòÉ
-
- SetOwner
-
-
- ΓòÉΓòÉΓòÉ 5.18. GetState ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetState - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetState method is used to
- /* get the state information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetState ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetState - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the state. If this field is NULL, the pulLen parameter receives
- the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetState - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetState - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the state of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetState - Related methods ΓòÉΓòÉΓòÉ
-
- SetState
-
-
- ΓòÉΓòÉΓòÉ 5.19. GetTel ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetTel - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetTel method is used to
- /* get the fax telephone number
- /* of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetTel ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetTel - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the fax telephone number. If this field is NULL, the pulLen
- parameter receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetTel - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetTel - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the fax telephone number of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetTel - Related methods ΓòÉΓòÉΓòÉ
-
- SetTel
-
-
- ΓòÉΓòÉΓòÉ 5.20. GetZip ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetZip - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetZip method is used to
- /* get the ZIP code of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetZip ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetZip - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuffer (PSZ) - output
- receives the ZIP code. If this field is NULL, the pulLen parameter
- receives the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetZip - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetZip - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the ZIP code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetZip - Related methods ΓòÉΓòÉΓòÉ
-
- SetZip
-
-
- ΓòÉΓòÉΓòÉ 5.21. SetActivity ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetActivity - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetActivity method is used to
- /* set the activity information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetActivity ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetActivity - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetActivity - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetActivity - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the activity of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetActivity - Related methods ΓòÉΓòÉΓòÉ
-
- GetActivity
-
-
- ΓòÉΓòÉΓòÉ 5.22. SetAddress ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAddress - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetAddress method is used to
- /* set the address of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetAddress ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAddress - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAddress - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAddress - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the address of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAddress - Related methods ΓòÉΓòÉΓòÉ
-
- GetAddress
-
-
- ΓòÉΓòÉΓòÉ 5.23. SetAreaCode ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAreaCode - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetAreaCode method is used to
- /* set the area code of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetAreaCode ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAreaCode - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAreaCode - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAreaCode - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the area code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetAreaCode - Related methods ΓòÉΓòÉΓòÉ
-
- GetAreaCode
-
-
- ΓòÉΓòÉΓòÉ 5.24. SetCity ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCity - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetCity method is used to
- /* set the city of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetCity ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCity - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCity - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCity - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the city of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCity - Related methods ΓòÉΓòÉΓòÉ
-
- GetCity
-
-
- ΓòÉΓòÉΓòÉ 5.25. SetCompany ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCompany - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetCompany method is used to
- /* set the company of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetCompany ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCompany - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCompany - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCompany - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the company of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCompany - Related methods ΓòÉΓòÉΓòÉ
-
- GetCompany
-
-
- ΓòÉΓòÉΓòÉ 5.26. SetCountry ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountry - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetCountry method is used to
- /* set the country of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetCountry ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountry - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountry - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountry - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the country of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountry - Related methods ΓòÉΓòÉΓòÉ
-
- GetCountry
-
-
- ΓòÉΓòÉΓòÉ 5.27. SetCountryCode ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountryCode - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetCountryCode method is used to
- /* set the country code of the recipient
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetCountryCode ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountryCode - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountryCode - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountryCode - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the country code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetCountryCode - Related methods ΓòÉΓòÉΓòÉ
-
- GetCountryCode
-
-
- ΓòÉΓòÉΓòÉ 5.28. SetDivision ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDivision - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetDivision method is used to
- /* set the division of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetDivision ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDivision - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDivision - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDivision - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the division of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetDivision - Related methods ΓòÉΓòÉΓòÉ
-
- GetDivision
-
-
- ΓòÉΓòÉΓòÉ 5.29. SetExtension ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExtension - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetExtension method is used to
- /* set the extension information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetExtension ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExtension - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExtension - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExtension - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the extension of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExtension - Related methods ΓòÉΓòÉΓòÉ
-
- GetExtension
-
-
- ΓòÉΓòÉΓòÉ 5.30. SetExternalCall ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetExternalCall method is used to
- /* set the external call flag
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PULONG pulExtCall ;
-
- rc = _SetExternalCall ( ulExtCall ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- ulExtCall (ULONG) - input
- receives the information to set.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the external call flag of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetExternalCall - Related methods ΓòÉΓòÉΓòÉ
-
- GetExternalCall
-
-
- ΓòÉΓòÉΓòÉ 5.31. SetName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetName method is used to
- /* set the name of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetName ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetName - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the name of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetName - Related methods ΓòÉΓòÉΓòÉ
-
- GetName
-
-
- ΓòÉΓòÉΓòÉ 5.32. SetOwner ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetOwner method is used to
- /* set the name of the recipient entry's
- /* owner.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetOwner ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the owner of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Related methods ΓòÉΓòÉΓòÉ
-
- GetOwner
-
-
- ΓòÉΓòÉΓòÉ 5.33. SetState ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetState - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetState method is used to
- /* set the state information
- /* about the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetState ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetState - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetState - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetState - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the state of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetState - Related methods ΓòÉΓòÉΓòÉ
-
- GetState
-
-
- ΓòÉΓòÉΓòÉ 5.34. SetTel ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetTel - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetTel method is used to
- /* set the fax telephone number
- /* of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetTel ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetTel - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetTel - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetTel - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the fax telephone number of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetTel - Related methods ΓòÉΓòÉΓòÉ
-
- GetTel
-
-
- ΓòÉΓòÉΓòÉ 5.35. Setup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Setup method is used to
- /* perform initialization before using
- /* a recipient object.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszOwner ;
- PULONG pulLen ;
-
- rc = _Setup ( pszOwner ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszOwner (PSZ) - input
- identifier of the owner of the entry in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Notes ΓòÉΓòÉΓòÉ
-
- Calling this method is imperative before any use of the object. If a call to a
- method is made bfore calling the Setup method, the call will return an error
- FAX_PHONEBOOKNOTSETUP.
-
- The parameter pszOwner is the name of the owner of the entry. No control is
- made in this version of the API, but later versions will use the name of the
- owner to perform control.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to perform the setup of the recipient before calling any other
- method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Related methods ΓòÉΓòÉΓòÉ
-
- Text
-
-
- ΓòÉΓòÉΓòÉ 5.36. SetZip ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetZip - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetZip method is used to
- /* set the ZIP code of the recipient.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetZip ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetZip - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetZip - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetZip - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the ZIP code of the recipient.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetZip - Related methods ΓòÉΓòÉΓòÉ
-
- GetZip
-
-
- ΓòÉΓòÉΓòÉ 5.37. somInit ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> somInit - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The somInit method is overriden to
- /* initialize the object.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- _somInit ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> somInit - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
-
- ΓòÉΓòÉΓòÉ <hidden> somInit - Notes ΓòÉΓòÉΓòÉ
-
- This function sets all the recipient information to 0 for numbers and to empty
- strings for strings. If this function is explicitly called, the Setup must be
- called before any other method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> somInit - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to reset a recipient to an empty state. This state is the same
- state as immediately after the object creation.
-
-
- ΓòÉΓòÉΓòÉ 5.38. Update ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Update method is used to update
- /* the current name.
- /***************************************
-
- APIRET rc ;
- FaxRecipient * self ;
-
- rc = _Update ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxRecipient *) - input
- recipient object
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Notes ΓòÉΓòÉΓòÉ
-
- Before calling this method, there must be a current name retrieved with Get.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to update a name in the entry.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Related methods ΓòÉΓòÉΓòÉ
-
- Create
- Delete
- Get
-
-
- ΓòÉΓòÉΓòÉ 6. Group Class ΓòÉΓòÉΓòÉ
-
- The FaxGroup class allows you to build groups of entries in the phone book.
-
-
- ΓòÉΓòÉΓòÉ 6.1. AddName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The AddName method is used to add
- /* a name in a group.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszGroup ;
- PSZ pszName ;
-
- rc = _AddName ( self, pszGroup, pszName ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - input
- name of the group where the name will be added.
-
- pszName (PSZ) - input
- name to add into the group
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKINVALID_PARM
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Notes ΓòÉΓòÉΓòÉ
-
- The group and the name to add to the group must have been stored in the phone
- book before calling this method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to add a name into a group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> AddName - Related methods ΓòÉΓòÉΓòÉ
-
- Create
- Create [name]
-
-
- ΓòÉΓòÉΓòÉ 6.2. Create ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Create method is used to create
- /* a group in the phone book.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszGroup ;
- PSZ pszContents ;
- ULONG ulLen ;
-
- rc = _Create ( self, pszGroup, pszContents, ulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - input
- name of the group to create.
-
- pszContents (PSZ) - input
- list of names to add to the group. The names are separated by NULL
- characters, and the last name is terminated by a double NULL character. If
- this parameter is NULL, no name is added.
-
- ulLen (ULONG) - input
-
- size of the buffer pointed by pszContents. If pszContents is NULL, this
- parameter must be 0.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Notes ΓòÉΓòÉΓòÉ
-
- Before calling this method, the names listed in the pszContents must have been
- created in the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Usage ΓòÉΓòÉΓòÉ
-
- This method is used to add a group into the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Related methods ΓòÉΓòÉΓòÉ
-
- Delete
- Create [name]
-
-
- ΓòÉΓòÉΓòÉ 6.3. Delete ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Delete method is used to remove
- /* a group from the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszGroup ;
-
- rc = _Delete ( self, pszGroup ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - input
- name of the group to delete.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_INVALID_PARM
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to delete a group from the phonebook.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Delete - Related methods ΓòÉΓòÉΓòÉ
-
- Create
-
-
- ΓòÉΓòÉΓòÉ 6.4. DeleteName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The DeleteName method is used to
- /* remove a name from a group.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszGroup ;
- PSZ pszName ;
-
- rc = _DeleteName ( self, pszGroup, pszName ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - input
- name of the group where the name will be removed from.
-
- pszName (PSZ) - input
- name to add into the group
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_INVALID_PARM
-
-
- ΓòÉΓòÉΓòÉ <hidden> Create - Notes ΓòÉΓòÉΓòÉ
-
- If you delete a name from the phone book, the name is automatically removed
- from all the groups it is referenced in.
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to remove a name from a group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> DeleteName - Related methods ΓòÉΓòÉΓòÉ
-
- AddName
- Delete [name]
-
-
- ΓòÉΓòÉΓòÉ 6.5. GetAllNames ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetAllNames method is used to
- /* get the list of all the groups in
- /* the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszVal ;
- PULONG pulLen ;
-
- rc = _GetAllNames ( self, pszVal, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszBuffer (PSZ) - output
- receives the list of groups. If this field is NULL, the pulLen parameter
- receives the actual length to be returned.
- The list is terminated by a double NULL character. All the names in the
- list are separated by NULL characters.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetAllNames - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get all the group names in the phone book.
-
-
- ΓòÉΓòÉΓòÉ 6.6. GetGroupContents ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetGroupContents - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetGroupContents method is used to
- /* get the list of all the groups in
- /* the phonebook.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszGroup ;
- PSZ pszVal ;
- PULONG pulLen ;
-
- rc = _GetGroupContents ( self, pszGroup, pszVal, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetGroupContents - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - output
- name of the group
-
- pszBuffer (PSZ) - output
- receives the list of names. If this field is NULL, the pulLen parameter
- receives the actual length to be returned.
- The list is terminated by a double NULL character. All the names in the
- list are separated by NULL characters.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetGroupContents - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetGroupContents - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get all the names in a group.
-
-
- ΓòÉΓòÉΓòÉ 6.7. GetOwner ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The GetOwner method is used to
- /* get the name of the group
- /* owner.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _GetOwner ( self, pszBuf, pulLen ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszBuffer (PSZ) - output
- receives the owner. If this field is NULL, the pulLen parameter receives
- the actual length to be returned.
-
- pulLen (PULONG) - input/output
- On input, contains the size of the buffer pointed by pszBuf. On output,
- receives the length of returned data. If pszBuf is set to NULL, pulLen
- must contain 0. Then, on output it will receive the size of the required
- memory.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the name of the owner of the group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> GetOwner - Related methods ΓòÉΓòÉΓòÉ
-
- SetOwner
-
-
- ΓòÉΓòÉΓòÉ 6.8. SetOwner ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The SetOwner method is used to
- /* set the name of the group
- /* owner.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszBuf ;
- PULONG pulLen ;
-
- rc = _SetOwner ( pszBuf ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszBuf (PSZ) - input
- receives the information to set. The information is NULL terminated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to get the owner of the group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> SetOwner - Related methods ΓòÉΓòÉΓòÉ
-
- GetOwner
-
-
- ΓòÉΓòÉΓòÉ 6.9. Setup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Setup method is used to
- /* perform initialization before using
- /* a group object.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
- PSZ pszOwner ;
- PULONG pulLen ;
-
- rc = _Setup ( pszOwner ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszOwner (PSZ) - input
- identifier of the owner of the entry in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Notes ΓòÉΓòÉΓòÉ
-
- Calling this method is imperative before any use of the object. If a call to a
- method is made bfore calling the Setup method, the call will return an error
- FAX_PHONEBOOKNOTSETUP.
-
- The parameter pszOwner is the name of the owner of the entry. No control is
- made in this version of the API, but later versions will use the name of the
- owner to perform control.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to perform the setup of the group before calling any other
- method.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Setup - Related methods ΓòÉΓòÉΓòÉ
-
- Text
-
-
- ΓòÉΓòÉΓòÉ 6.10. Update ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The Update method is used to update
- /* a group.
- /***************************************
-
- APIRET rc ;
- FaxGroup * self ;
-
- rc = _Update ( self ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Parameters ΓòÉΓòÉΓòÉ
-
- self (FaxGroup *) - input
- group object
-
- pszGroup (PSZ) - input
- name of the group to update.
-
- pszContents (PSZ) - input
- new list of names in the group. The names are separated by NULL
- characters, and the last name is terminated by a double NULL character. If
- this parameter is NULL, no name is added.
-
- ulLen (ULONG) - input
-
- size of the buffer pointed by pszContents. If pszContents is NULL, this
- parameter must be 0.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- FAX_PHONEBOOKOK
-
- FAX_PHONEBOOKNOTSETUP
-
- FAX_PHONEBOOKERROR_UNKNOWN
-
- FAX_PHONEBOOKERROR_OUTOF_MEMORY
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Notes ΓòÉΓòÉΓòÉ
-
- Before calling this method, the group must have been previously created.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Usage ΓòÉΓòÉΓòÉ
-
- Call this method to update a group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> Update - Related methods ΓòÉΓòÉΓòÉ
-
- Create
- Delete
-
-
- ΓòÉΓòÉΓòÉ 7. Presentation Printer Driver ΓòÉΓòÉΓòÉ
-
- All applications that produce printed documents, dialog with printers in the
- same way. Fax/PM printer driver acts as any other printer driver.
-
- In fact using our API througth DevPostDeviceMode does not change any source
- code inside your application.
-
- Since our Printer driver have been designed for OS/2 2.1, 32bit and 16bit
- applications act in the same way.
-
- This API is supported in ALL Fax/PM configuration.
-
- Using Fax/PM printer driver API to give your application a Send fax capability
- that does not add many extra source code in your existing application(s). Since
- we are using the standard print API, a fax capability can be added in 2 days
- job. As you will see in the sample source code, ONLY 3 source lines have been
- added to the print program and able it to send faxes.
-
- DevPostDeviceMode syntax
- FAX parameters
- Example
-
-
- ΓòÉΓòÉΓòÉ 7.1. DevPostDeviceMode ΓòÉΓòÉΓòÉ
-
- ULONG ulLength;
- HAB hab;
- PSZ pszDriverName;
- PSZ pszDeviceName;
- PSZ pszPrinterName;
- DRIVDATA *pDrivData;
- FAXDRIVERDATA *pFaxDriverData;
-
- ulLength = DevPostDeviceMode(hab,
- pDrivData,
- pszDriverName,
- pszDeviceName,
- pszPrinterName,
- DPDM_QUERYJOBPROP);
- pFaxDriverData = (FAXDRIVERDATA *) &pDrivData->abGeneralData[0];
-
-
- ΓòÉΓòÉΓòÉ 7.2. FAX parameters ΓòÉΓòÉΓòÉ
-
- typedef struct _FAXDRIVERDATA
- {
- CHAR szFaxName[LEN_FAXNAME];
- CHAR szRecipient[LEN_RECIPIENT];
- CHAR szComment[LEN_COMMENTS];
- CHAR szLogo[LEN_LOGO];
- CHAR szFrom[LEN_FROM];
- CHAR szFax[LEN_MYFAXNUMBER];
- CHAR szPhone[LEN_MYPHONENUMBER];
- CHAR szContents[LEN_CONTENTS];
- CHAR szStartTime[16];
- CHAR szEndTime[16];
- ULONG ulRecipientType;
- ULONG ulHold;
- ULONG ulDialogRet;
- CHAR szTo[LEN_TO];
- } FAXDRIVERDATA;
-
- szFaxName (ASCIISZ) - input
- Full fax file name to generated by FAXPM printer driver
-
- szRecipient (ASCIISZ) - input
- recipient of the Fax. It could be
-
- o a full fax phone number including special modem's characters
-
- o a recipient name found in FAXPM phonebook.
-
- o a group of recipient name found in FAXPM phonebook.
-
- szComment (ASCIISZ) - input
- A comment for the job created in the Workplace printer object.
-
- szLogo (ASCIISZ) - input
- A BITMAP file used as logo on the first page of the fax.
-
- szFrom (ASCIISZ) - input
- Name of the fax sender
-
- szFax (ASCIISZ) - input
- Fax phone number of the fax sender
-
- szPhone (ASCIISZ) - input
- Phone number of the fax sender
-
- szContents (ASCIISZ) - input
- A short description of the fax.
-
- szStartTime (CHAR16) - input
- The start time at which fax could be sent. Time must be specified in the
- following format:
-
- YYYY-MM-DD-hh.mm
- where:
- YYYY = year
- MM = month
- DD = day
- hh = hour (0 to 23)
- mm = seconds
-
- szEndTime (CHAR16) - input
- The time limit at which FAXPM must hold fax transmission. Time must be
- specified in the following format:
-
- YYYY-MM-DD-hh.mm
- where:
- YYYY = year
- MM = month
- DD = day
- hh = hour (0 to 23)
- mm = seconds
-
- ulRecipientType (ULONG) - input
- Flag that descibe the szRecipient contents
-
- DESTINATION_IS_PHONE 0
- DESTINATION_IS_NAME 1
- DESTINATION_IS_LIST 2
-
- ulHold (ULONG) - input
- Flag that creates the fax in a hold state
-
- ulDialogRet (ULONG) - input
- NOT USED - RESERVED for future usage
-
- szTo (ASCIISZ) - input
- Recipient name of the fax
-
-
- ΓòÉΓòÉΓòÉ 7.3. Example ΓòÉΓòÉΓòÉ
-
- #include "faxapi.h"
-
- BOOL MyFaxSend(HAB hab,
- PSZ pszQueueName,
- PSZ pszPrinterName,
- PSZ pszDriverName,
- PSZ pszDeviceName,
- PSZ pszMyFaxDocumentName,
- PSZ pszMyFaxPhoneNumber)
- {
- USHORT usRc;
- PDRIVDATA pDrivData;
- DEVOPENSTRUC dopData;
- HDC hDC;
- HPS hPS;
- ULONG ulLength;
- FAXDRIVERDATA *pFaxDriverData;
-
- // ========================================================================
- // Ask for driver data length
- // ========================================================================
- ulLength = DevPostDeviceMode(hab,
- NULL,
- pszDriverName,
- pszDeviceName,
- pszPrinterName,
- DPDM_QUERYJOBPROP);
- if (ulLength == 0L) {
- return(FALSE);
- };
- // ========================================================================
- // allocate meory for driver data
- // ========================================================================
- pDrivData = (PBYTE) malloc(ulLength);
- // ========================================================================
- // call again to get driver data
- // ========================================================================
- ulLength = DevPostDeviceMode(hab,
- pDrivData,
- pszDriverName,
- pszDeviceName,
- pszPrinterName,
- DPDM_QUERYJOBPROP);
-
- // ================================================================
- // Start of FAX send
- // ================================================================
- pFaxDriverData = (FAXDRIVERDATA *) &pDrivData->abGeneralData[0];
- strcpy(pFaxDriverData->szFaxName, pszMyFaxDocumentName);
- strcpy(pFaxDriverData->szRecipient, pszMyFaxPhoneNumber);
- // ================================================================
- // End of FAX send
- // ================================================================
-
- memset((PBYTE) &dopData, 0, sizefo(dopData));
- dopData┬╖pszLogAddress = pszQueueName;
- dopData┬╖pszDriverName = pszDriverName;
- dopData┬╖pDriv = pDrivData;
- dopData┬╖pszDataType = "PM_Q_RAW";
- hDC = DevOpenDC(hab,
- OD_QUEUED,
- "*",
- 9L,
- (PDEVOPENDATA) &dopData,
- NULL);
- free(pDrivData);
-
- // ========================================================================
- // Now !
- // - Create your Presentaion space
- // - Call DevEscape(┬╖┬╖┬╖ DEVESC_STARTDOC┬╖┬╖┬╖)
- // - Draw your graphics
- // - Call DevEscape(┬╖┬╖┬╖ DEVESC_ENDDOC┬╖┬╖┬╖)
- // - Destroy Presentation space
- // - DevCloseDC(hDC);
- // ========================================================================
- return(TRUE);
- }
-
-
- ΓòÉΓòÉΓòÉ 8. Rexx API ΓòÉΓòÉΓòÉ
-
- This section describes the REXX functions that can access Fax/PM. All the
- Fax/PM REXX functions are located in the FAXREXX.DLL file.
-
-
- ΓòÉΓòÉΓòÉ 8.1. FaxLoadFuncs ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxLoadFuncs - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The FaxLoadFuncs function is used to get
- /* a name in the phonebook.
- /***************************************
-
- RC = FaxLoadFuncs('') ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxLoadFuncs - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to register all the Fax/PM REXX API functions to use them in
- the REXX routine.
-
-
- ΓòÉΓòÉΓòÉ <hidden> FaxLoadFuncs - Notes ΓòÉΓòÉΓòÉ
-
- Just add the following lines to register all the functions before using them :
-
- x=RxFuncAdd('FaxLoadFuncs','faxrexx','FaxLoadFuncs')
- x=FaxLoadFuncs('')
-
- Note: You can also register only the needed functions, for example :
-
- x=RxFuncAdd('RxAddName','faxrexx','RxAddName')
-
-
- ΓòÉΓòÉΓòÉ 8.2. RxAddGroup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddGroup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxAddGroup function is used to add
- /* a group in the phonebook.
- /***************************************
-
- RC = RxAddGroup(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddGroup - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the group to add.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddGroup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddGroup - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to add a group in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddGroup - Related methods ΓòÉΓòÉΓòÉ
-
- RxDelName
-
-
- ΓòÉΓòÉΓòÉ 8.3. RxAddName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxAddName function is used to add
- /* a name in the phonebook.
- /***************************************
-
- RC = RxAddName(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name information that is to be entered in the phonebook. This
- information is a string whose format is :
-
- "keyname_1=value_1;keyname_2=value_2;...;keyname_n=value_n"
-
- The keynames are the following :
-
- ACTIVITY : activity of the recipient
- AREACODE : area code of the recipient
- CITY : city of the recipient
- COMPANY : company of the recipient
- COUNTRY : country of the recipient
- COUNTRYCODE : country code of the recipient
- DIVISION : division of the recipient
- EXTENSION : extension of the recipient
- EXTERNALCALL : external call flag of the recipient ("YES" or "NO")
- NAME : name of the recipient (required)
- STATE : state of the recipient
- TEL : fax number of the recipient
- ZIP : zip code of the recipient
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Notes ΓòÉΓòÉΓòÉ
-
- The NAME is required to add a name in the phone book.
-
- If a value contains the = sign or the ; sign, you have to use the escape
- character ^. If you need the ^ character, character use the sequence ^^.
-
- Example : if the company name to add is ABC;DEF, the setup string will contain
- :
-
- "....;COMPANY=ABC^;DEF;...."
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to add a name in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddName - Related methods ΓòÉΓòÉΓòÉ
-
- RxDelName
-
-
- ΓòÉΓòÉΓòÉ 8.4. RxAddToGroup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxAddToGroup function is used to add
- /* a name in a group.
- /***************************************
-
- RC = RxAddToGroup(name,group,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name to add in the group.
-
- group
- this is the group the name will be added to.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Notes ΓòÉΓòÉΓòÉ
-
- The name to add must have been added to the phone book before adding it to the
- group. Use the RxAddName function.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to add a name in a group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxAddToGroup - Related methods ΓòÉΓòÉΓòÉ
-
- RxDeleteFromGroup
-
-
- ΓòÉΓòÉΓòÉ 8.5. RxDeleteFromGroup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxDeleteFromGroup function is
- /* used to delete a name from a group.
- /***************************************
-
- RC = RxDeleteFromGroup(name,group,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name to delete from the group.
-
- group
- this is the group the name will be removed from.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Notes ΓòÉΓòÉΓòÉ
-
- When the last name is removed from a group, this group is deleted.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to remove a name from a group.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDeleteFromGroup - Related methods ΓòÉΓòÉΓòÉ
-
- RxAddToGroup
-
-
- ΓòÉΓòÉΓòÉ 8.6. RxDelGroup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelGroup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxDelGroup function is used to
- /* delete a group in the phonebook.
- /***************************************
-
- RC = RxDelGroup(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelGroup - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the group to remove.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelGroup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelGroup - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to delete a group in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelGroup - Related methods ΓòÉΓòÉΓòÉ
-
- RxAddGroup
-
-
- ΓòÉΓòÉΓòÉ 8.7. RxDelName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /******************************************
- /* The RxDelName function is used to delete
- /* a name from the phonebook.
- /******************************************
-
- RC = RxDelName(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelName - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name to delete (case-sensitive)
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelName - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to remove a name from the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxDelName - Related methods ΓòÉΓòÉΓòÉ
-
- RxAddName
-
-
- ΓòÉΓòÉΓòÉ 8.8. RxGetAllGroups ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Notes
- Return Values
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllGroups - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxGetAllGroups function is used to
- /* get the list of all the groups.
- /***************************************
-
- RC = RxGetAllGroups(variable,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllGroups - Parameters ΓòÉΓòÉΓòÉ
-
- variable
- this is the name of a compound variable that will receive the list of the
- groups.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllGroups - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllGroups - Notes ΓòÉΓòÉΓòÉ
-
- The name of the compound variable must be terminated by a dot ('.').
-
- RxGetAllGroups ("list.","")
-
- In this case, list.0 will contain the number of groups defined. The names will
- be stored in list.1, list.2 ... list.n.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllGroups - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get the list of all the group names.
-
-
- ΓòÉΓòÉΓòÉ 8.9. RxGetAllNames ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNames - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxGetAllNames function is used to
- /* get the list of all the names.
- /***************************************
-
- RC = RxGetAllNames(variable,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNames - Parameters ΓòÉΓòÉΓòÉ
-
- variable
- this is the name of a compound variable that will receive the list of the
- names.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNames - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNames - Notes ΓòÉΓòÉΓòÉ
-
- The name of the compound variable must be terminated by a dot ('.').
-
- RxGetAllNames ("list.","")
-
- In this case, list.0 will contain the number of names defined. The names will
- be stored in list.1, list.2 ... list.n.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNames - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get the list of all the names.
-
-
- ΓòÉΓòÉΓòÉ 8.10. RxGetAllNamesInGroup ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNamesInGroup - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxGetAllNamesInGroup function is used to
- /* get the list of all the names.
- /***************************************
-
- RC = RxGetAllNamesInGroup(variable,group,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNamesInGroup - Parameters ΓòÉΓòÉΓòÉ
-
- variable
- this is the name of a compound variable that will receive the list of the
- names.
-
- group
- this is the name of the group to list. names.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNamesInGroup - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNamesInGroup - Notes ΓòÉΓòÉΓòÉ
-
- The name of the compound variable must be terminated by a dot ('.').
-
- RxGetAllNamesInGroup ("list.","")
-
- In this case, list.0 will contain the number of names defined in the group. The
- names will be stored in list.1, list.2 ... list.n.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetAllNamesInGroup - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get the list of all the names.
-
-
- ΓòÉΓòÉΓòÉ 8.11. RxGetName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxGetName function is used to get
- /* a name in the phonebook.
- /***************************************
-
- RC = RxGetName(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetName - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name to get from the phonebook.
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- information about the name. This is the same format as the 1st parameter in
- the RxAddName.
-
- number : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetName - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to get a name from the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxGetName - Related methods ΓòÉΓòÉΓòÉ
-
- RxAddName
-
-
- ΓòÉΓòÉΓòÉ 8.12. RxSendAsciiFax ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendAsciiFax - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxSendAsciiFax function is used to
- /* send a fax with Fax/PM.
- /***************************************
-
- RC = RxSendAsciiFax(command,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendAsciiFax - Parameters ΓòÉΓòÉΓòÉ
-
- command
- this is a list of pairs keyname=value, that gives the information about
- the fax you want to send. The format of the string is the following :
-
- "keyname_1=value_1;keyname_2=value_2;...;keyname_n=value_n"
-
- The keynames are the following :
-
- FILE : name of the file to send (required). This must be an ASCII file
- OUTFILE : name of the file to send (required). Name of the generated Fax
- file. If this file exists, it is overwritten.
- BITMAP : name of an OS/2 bitmap file to be included at the top of the fax.
- FONT : number indicating the size of the font. If not specified, the
- default font is 10.
- BOLD : indicates if the characters are displayed in boldface. The
- authorized values are YES and NO. The default value is no boldface.
- FAXNUM : fax phone number (required). This number must include the dialing
- prefixes if the EXTERNAL information is not provided.
- EXTERNAL : indicates if the call is external. The dialing prefix will be
- added to the dialing number. The authorized values are YES and NO.
- HEADER : indicates if a header must be included. Authorized values are YES
- and NO. If NO is specified, or if this key is not found in the string, the
- following keys are ignored.
- HEADERLOGO : name of the logo. This must be a valid bitmap file name. The
- full path must be specified.
- HEADERFROM : name of the sender.
- HEADERFROMFAX : fax number of the sender.
- HEADERFROMPHONE : phone number of the sender.
- HEADERCOMMENT : comment. Carriage return may be indicated as "\n"
- characters.
- HEADERTO : name of the recipient.
-
- user
- name of Fax/PM user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendAsciiFax - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0 : the function has failed
-
- other : the ID of the request that you have submitted.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendAsciiFax - Notes ΓòÉΓòÉΓòÉ
-
- If a value contains the = sign or the ; sign, you have to use the escape
- character ^. If you need the ^ character, character use the sequence ^^.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendAsciiFax - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to send an ASCII file. If a bitmap is specified, it is
- included at the top of the fax. You can also specify a header file.
-
-
- ΓòÉΓòÉΓòÉ 8.13. RxSendFax ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendFax - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxSendFax function is used to
- /* send a fax with Fax/PM.
- /***************************************
-
- RC = RxSendFax(command,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendFax - Parameters ΓòÉΓòÉΓòÉ
-
- command
- this is a list of pairs keyname=value, that gives the information about
- the fax you want to send. The format of the string is the following :
-
- "keyname_1=value_1;keyname_2=value_2;...;keyname_n=value_n"
-
- The keynames are the following :
-
- FILE : name of the file to send (required)
- FAXNUM : fax phone number (required). This number must include the dialing
- prefixes if the EXTERNAL information is not provided.
- FORMAT : the format of the file to send. Acceptable values are Fax and
- Ascii (case sensitive)
- EXTERNAL : indicates if the call is external. The dialing prefix will be
- added to the dialing number.
- HEADER : indicates if a header must be included. Authorized values are YES
- and NO. If NO is specified, or if this key is not found in the string, the
- following keys are ignored.
- HEADERLOGO : name of the logo. This must be a valid bitmap file name. The
- full path must be specified.
- HEADERFROM : name of the sender.
- HEADERFROMFAX : fax number of the sender.
- HEADERFROMPHONE : phone number of the sender.
- HEADERCOMMENT : comment. Carriage return may be indicated as "\n"
- characters.
- HEADERTO : name of the recipient.
-
- user
- name of Fax/PM user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendFax - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0 : the function has failed
-
- other : the ID of the request that you have submitted.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendFax - Notes ΓòÉΓòÉΓòÉ
-
- If a value contains the = sign or the ; sign, you have to use the escape
- character ^. If you need the ^ character, character use the sequence ^^.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxSendFax - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to send a fax with Fax/PM.
-
-
- ΓòÉΓòÉΓòÉ 8.14. RxUpdateName ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
- Related methods
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RxUpdateName function is used to
- /* update a name in the phonebook.
- /***************************************
-
- RC = RxUpdateName(name,user) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Parameters ΓòÉΓòÉΓòÉ
-
- name
- this is the name information that is to be updated in the phonebook. This
- information is a string whose format is :
-
- "keyname_1=value_1;keyname_2=value_2;...;keyname_n=value_n"
-
- The keynames are the following :
-
- ACTIVITY : activity of the recipient
- AREACODE : area code of the recipient
- CITY : city of the recipient
- COMPANY : company of the recipient
- COUNTRY : country of the recipient
- COUNTRYCODE : country code of the recipient
- DIVISION : division of the recipient
- EXTENSION : extension of the recipient
- EXTERNALCALL : external call flag of the recipient ("YES" or "NO")
- NAME : name of the recipient (required)
- STATE : state of the recipient
- TEL : fax number of the recipient
- ZIP : zip code of the recipient
-
- user
- name of the phone book user - required but not used
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Return Values ΓòÉΓòÉΓòÉ
-
- The possible return values are the following :
-
- 0
-
- non 0 : Error code
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Notes ΓòÉΓòÉΓòÉ
-
- The NAME is required to add a name in the phone book.
-
- The fields that are not referenced in the name parameter are not updated.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Usage ΓòÉΓòÉΓòÉ
-
- Call this function to update a name in the phone book.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RxUpdateName - Related methods ΓòÉΓòÉΓòÉ
-
- RxAddName
- RxDelName
- RxGetName
-
-
- ΓòÉΓòÉΓòÉ 9. External routine on receive ΓòÉΓòÉΓòÉ
-
- Fax/PM allows you to call an external routine when a fax has been received.
-
-
- ΓòÉΓòÉΓòÉ 9.1. Description ΓòÉΓòÉΓòÉ
-
- Fax/PM allows you to call an external routine when a fax has been received.
- When a fax has been received, Fax/PM looks for a DLL called FAXEXIT2.DLL, and
- try to call a function called FAXRECEIVED.
-
- The steps to perform to define your own external routine are the following :
-
- 1. Create a DLL called FAXEXIT2 that contains a FAXRECEIVED function. The
- FAXRECEIVED function must be exported.
- 2. Copy this DLL in a directory that is referenced in the LIBPATH statement
- of the CONFIG.SYS file.
-
-
- ΓòÉΓòÉΓòÉ 9.2. RECEIVEDFAX ΓòÉΓòÉΓòÉ
-
- Function Syntax
- Parameters
- Return Values
- Notes
- Usage
-
-
- ΓòÉΓòÉΓòÉ <hidden> RECEIVEDFAX - Function Syntax ΓòÉΓòÉΓòÉ
-
- /***************************************
- /* The RECEIVEDFAX function is called
- /* when a fax has been received.
- /***************************************
-
- APIRET APIENTRY RECEIVEDFAX ( PSZ pszFile, PSZ pszId, ULONG ulChannel ) ;
-
-
- ΓòÉΓòÉΓòÉ <hidden> RECEIVEDFAX - Parameters ΓòÉΓòÉΓòÉ
-
- pszFile (PSZ) - input
- this is the full path name of the received fax.
-
- pszId (PSZ) - input
- this is the identifier of the remote fax machine that has sent the Fax.
-
- ulChannel (PSZ) - input
- this is the channel number. In this version, it is always 1.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RECEIVEDFAX - Return Values ΓòÉΓòÉΓòÉ
-
- The return value is a unsigned long integer. Fax/PM does not interpret the
- return code. Any value is accepted.
-
-
- ΓòÉΓòÉΓòÉ <hidden> RECEIVEDFAX - Notes ΓòÉΓòÉΓòÉ
-
- The function must be declared with _System linkage. (APIENTRY).
-
-
- ΓòÉΓòÉΓòÉ <hidden> RECEIVEDFAX - Usage ΓòÉΓòÉΓòÉ
-
- This function is called when a fax has been successfully received. This
- function allows you to customize the action taken when a fax has been received.
- For instance, you can run an archive program, an OCR program, or perform any
- other processing.
-
-
- ΓòÉΓòÉΓòÉ 9.3. Sample ΓòÉΓòÉΓòÉ
-
- In the FAXAPI subdirectory, you will find the following files :
-
- faxexit2.c : this is the C source of the sample.
- faxexit2.mak : this is the makefile of the sample.
- faxexit2.def : this is the module definition file.
- faxexit2.dll : this is the sample DLL.
-
- This sample runs the Fax/PM Viewer that displays the received fax.
-
- Note: The MAKEFILE assumes that all the environment variables that are
- necessary for compile and link (INCLUDE, PATH, LIB...) have been correctly
- set.