API Guide Home
(Online version only)

Contacts.h File Reference

Include dependency graph for Contacts.h:

Go to the source code of this file.

Defines

Typedefs

Enumerations

Functions


Define Documentation

#define CONTACTS_LIB_TRAP   SYS_TRAP

Definition at line 38 of file Contacts.h.

#define ContactsAllCategories   dmAllCategories

Definition at line 94 of file Contacts.h.

#define ContactsLabelLength   16

Definition at line 102 of file Contacts.h.

#define ContactsLibCreatorID   'P1CT'

Definition at line 43 of file Contacts.h.

Referenced by ContactsLib_OpenLibrary().

#define ContactsLibErrAlreadyInWriteMode   (ContactsLibErrorClass | 20)

Definition at line 74 of file Contacts.h.

#define ContactsLibErrAppInfoIsMising   (ContactsLibErrorClass | 26)

Definition at line 79 of file Contacts.h.

#define ContactsLibErrAttachAlreadyExist   (ContactsLibErrorClass | 13)

Definition at line 67 of file Contacts.h.

#define ContactsLibErrAttachNotExist   (ContactsLibErrorClass | 14)

Definition at line 68 of file Contacts.h.

#define ContactsLibErrAttachOverflow   (ContactsLibErrorClass | 17)

Definition at line 71 of file Contacts.h.

#define ContactsLibErrAttachOverFlow   (ContactsLibErrorClass | 15)

Definition at line 69 of file Contacts.h.

#define ContactsLibErrCategoryNotFound   (ContactsLibErrorClass | 5)

Definition at line 59 of file Contacts.h.

#define ContactsLibErrContactNotFound   (ContactsLibErrorClass | 12)

Definition at line 66 of file Contacts.h.

#define ContactsLibErrContactNotLocked   (ContactsLibErrorClass | 31)

Definition at line 84 of file Contacts.h.

#define ContactsLibErrEmptyContact   (ContactsLibErrorClass | 10)

Definition at line 64 of file Contacts.h.

#define ContactsLibErrFieldNotFound   (ContactsLibErrorClass | 23)

Definition at line 76 of file Contacts.h.

#define ContactsLibErrInvalidAppInfoBlock   (ContactsLibErrorClass | 25)

Definition at line 78 of file Contacts.h.

#define ContactsLibErrInvalidField   (ContactsLibErrorClass | 18)

Definition at line 72 of file Contacts.h.

#define ContactsLibErrInvalidHandle   (ContactsLibErrorClass | 2)

Definition at line 56 of file Contacts.h.

#define ContactsLibErrInvalidParam   (ContactsLibErrorClass | 3)

Definition at line 57 of file Contacts.h.

#define ContactsLibErrInvalidReference   (ContactsLibErrorClass | 11)

Definition at line 65 of file Contacts.h.

#define ContactsLibErrInvalidSessionHandle   (ContactsLibErrorClass | 21)

Definition at line 75 of file Contacts.h.

#define ContactsLibErrLibAlreadyInUse   (ContactsLibErrorClass | 6)

Definition at line 60 of file Contacts.h.

#define ContactsLibErrLibStillOpen   (ContactsLibErrorClass | 32)

Definition at line 85 of file Contacts.h.

Referenced by ContactsLib_CloseLibrary().

#define ContactsLibErrListNotExist   (ContactsLibErrorClass | 30)

Definition at line 83 of file Contacts.h.

#define ContactsLibErrMaxLimitReached   (ContactsLibErrorClass | 29)

Definition at line 82 of file Contacts.h.

#define ContactsLibErrorClass   (appErrorClass | 0x7300)

Definition at line 54 of file Contacts.h.

#define ContactsLibErrOutOfMemory   (ContactsLibErrorClass | 8)

Definition at line 62 of file Contacts.h.

#define ContactsLibErrReadOnlySession   (ContactsLibErrorClass | 27)

Definition at line 80 of file Contacts.h.

#define ContactsLibErrRecordNotFound   (ContactsLibErrorClass | 16)

Definition at line 70 of file Contacts.h.

#define ContactsLibErrSizeParamOverFlow   (ContactsLibErrorClass | 9)

Definition at line 63 of file Contacts.h.

#define ContactsLibErrStringNotFound   (ContactsLibErrorClass | 24)

