_MSG_CONTACT_S Struct Reference

#include <Msg_Mapi_Contact.h>


Detailed Description

Represents a contact.

This structure includes the contact basic information. It can present various contact type such as telephone number, email address and so on.

This structure is extendable. Please refer to Extendability (see Messaging API [2]) .


Data Fields

MSG_CONTACT_TYPE_T contactType
unsigned char * contactVal
MSG_STRING_S contactName
size_t extDataSize
void * pExtData

Field Documentation

Indicates contact type.

Two types are predefined:

MSG_CONTACT_TYPE_EMAIL is for email address like abc@example.com

MSG_CONTACT_TYPE_PLMN is for phone number like +10123456789

The value of the contact. It should be encoded in ASCII.

For example, the real phone number or email address.

Indicates the display name of this contact.

Indicates the size of the extension data which pExtData point to. The unit is byte.

Extension data for contact.

Some data that is not covered in the structure can be put here, such as picture data and so on.


The documentation for this struct was generated from the following file:
Generated on Mon Mar 31 01:01:00 2008 by  doxygen 1.5.4