Definition at line 77 of file Contacts.h.

#define ContactsLibErrTooManyClients   (ContactsLibErrorClass | 1)

Definition at line 55 of file Contacts.h.

#define ContactsLibErrTooManySession   (ContactsLibErrorClass | 19)

Definition at line 73 of file Contacts.h.

#define ContactsLibErrUIdExist   (ContactsLibErrorClass | 28)

Definition at line 81 of file Contacts.h.

#define ContactsLibErrUIdNotFound   (ContactsLibErrorClass | 4)

Definition at line 58 of file Contacts.h.

#define ContactsLibErrVerNotSupported   (ContactsLibErrorClass | 7)

Definition at line 61 of file Contacts.h.

#define ContactsLibGetLastErr   (sysLibTrapCustom + 64)

Definition at line 372 of file Contacts.h.

#define ContactsLibName   "ContactsLib-P1CT"

Definition at line 49 of file Contacts.h.

Referenced by ContactsLib_OpenLibrary().

#define ContactsLibTrapAddContact   (sysLibTrapCustom + 8)

Definition at line 327 of file Contacts.h.

#define ContactsLibTrapCategoryFind   (sysLibTrapCustom + 39)

Definition at line 365 of file Contacts.h.

#define ContactsLibTrapCloseSession   (sysLibTrapCustom + 24)

Definition at line 322 of file Contacts.h.

#define ContactsLibTrapCreateHandle   (sysLibTrapCustom + 90)

Definition at line 324 of file Contacts.h.

#define ContactsLibTrapDeleteContact   (sysLibTrapCustom + 9)

Definition at line 329 of file Contacts.h.

#define ContactsLibTrapDoesFieldExist   (sysLibTrapCustom + 36)

Definition at line 338 of file Contacts.h.

#define ContactsLibTrapGetBinaryField   (sysLibTrapCustom + 58)

Definition at line 353 of file Contacts.h.

#define ContactsLibTrapGetCategoryList   (sysLibTrapCustom + 2)

Definition at line 361 of file Contacts.h.

#define ContactsLibTrapGetCategoryName   (sysLibTrapCustom + 27)

Definition at line 363 of file Contacts.h.

#define ContactsLibTrapGetContact   (sysLibTrapCustom + 12)

Definition at line 331 of file Contacts.h.

#define ContactsLibTrapGetDateField   (sysLibTrapCustom + 54)

Definition at line 351 of file Contacts.h.

#define ContactsLibTrapGetFieldLabel   (sysLibTrapCustom + 31)

Definition at line 355 of file Contacts.h.

#define ContactsLibTrapGetFirstContact   (sysLibTrapCustom + 10)

Definition at line 334 of file Contacts.h.

#define ContactsLibTrapGetLabelText   (sysLibTrapCustom + 82)

Definition at line 357 of file Contacts.h.

#define ContactsLibTrapGetNextCategory   (sysLibTrapCustom + 37)

Definition at line 362 of file Contacts.h.

#define ContactsLibTrapGetNextContact   (sysLibTrapCustom + 11)

Definition at line 335 of file Contacts.h.

#define ContactsLibTrapGetNumOfRecord   (sysLibTrapCustom + 28)

Definition at line 332 of file Contacts.h.

#define ContactsLibTrapGetRingtoneForCategory   (sysLibTrapCustom + 91)

Definition at line 368 of file Contacts.h.

#define ContactsLibTrapGetStringField   (sysLibTrapCustom + 56)

Definition at line 352 of file Contacts.h.

#define ContactsLibTrapGetUInt16Field   (sysLibTrapCustom + 52)

Definition at line 349 of file Contacts.h.

#define ContactsLibTrapGetUInt32Field   (sysLibTrapCustom + 63)

Definition at line 350 of file Contacts.h.

#define ContactsLibTrapGetUInt8Field   (sysLibTrapCustom + 50)

Definition at line 348 of file Contacts.h.

#define ContactsLibTrapGetVersion   (sysLibTrapCustom)

Definition at line 319 of file Contacts.h.

#define ContactsLibTrapIsEmptyContact   (sysLibTrapCustom + 30)

Definition at line 339 of file Contacts.h.

#define ContactsLibTrapLookUpString   (sysLibTrapCustom + 40)

Definition at line 370 of file Contacts.h.

#define ContactsLibTrapOpenSession   (sysLibTrapCustom + 23)

Definition at line 321 of file Contacts.h.

#define ContactsLibTrapPosInCategory   (sysLibTrapCustom + 48)

Definition at line 366 of file Contacts.h.

#define ContactsLibTrapReleaseHandle   (sysLibTrapCustom + 4)

Definition at line 325 of file Contacts.h.

#define ContactsLibTrapRenameCustomLabel   (sysLibTrapCustom + 33)

Definition at line 359 of file Contacts.h.

#define ContactsLibTrapSeekRecord   (sysLibTrapCustom + 35)

Definition at line 333 of file Contacts.h.

#define ContactsLibTrapSetBinaryField   (sysLibTrapCustom + 59)

Definition at line 345 of file Contacts.h.

#define ContactsLibTrapSetCategoryName   (sysLibTrapCustom + 38)

Definition at line 364 of file Contacts.h.

#define ContactsLibTrapSetDateField   (sysLibTrapCustom + 55)

Definition at line 343 of file Contacts.h.

#define ContactsLibTrapSetFieldLabel   (sysLibTrapCustom + 32)

Definition at line 356 of file Contacts.h.

#define ContactsLibTrapSetStringField   (sysLibTrapCustom + 57)

Definition at line 344 of file Contacts.h.

#define ContactsLibTrapSetUInt16Field   (sysLibTrapCustom + 53)

Definition at line 342 of file Contacts.h.

#define ContactsLibTrapSetUInt8Field   (sysLibTrapCustom + 51)

Definition at line 341 of file Contacts.h.

#define ContactsLibTrapUpdateContact   (sysLibTrapCustom + 7)

Definition at line 328 of file Contacts.h.

#define ContactsLibTypeID   sysFileTLibrary

Definition at line 44 of file Contacts.h.

Referenced by ContactsLib_OpenLibrary().

#define ContactsNumCategories   dmRecNumCategories

Definition at line 93 of file Contacts.h.

#define ContactsSeekBackward   dmSeekBackward

Definition at line 97 of file Contacts.h.

#define ContactsSeekForward   dmSeekForward

Definition at line 96 of file Contacts.h.

#define ContactsUnfiledCategory   dmUnfiledCategory

Definition at line 95 of file Contacts.h.

#define PALM_OS

Definition at line 88 of file Contacts.h.


Typedef Documentation

typedef MemHandle ContactsContHandle

Definition at line 90 of file Contacts.h.

typedef DateType ContactsDateType

Definition at line 99 of file Contacts.h.

typedef char ContactsLabel[ContactsLabelLength]

Definition at line 103 of file Contacts.h.

typedef MemHandle ContactsSession

Definition at line 91 of file Contacts.h.


Enumeration Type Documentation

Enumerator:
ContactsChatLabel 
ContactsAddressLabel 
ContactsPhoneLabel 

Definition at line 271 of file Contacts.h.

Enumerator:
contactsLastName 
contactsFirstName 
contactsCompany 
contactsTitle 
contactsPhone1 
contactsPhone2 
contactsPhone3 
contactsPhone4 
contactsPhone5 
contactsPhone6 
contactsPhone7 
contactsChat1 
contactsChat2 
contactsWebpage 
contactsCustom1 
contactsCustom2 
contactsCustom3 
contactsCustom4 
contactsCustom5 
contactsCustom6 
contactsCustom7 
contactsCustom8 
contactsCustom9 
contactsAddress1 
contactsCity1 
contactsState1 
contactsZipCode1 
contactsCountry1 
contactsAddress2 
contactsCity2 
contactsState2 
contactsZipCode2 
contactsCountry2 
contactsAddress3 
contactsCity3 
contactsState3 
contactsZipCode3 
contactsCountry3 
contactsNote 
contactsBirthdate 
contactsBirthdayMask 
contactsBirthdayPreset 
contactsPicture 
contactsUniqueID 
contactsIndex 
contactsCategoryID 
contactsPrivate 
contactsBusy 
contactsDirty 
contactsRingtoneInfo 
contactsAnniversaryDate 
contactsAnniversaryMask 
contactsAnniversaryPreset 
contactsNumFields 

Definition at line 128 of file Contacts.h.

Enumerator:
contactsBinaryPictureData 
contactsBinaryRingtoneIdentifier 

Definition at line 306 of file Contacts.h.

Enumerator:
contactsCustomCustom1 
contactsCustomCustom2 
contactsCustomCustom3 
contactsCustomCustom4 
contactsCustomCustom5 
contactsCustomCustom6 
contactsCustomCustom7 
contactsCustomCustom8 
contactsCustomCustom9 

Definition at line 242 of file Contacts.h.

Enumerator:
contactsDateBirthdate 
contactsDateAnniversary 

Definition at line 278 of file Contacts.h.

Enumerator:
contactsNoType 
contactsWorkPhone 
contactsHomePhone 
contactsFaxPhone 
contactsOtherPhone 
contactsEmailPhone 
contactsMainPhone 
contactsPagerPhone 
contactsMobilePhone 
contactsOtherChat 
contactsAimChat 
contactsMsnChat 
contactsYahooChat 
contactsIcqChat 
contactsWorkAddress 
contactsHomeAddress 
contactsOtherAddress 

Definition at line 106 of file Contacts.h.

00107 {
00108     contactsNoType,
00109     contactsWorkPhone,      // applicable to Phone1-7 fields
00110     contactsHomePhone,      // applicable to Phone1-7 fields
00111     contactsFaxPhone,       // applicable to Phone1-7 fields
00112     contactsOtherPhone,     // applicable to Phone1-7 fields
00113     contactsEmailPhone,     // applicable to Phone1-7 fields
00114     contactsMainPhone,      // applicable to Phone1-7 fields
00115     contactsPagerPhone,     // applicable to Phone1-7 fields
00116     contactsMobilePhone,    // applicable to Phone1-7 fields
00117     contactsOtherChat,      // applicable to Chat1 & Chat2 fields
00118     contactsAimChat,        // applicable to Chat1 & Chat2 fields
00119     contactsMsnChat,        // applicable to Chat1 & Chat2 fields
00120     contactsYahooChat,      // applicable to Chat1 & Chat2 fields
00121     contactsIcqChat,        // applicable to Chat1 & Chat2 fields
00122     contactsWorkAddress,    // applicable to Address1-3 fields
00123     contactsHomeAddress,    // applicable to Address1-3 fields
00124     contactsOtherAddress    // applicable to Address1-3 fields
00125 }   ContactsLibFieldLabels;

Enumerator:
contactsStrLastName 
contactsStrFirstName 
contactsStrCompany 
contactsStrTitle 
contactsStrPhone1 
contactsStrPhone2 
contactsStrPhone3 
contactsStrPhone4 
contactsStrPhone5 
contactsStrPhone6 
contactsStrPhone7 
contactsStrChat1 
contactsStrChat2 
contactsStrWebpage 
contactsStrCustom1 
contactsStrCustom2 
contactsStrCustom3 
contactsStrCustom4 
contactsStrCustom5 
contactsStrCustom6 
contactsStrCustom7 
contactsStrCustom8 
contactsStrCustom9 
contactsStrAddress1 
contactsStrCity1 
contactsStrState1 
contactsStrZipCode1 
contactsStrCountry1 
contactsStrAddress2 
contactsStrCity2 
contactsStrState2 
contactsStrZipCode2 
contactsStrCountry2 
contactsStrAddress3 
contactsStrCity3 
contactsStrState3 
contactsStrZipCode3 
contactsStrCountry3 
contactsStrNote 

Definition at line 193 of file Contacts.h.

00194 {
00195     contactsStrLastName,
00196     contactsStrFirstName,
00197     contactsStrCompany,
00198     contactsStrTitle,
00199     
00200     contactsStrPhone1,          // phone fields, all can accept a label
00201     contactsStrPhone2,
00202     contactsStrPhone3,
00203     contactsStrPhone4,
00204     contactsStrPhone5,
00205     contactsStrPhone6,
00206     contactsStrPhone7,
00207         
00208     contactsStrChat1,           // instant message id and service, both can accept a label
00209     contactsStrChat2,
00210     
00211     contactsStrWebpage,
00212         
00213     contactsStrCustom1,         // custom fields
00214     contactsStrCustom2,
00215     contactsStrCustom3,
00216     contactsStrCustom4,
00217     contactsStrCustom5,
00218     contactsStrCustom6,
00219     contactsStrCustom7,
00220     contactsStrCustom8,
00221     contactsStrCustom9,
00222         
00223     contactsStrAddress1,        // first set of address fields, Address1 can accept a label
00224     contactsStrCity1,
00225     contactsStrState1,
00226     contactsStrZipCode1,
00227     contactsStrCountry1,    
00228     contactsStrAddress2,        // second set of address fields, Address2 can accept a label
00229     contactsStrCity2,
00230     contactsStrState2,
00231     contactsStrZipCode2,
00232     contactsStrCountry2,    
00233     contactsStrAddress3,        // third set of address fields, Address3 can accept a label
00234     contactsStrCity3,
00235     contactsStrState3,
00236     contactsStrZipCode3,
00237     contactsStrCountry3,    
00238     
00239     contactsStrNote             // This field is assumed to be < 32K
00240 } ContactsLibStrFields;

Enumerator:
contactsUInt16Index 
contactsUInt16Category 

Definition at line 284 of file Contacts.h.

Enumerator:
contactsUInt32UniqueID 

Definition at line 290 of file Contacts.h.

Enumerator:
contactsUInt8Private 
contactsUInt8Busy 
contactsUInt8Dirty 
contactsUInt8BirthdayMask 
contactsUInt8BirthdayPreset 
contactsUInt8AnniversaryMask 
contactsUInt8AnniversaryPreset 

Definition at line 295 of file Contacts.h.

Enumerator:
contactsWithLabelPhone1 
contactsWithLabelPhone2 
contactsWithLabelPhone3 
contactsWithLabelPhone4 
contactsWithLabelPhone5 
contactsWithLabelPhone6 
contactsWithLabelPhone7 
contactsWithLabelChat1 
contactsWithLabelChat2 
contactsWithLabelAddress1 
contactsWithLabelAddress2 
contactsWithLabelAddress3 

Definition at line 255 of file Contacts.h.

Enumerator:
ContactsLibSessionModeReadOnly 
ContactsLibSessionModeReadWrite 

Definition at line 312 of file Contacts.h.

00313 {
00314     ContactsLibSessionModeReadOnly  = 0x0001,
00315     ContactsLibSessionModeReadWrite = 0x0003
00316 } SessionMode;


Function Documentation

Err ContactsAddContact ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hContact 
)

UInt16 ContactsCategoryFind ( UInt16  libRefnum,
ContactsSession  hSession,
const Char pCatName 
)

Err ContactsCloseSession ( UInt16  libRefnum,
ContactsSession  hCurSession 
)

ContactsContHandle ContactsCreateHandle ( UInt16  libRefnum,
ContactsSession  hSession 
)

Err ContactsDeleteContact ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hContact,
Boolean  archive 
)

Boolean ContactsDoesFieldExist ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibAllFields  NameOfField 
)

void* ContactsGetBinaryField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibBinaryFields  NameOfField,
UInt16 pDataSize 
)

void ContactsGetCategoryList ( UInt16  libRefnum,
ContactsSession  hSession,
char *  pCategoryList[ContactsNumCategories] 
)

Char* ContactsGetCategoryName ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16  categoryIndex 
)

ContactsContHandle ContactsGetContact ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16 indexP,
UInt32 uniqueIDP,
Boolean  ignored 
)

Err ContactsGetDateField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibDateFields  NameOfField,
DateType *  pFieldValue 
)

Int16 ContactsGetFieldLabel ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibWithLabelFields  FieldNum 
)

ContactsContHandle ContactsGetFirstContact ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16  category 
)

char* ContactsGetLabelText ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsLabelType  type,
UInt16  labelNum,
UInt16 pSizeOfBuffer 
)

Err ContactsGetLastError ( UInt16  libRefnum  ) 

UInt16 ContactsGetNextCategory ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16  currentCategory 
)

ContactsContHandle ContactsGetNextContact ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hSourceContact,
UInt16  Category 
)

UInt16 ContactsGetNumRecords ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16  category 
)

Err ContactsGetRingtoneForCategory ( UInt16  libRefnum,
UInt16  categoryID,
void *  tone 
)

Err ContactsGetStringField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibStrFields  NameOfField,
char **  pFieldValue 
)

Err ContactsGetUInt16Field ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibUInt16Fields  NameOfField,
UInt16 pFieldValue 
)

Err ContactsGetUInt32Field ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibUInt32Fields  NameOfField,
UInt32 pFieldValue 
)

Err ContactsGetUInt8Field ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibUInt8Fields  NameOfField,
UInt8 pFieldValue 
)

UInt32 ContactsGetVersion ( UInt16  libRefnum  ) 

Boolean ContactsIsEmptyContact ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hCont,
UInt16 Index,
UInt32 UniqueID 
)

__inline Err ContactsLib_CloseLibrary ( UInt16 refNumP  ) 

Definition at line 452 of file Contacts.h.

References ContactsLibErrLibStillOpen.

00453 {
00454     Err error;
00455     
00456     if (*refNumP == sysInvalidRefNum)
00457     {
00458         return sysErrParamErr;
00459     }
00460 
00461     error = ContactsLibClose(*refNumP);
00462 
00463     if (error == errNone)
00464     {
00465         /* no users left, so unload library */
00466         SysLibRemove(*refNumP);
00467         
00468         *refNumP = sysInvalidRefNum;    // invalidate so caller cannot use any longer.
00469     } 
00470     else if (error == ContactsLibErrLibStillOpen)
00471     {
00472         /* don't unload library, but mask "still open" from caller  */
00473         error = errNone;
00474     }
00475     
00476     return error;
00477 }

__inline Err ContactsLib_OpenLibrary ( UInt16 refNumP  ) 

Definition at line 400 of file Contacts.h.

References ContactsLibCreatorID, ContactsLibName, and ContactsLibTypeID.

00401 {
00402     Err error;
00403     Boolean loaded = false;
00404     
00405     /* first try to find the library */
00406     error = SysLibFind(ContactsLibName, refNumP);
00407     
00408     /* If not found, load the library instead */
00409     if (error == sysErrLibNotFound)
00410     {
00411         error = SysLibLoad(ContactsLibTypeID, ContactsLibCreatorID, refNumP);
00412         loaded = true;
00413     }
00414     
00415     if (error == errNone)
00416     {
00417         error = ContactsLibOpen(*refNumP);
00418         if (error != errNone)
00419         {
00420             if (loaded)
00421             {
00422                 SysLibRemove(*refNumP);
00423             }
00424 
00425             *refNumP = sysInvalidRefNum;
00426         }
00427     }
00428     
00429     return error;
00430 }

ContactsContHandle ContactsLookUpString ( UInt16  libRefnum,
ContactsSession  hSession,
Char key,
Boolean  sortByCompany,
UInt16  category,
Boolean completeMatch,
UInt16 pNumMatchingChars,
Boolean  masked 
)

ContactsSession ContactsOpenSession ( UInt16  libRefnum,
SessionMode  mode 
)

UInt16 ContactsPosInCategory ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hContact,
UInt16 pIndex,
UInt16  category 
)

Err ContactsReleaseHandle ( UInt16  libRefnum,
ContactsContHandle  hContact 
)

Err ContactsRenameCustomLabel ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsLibCustomFields  fieldNum,
Char fieldLabel 
)

Boolean ContactsSeekRecord ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16 indexP,
UInt16  offset,
Int16  direction,
UInt16  category 
)

Err ContactsSetBinaryField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibBinaryFields  NameOfField,
void *  pFieldData,
UInt16  DataSize 
)

void ContactsSetCategoryName ( UInt16  libRefnum,
ContactsSession  hSession,
UInt16  categoryIndex,
const Char pCatName 
)

Err ContactsSetDateField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibDateFields  nameOfField,
ContactsDateType  fieldValue 
)

void ContactsSetFieldLabel ( UInt16  libRefnum,
ContactsContHandle  hToCont,
ContactsLibWithLabelFields  FieldNum,
Int16  LabelIndex 
)

Err ContactsSetStringField ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibStrFields  nameOfField,
char *  FieldValue 
)

Err ContactsSetUInt16Field ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibUInt16Fields  NameOfField,
UInt16  FieldValue 
)

Err ContactsSetUInt8Field ( UInt16  libRefnum,
ContactsContHandle  hContact,
ContactsLibUInt8Fields  nameOfField,
UInt8  fieldValue 
)

Err ContactsUpdateContact ( UInt16  libRefnum,
ContactsSession  hSession,
ContactsContHandle  hContact 
)


Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:56 2008 for Palm API Guide