diff --git a/bazaar/MAPIEx/MAPIMessage.cpp b/bazaar/MAPIEx/MAPIMessage.cpp index bd43456fe..5f8728d98 100644 --- a/bazaar/MAPIEx/MAPIMessage.cpp +++ b/bazaar/MAPIEx/MAPIMessage.cpp @@ -220,17 +220,19 @@ bool MAPIMessage::MarkAsRead(bool bRead) { } bool MAPIMessage::AddRecipients(LPADRLIST pAddressList) { - HRESULT hr=E_INVALIDARG; + HRESULT hr = E_INVALIDARG; #ifdef _WIN32_WCE - hr=Message()->ModifyRecipients(MODRECIP_ADD, pAddressList); + hr = Message()->ModifyRecipients(MODRECIP_ADD, pAddressList); #else LPADRBOOK pAddressBook; - if(m_pMAPI->GetSession()->OpenAddressBook(0, NULL, AB_NO_DIALOG, &pAddressBook)!=S_OK) return false; + if(m_pMAPI->GetSession()->OpenAddressBook(0, NULL, AB_NO_DIALOG, &pAddressBook) != S_OK) + return false; - if(pAddressBook->ResolveName(0, MAPIEx::cm_nMAPICode, NULL, pAddressList)==S_OK) hr=Message()->ModifyRecipients(MODRECIP_ADD, pAddressList); + if(pAddressBook->ResolveName(0, MAPIEx::cm_nMAPICode, NULL, pAddressList) == S_OK) + hr = Message()->ModifyRecipients(MODRECIP_ADD, pAddressList); RELEASE(pAddressBook); #endif - return (hr==S_OK); + return (hr == S_OK); } // AddrType only needed by Windows CE, use SMTP, or SMS etc, default NULL will not set PR_ADDRTYPE diff --git a/bazaar/MAPIEx/MAPIMessage.h b/bazaar/MAPIEx/MAPIMessage.h index 65a35c72b..3ac6a1f6b 100644 --- a/bazaar/MAPIEx/MAPIMessage.h +++ b/bazaar/MAPIEx/MAPIMessage.h @@ -74,7 +74,7 @@ public: String GetReplyTo(); bool AddRecipients(LPADRLIST pAddressList); - bool AddRecipient(const String &email, int nType=MAPI_TO, const char* szAddrType=NULL); // MAPI_CC and MAPI_BCC also valid + bool AddRecipient(const String &email, int nType = MAPI_TO, const char* szAddrType = NULL); void SetSubject(const String &subject); void SetSender(const String &senderName, const String &senderEmail); bool SetReceivedTime(const Time &tm); diff --git a/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tpp b/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tpp index 7a5717302..9f5437bd7 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tpp +++ b/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tpp @@ -25,58 +25,67 @@ ublic][3 _][*@3;3 MAPIObject]&] [ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&] [s4; &] [s5;:MAPIAttachment`:`:GetDisplayName`(`): [_^String^ String]_[* GetDisplayName]()&] -[s2;%% &] +[s2;%% Gets the display name of the message store.&] [s3; &] [s4; &] [s5;:MAPIAttachment`:`:GetFileName`(`): [_^String^ String]_[* GetFileName]()&] -[s2;%% &] +[s2;%% Gets the suggested file name for saving the attachment. File +name length is restricted to eight characters plus a three`-character +extension.&] [s3; &] [s4; &] [s5;:MAPIAttachment`:`:GetLongFileName`(`): [_^String^ String]_[* GetLongFileName]()&] -[s2;%% &] +[s2;%% Gets the suggested file name for saving the attachment.&] [s3; &] [s4; &] [s5;:MAPIAttachment`:`:SetDisplayName`(const String`&`): [@(0.0.255) bool]_[* SetDisplayN ame]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szDisplayName])&] -[s2;%% [%-*@3 szDisplayName].&] +[s2;%% Sets with [%-*@3 szDisplayName] the display name of the message +store.&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:SetFileName`(const String`&`): [@(0.0.255) bool]_[* SetFileName]([@(0.0.255) c onst]_[_^String^ String]_`&[*@3 szFileName])&] -[s2;%% [%-*@3 szFileName].&] +[s2;%% Sets with [%-*@3 szFileName ]the suggested file name for saving +the attachment. File name length is restricted to eight characters +plus a three`-character extension.&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:SetLongFileName`(const String`&`): [@(0.0.255) bool]_[* SetLongFil eName]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szLongFileName])&] -[s2;%% [%-*@3 szLongFileName].&] +[s2;%% Sets with [%-*@3 szLongFileName] the suggested file name for +saving the attachment.&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:LoadAttachment`(const String`&`): [@(0.0.255) bool]_[* LoadAttachm ent]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szPath])&] -[s2;%% [%-*@3 szPath].&] +[s2;%% Loads an attachment from file [%-*@3 szPath].&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:SaveAttachment`(const String`&`): [@(0.0.255) bool]_[* SaveAttachm ent]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szPath])&] -[s2;%% [%-*@3 szPath].&] +[s2;%% Saves an attachment to file [%-*@3 szPath].&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:OpenStream`(bool`): [@(0.0.255) bool]_[* OpenStream]([@(0.0.255) boo l]_[*@3 bCreate]_`=_[@(0.0.255) false])&] -[s2;%% [%-*@3 bCreate].&] +[s2;%% Opens an attachment. If [%-*@3 bCreate]. is true, a new attachment +is created.&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:Read`(BYTE`*`,int`): [@(0.0.255) int]_[* Read](BYTE[@(0.0.255) `*]_[*@3 p Data], [@(0.0.255) int]_[*@3 nCount])&] -[s2;%% [%-*@3 pData] [%-*@3 nCount].&] +[s2;%% Reads [%-*@3 nCount ]bytes from last attachment stream opened +with OpenStream(false) and sets it in [%-*@3 pData].&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:Write`(BYTE`*`,int`): [@(0.0.255) int]_[* Write](BYTE[@(0.0.255) `*]_ [*@3 pData], [@(0.0.255) int]_[*@3 nCount])&] -[s2;%% [%-*@3 pData] [%-*@3 nCount].&] +[s2;%% Writes [%-*@3 nCount] bytes from [%-*@3 pData] to last attachment +stream opened with OpenStream(true).&] [s3;%% &] [s4; &] [s5;:MAPIAttachment`:`:CloseStream`(`): [@(0.0.255) void]_[* CloseStream]()&] -[s2;%% &] +[s2;%% Closes last opened stream.&] [s3; &] [s0;%% ] \ No newline at end of file diff --git a/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tppi b/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tppi index 346ee4acf..c34f8dd05 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tppi +++ b/bazaar/MAPIEx/src.tpp/MAPIAttachment$en-us.tppi @@ -1,7 +1,8 @@ TITLE("class MAPIAttachment: public MAPIObject") COMPRESSED -120,156,205,150,255,111,218,70,24,198,255,149,147,104,34,64,12,221,87,223,217,214,36,186,100,237,166,165,75,180,76,170,42,203,197,7,92,19,175,198,166,216,84,218,162,228,111,223,123,198,196,54,161,138,201,47,109,20,97,113,247,60,239,251,121,222,59,66,2,138,94,189,194,35,220,195,207,252,120,231,230,147,222,36,69,24,196,156,43,95,83,225,127,254,227,210,245,173,159,128,159,73,194,148,96,132,83,7,94,8,35,84,80,198,137,162,46,87,140,41,236,205,19,157,231,97,144,80,165,74,19,29,209,30,149,130,18,201,21,87,132,73,69,193,75,49,166,88,82,65,56,83,84,120,11,147,207,195,0,131,156,65,15,215,97,46,38,24,75,66,48,163,18,51,193,9,97,20,74,80,73,9,22,158,73,23,97,240,155,227,91,3,183,161,132,3,232,14,84,227,28,67,117,107,227,140,48,76,153,32,174,112,188,153,185,137,211,67,145,196,179,145,36,246,226,194,44,171,68,154,251,195,137,240,9,88,157,145,211,147,208,150,11,104,230,218,68,12,108,148,58,194,37,130,3,18, -199,212,91,155,47,155,120,109,150,38,45,170,10,49,33,148,248,51,34,125,64,120,120,120,24,19,142,183,147,146,192,66,48,112,83,2,107,144,67,18,225,98,87,40,162,48,147,156,10,9,209,87,122,173,151,85,146,25,167,126,149,67,141,84,207,33,14,76,20,43,224,23,46,20,192,16,2,158,48,72,1,191,76,121,69,101,182,62,107,114,71,110,15,134,196,4,150,46,150,92,10,14,73,40,113,8,12,18,219,252,112,12,94,154,173,151,58,9,131,187,233,61,10,208,221,29,177,183,100,210,135,3,25,115,58,198,3,20,228,216,63,57,65,193,112,34,125,142,222,189,190,250,253,117,81,232,249,109,153,57,188,191,63,13,173,162,4,46,199,62,233,227,49,30,3,227,0,163,198,222,227,177,120,237,18,145,23,109,239,148,135,130,218,202,80,117,207,24,154,134,193,144,237,247,181,235,30,236,52,29,171,205,44,137,231,59,203,132,249,91,215,229,236,31,51,47,66,139,226,250,232,114,83,36,89,246,25,45,77,158,235,27,131,244,99,205,177,85,48,24,220,22,218,62,118,227, -120,211,39,84,13,222,150,175,19,82,79,4,157,101,105,94,172,55,243,34,91,163,133,41,116,156,236,38,194,203,2,185,56,20,119,111,165,31,13,60,91,108,47,98,127,96,11,80,219,169,250,204,162,121,221,174,162,237,68,121,85,14,6,189,51,197,109,182,64,23,113,94,116,161,124,107,138,243,56,95,37,250,223,63,245,210,84,148,211,143,215,197,58,78,111,62,162,237,51,156,66,253,182,178,9,94,67,62,215,234,77,156,152,14,125,118,178,151,53,185,200,210,155,142,141,154,210,23,52,187,222,27,94,121,114,85,139,232,180,236,92,95,93,52,203,178,164,108,124,189,55,201,166,168,44,1,170,167,196,209,169,189,238,40,255,175,233,173,145,81,112,242,211,211,253,234,2,85,145,158,201,82,15,173,123,144,122,122,71,166,120,52,30,138,240,184,121,20,127,251,224,187,103,104,223,130,35,115,180,204,135,178,180,4,221,243,92,100,122,209,252,243,209,49,78,219,118,116,154,43,93,220,30,76,81,110,28,113,26,250,171,121,1,125,219,246,221,232,47,87,38,133,226,70,47,163, -190,101,251,38,111,45,108,179,238,4,208,124,118,6,219,133,1,202,159,167,77,201,39,157,228,135,46,204,78,223,157,246,47,163,23,81,255,151,15,127,255,26,13,163,81,12,139,123,184,176,84,210,90,97,88,10,155,187,209,176,34,93,157,235,66,135,163,67,86,216,77,207,178,13,188,121,10,188,181,237,222,85,178,238,244,239,215,240,143,89,39,252,82,249,195,241,159,37,89,110,118,151,101,31,253,107,22,47,74,246,134,234,27,223,51,229,215,120,248,63,205,59,123,185, +120,156,205,151,125,111,219,54,16,198,191,10,129,52,129,29,184,6,95,245,138,1,238,146,165,43,150,46,193,50,96,24,4,53,150,109,218,214,42,75,174,72,167,235,130,228,179,239,72,201,182,236,102,141,220,246,143,5,129,133,144,119,199,231,247,220,17,86,34,138,94,188,192,61,124,132,159,249,9,206,229,52,89,101,58,142,82,206,189,48,161,34,124,255,203,149,31,154,124,2,249,204,37,204,19,140,112,234,192,7,97,132,10,202,56,241,168,207,61,198,60,28,140,179,68,169,56,202,168,231,217,36,218,163,71,212,21,148,184,220,227,30,97,174,71,33,151,98,76,177,75,5,225,204,163,34,152,72,53,142,35,12,225,12,206,240,29,230,99,130,177,75,8,102,212,197,76,112,66,24,133,18,212,165,4,139,64,230,147,56,250,217,9,77,2,55,80,194,1,233,14,84,227,28,67,117,147,198,25,97,152,50,65,124,225,4,35,57,75,243,167,144,196,179,72,46,14,82,45,23,53,81,194,195,211,129,8,9,164,58,61,231,200,133,99,185,128,195,124,67,196,32,141,82,71,248, +68,112,144,196,49,13,74,249,97,149,150,114,33,115,93,87,72,9,161,36,28,17,55,4,9,143,143,143,125,194,113,229,148,11,90,8,6,221,148,192,26,112,184,68,248,216,23,30,241,48,115,57,21,46,160,47,147,50,89,212,36,35,78,195,154,195,235,121,71,14,113,192,81,236,129,126,225,67,1,12,16,240,4,35,5,252,50,47,208,117,178,201,51,73,126,207,63,2,147,152,192,174,143,93,238,10,14,36,148,56,4,140,196,134,31,218,16,228,69,185,72,178,56,186,191,125,64,17,186,191,39,102,74,6,29,104,72,159,211,62,238,162,72,225,240,248,24,69,167,3,55,228,232,237,171,235,55,175,180,78,198,115,203,28,63,60,156,196,38,194,10,182,182,15,58,184,143,251,160,177,139,81,99,111,211,150,96,183,196,48,24,86,51,21,160,104,155,202,80,61,103,12,221,198,209,41,219,63,215,172,7,176,211,204,88,174,70,89,58,94,167,12,88,88,101,93,141,254,146,99,29,27,41,126,136,174,86,58,43,138,247,104,33,149,74,102,18,37,155,154,125,19,193,192,184,74, +180,121,172,237,184,232,16,234,117,95,219,207,1,217,58,130,206,138,92,233,114,53,214,69,137,38,82,39,105,182,118,132,219,2,74,60,133,187,183,210,25,118,3,83,108,15,177,211,53,5,168,57,169,190,179,104,188,61,174,86,219,74,229,181,53,6,189,149,122,94,76,208,101,170,116,27,149,175,165,62,79,213,50,75,62,253,154,44,100,173,242,246,221,141,46,211,124,246,14,85,207,248,22,234,239,70,54,133,195,142,66,122,46,209,164,218,71,57,4,160,98,106,215,214,45,80,128,35,27,60,207,169,186,72,51,217,66,210,58,236,73,61,106,53,155,73,165,229,4,77,33,172,146,53,133,38,170,228,14,74,216,144,198,100,160,139,77,80,38,243,153,158,163,84,161,18,242,203,116,108,106,232,2,201,116,54,135,6,205,225,6,194,82,169,208,50,91,41,148,64,165,82,202,225,203,205,6,146,127,107,153,171,180,200,15,32,190,44,242,89,75,234,102,232,119,32,111,169,241,102,111,86,236,160,214,202,134,39,86,240,246,166,162,81,81,100,86,239,205,222,224,52,131,108,9,136, +250,28,116,120,98,110,55,82,255,52,115,183,164,55,134,244,99,10,77,138,142,95,126,30,120,208,56,66,185,22,232,219,214,180,231,222,246,232,64,232,77,226,23,137,215,81,40,254,127,77,123,59,67,119,231,189,189,169,187,195,127,160,177,59,201,95,52,119,39,242,171,47,85,11,43,46,139,100,210,252,162,104,233,196,110,218,193,70,92,39,122,222,48,192,84,131,222,230,13,2,52,45,139,69,133,186,49,197,102,29,208,229,228,78,126,5,218,110,218,183,162,153,106,251,104,48,221,223,4,118,181,148,57,156,43,147,197,176,99,100,255,39,202,54,112,23,99,29,0,135,143,206,96,91,75,0,248,225,182,25,50,77,50,213,156,81,83,106,143,163,143,222,76,215,12,235,50,125,115,145,225,253,65,246,224,170,230,242,99,19,27,118,198,54,106,210,30,245,55,153,76,134,157,31,255,252,253,167,225,233,176,151,194,226,30,43,44,89,84,19,24,219,192,230,238,240,180,198,92,158,39,58,137,123,79,165,194,110,126,86,172,224,143,45,173,169,166,214,108,213,46,138,71,159,52,180, +210,206,37,188,56,234,38,154,178,38,163,2,76,130,11,106,175,242,214,251,142,245,178,11,230,77,144,50,87,61,5,47,242,117,245,74,89,123,71,254,40,225,127,137,86,150,216,200,239,231,137,45,183,103,74,140,26,166,236,0,153,33,63,204,37,51,53,221,246,62,156,101,133,146,235,91,176,111,193,93,145,78,172,7,141,168,230,171,138,93,86,149,192,90,78,37,174,249,54,98,223,109,227,127,1,170,153,158,235, diff --git a/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tpp b/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tpp index cfe62a815..31e082f76 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tpp +++ b/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tpp @@ -26,138 +26,144 @@ ublic][3 _][*@3;3 MAPIObject]&] [s4; &] [s5;:MAPIContact`:`:GetName`(ULONG`): [_^String^ String]_[* GetName](ULONG_[*@3 ulNameID]_`= _PR`_DISPLAY`_NAME)&] -[s2;%% [%-*@3 ulNameID].&] +[s2;%% Gets contact name.&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:GetEmail`(int`): [_^String^ String]_[* GetEmail]([@(0.0.255) int]_[*@3 nI ndex]_`=_[@3 1])&] -[s2;%% [%-*@3 nIndex].&] +[s2;%% Gets contact email index [%-*@3 nIndex ](1, 2, or 3).&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:GetEmailDisplayAs`(int`): [_^String^ String]_[* GetEmailDisplayAs]([@(0.0.255) i nt]_[*@3 nIndex]_`=_[@3 1])&] -[s2;%% [%-*@3 nIndex].&] +[s2;%% Gets contact email display text index [%-*@3 nIndex] (1, 2 or +3).&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:GetHomePage`(bool`): [_^String^ String]_[* GetHomePage]([@(0.0.255) boo l]_[*@3 bBusiness]_`=_[@(0.0.255) true])&] -[s2;%% [%-*@3 bBusiness].&] +[s2;%% Gets contact web page address. If [%-*@3 bBusiness] is true +it returns the business home page. If not, it returns the personal +home page.&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:GetPhoneNumber`(ULONG`): [_^String^ String]_[* GetPhoneNumber](ULONG_ [*@3 ulPhoneNumberID])&] -[s2;%% [%-*@3 ulPhoneNumberID].&] -[s3;%% &] -[s4; &] -[s5;:MAPIContact`:`:GetAddress`(ContactAddress`&`,AddressType`): [@(0.0.255) bool]_[* Get -Address]([_^ContactAddress^ ContactAddress][@(0.0.255) `&]_[*@3 address], -ContactAddress`::AddressType_[*@3 nType])&] -[s2;%% [%-*@3 address] [%-*@3 nType].&] +[s2;%% Gets contact phone number index [%-*@3 ulPhoneNumberID]. Valid +values are:&] +[s2;i150;O0;%% PR`_BUSINESS`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_BUSINESS2`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_CALLBACK`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_ASSISTANT`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_BUSINESS`_FAX`_NUMBER&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:GetPostalAddress`(`): [_^String^ String]_[* GetPostalAddress]()&] -[s2;%% &] +[s2;%% Gets contact postal address.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetIMAddress`(`): [_^String^ String]_[* GetIMAddress]()&] -[s2;%% &] +[s2;%% Gets contact instant messenger address.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetFileAs`(`): [_^String^ String]_[* GetFileAs]()&] -[s2;%% &] +[s2;%% Gets the contact filling string.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetTitle`(`): [_^String^ String]_[* GetTitle]()&] -[s2;%% &] +[s2;%% Gets contact company title&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetCompany`(`): [_^String^ String]_[* GetCompany]()&] -[s2;%% &] +[s2;%% Gets contact company name&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetProfession`(`): [_^String^ String]_[* GetProfession]()&] -[s2;%% &] +[s2;%% Gets contact profession&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetDisplayNamePrefix`(`): [_^String^ String]_[* GetDisplayNamePrefix]( )&] -[s2;%% &] +[s2;%% Gets contact display name prefix&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetGeneration`(`): [_^String^ String]_[* GetGeneration]()&] -[s2;%% &] +[s2;%% Gets the contact generational abbreviation that follows the +full name of the recipient.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetDepartment`(`): [_^String^ String]_[* GetDepartment]()&] -[s2;%% &] +[s2;%% Gets contact department.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetOffice`(`): [_^String^ String]_[* GetOffice]()&] -[s2;%% &] +[s2;%% Gets contact office location.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetManagerName`(`): [_^String^ String]_[* GetManagerName]()&] -[s2;%% &] +[s2;%% Gets contact manager name.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetAssistantName`(`): [_^String^ String]_[* GetAssistantName]()&] -[s2;%% &] +[s2;%% Gets contact assistant name.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetNickName`(`): [_^String^ String]_[* GetNickName]()&] -[s2;%% &] +[s2;%% Gets contact nickname.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetSpouseName`(`): [_^String^ String]_[* GetSpouseName]()&] -[s2;%% &] +[s2;%% Gets contact spouse name.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetBirthday`(`): [_^Time^ Time]_[* GetBirthday]()&] -[s2;%% &] +[s2;%% Gets contact birthday date.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetAnniversary`(`): [_^Time^ Time]_[* GetAnniversary]()&] -[s2;%% &] +[s2;%% Gets contact anniversary date.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:GetCategories`(`): [_^String^ String]_[* GetCategories]()&] -[s2;%% &] +[s2;%% Gets a String with all contact categories.&] [s3; &] [s4; &] [s5;:MAPIContact`:`:SetName`(const String`&`,ULONG`): [@(0.0.255) bool]_[* SetName]([@(0.0.255) c onst]_[_^String^ String]_`&[*@3 szName], ULONG_[*@3 ulNameID]_`=_PR`_DISPLAY`_NAME)&] -[s2;%% [%-*@3 szName] [%-*@3 ulNameID].&] +[s2;%% Sets contact name with [%-*@3 szName].&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:SetEmail`(const String`&`,int`): [@(0.0.255) bool]_[* SetEmail]([@(0.0.255) c onst]_[_^String^ String]_`&[*@3 szEmail], [@(0.0.255) int]_[*@3 nIndex]_`=_[@3 1])&] -[s2;%% [%-*@3 szEmail] [%-*@3 nIndex].&] +[s2;%% Sets contact email index [%-*@3 nIndex] with [%-*@3 szEmail].&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:SetEmailDisplayAs`(const String`&`,int`): [@(0.0.255) bool]_[* SetEma ilDisplayAs]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szDisplayAs], [@(0.0.255) int]_[*@3 nIndex]_`=_[@3 1])&] -[s2;%% [%-*@3 szDisplayAs] [%-*@3 nIndex].&] +[s2;%% Sets contact email display text index [%-*@3 nIndex] with [%-*@3 szDisplayAs].&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:SetHomePage`(const String`&`,bool`): [@(0.0.255) bool]_[* SetHomePage ]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szHomePage], [@(0.0.255) bool]_[*@3 bBusines s]_`=_[@(0.0.255) true])&] -[s2;%% [%-*@3 szHomePage] [%-*@3 bBusiness].&] +[s2;%% Sets contact home name [%-*@3 szHomePage]. If [%-*@3 bBusiness].is +true it returns the business home page. If not, it returns the +personal home page.&] [s3;%% &] [s4; &] [s5;:MAPIContact`:`:SetPhoneNumber`(const String`&`,ULONG`): [@(0.0.255) bool]_[* SetPhon eNumber]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szPhoneNumber], ULONG_[*@3 ulPhoneNumberID])&] -[s2;%% [%-*@3 szPhoneNumber] [%-*@3 ulPhoneNumberID].&] +[s2;%% Sets contact phone number index [%-*@3 ulPhoneNumberID] with +[%-*@3 szPhoneNumber]. Valid indexes are:&] +[s2;i150;O0;%% PR`_BUSINESS`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_BUSINESS2`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_CALLBACK`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_ASSISTANT`_TELEPHONE`_NUMBER&] +[s2;i150;O0;%% PR`_BUSINESS`_FAX`_NUMBER&] [s3;%% &] -[s4; &] -[s5;:MAPIContact`:`:SetAddress`(ContactAddress`&`,AddressType`): [@(0.0.255) bool]_[* Set -Address]([_^ContactAddress^ ContactAddress][@(0.0.255) `&]_[*@3 address], -ContactAddress`::AddressType_[*@3 nType])&] -[s2;%% [%-*@3 address] [%-*@3 nType].&] -[s3;%% &] -[s4; &] +[s4;%% &] [s5;:MAPIContact`:`:SetPostalAddress`(AddressType`): [@(0.0.255) bool]_[* SetPostalAddres s](ContactAddress`::AddressType_[*@3 nType])&] [s2;%% Sets contact postal address type from [%-*@3 nType].&] diff --git a/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tppi b/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tppi index 28c29e218..3b4117aa7 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tppi +++ b/bazaar/MAPIEx/src.tpp/MAPIContact$en-us.tppi @@ -1,10 +1,12 @@ TITLE("class MAPIContact : public MAPIObject") COMPRESSED -120,156,221,90,109,111,155,72,16,254,43,43,165,141,156,202,23,237,46,96,48,86,165,164,77,155,68,215,36,86,157,251,112,178,136,141,237,117,194,213,6,31,224,83,123,85,251,219,111,150,215,133,128,89,200,233,62,92,85,197,49,251,60,51,243,204,46,48,51,202,148,162,87,175,112,31,31,225,134,127,230,5,91,219,251,77,104,77,29,85,53,70,54,213,70,95,126,189,27,142,56,159,0,95,209,137,98,104,10,81,233,0,126,16,133,80,141,42,42,49,232,80,53,20,197,192,230,114,99,7,129,53,221,80,195,136,72,180,79,143,168,174,81,162,171,134,106,16,69,55,40,112,41,198,20,235,84,35,170,98,80,205,92,177,96,105,77,49,192,21,240,49,28,40,67,76,48,214,9,193,10,213,177,162,169,132,40,20,76,80,157,18,172,153,204,93,89,211,171,193,136,19,84,46,74,27,64,232,3,176,166,170,24,172,115,154,170,16,5,83,69,35,67,109,96,46,216,163,227,86,73,210,26,37,233,216,116,66,182,77,20,217,234,232,205,153,54,34,64,29,244,7,71,58,184,85, -53,112,54,228,138,20,160,81,58,208,134,68,83,33,36,21,83,211,103,127,238,29,159,109,153,27,38,22,28,66,40,25,45,136,62,130,16,126,254,252,121,74,84,28,103,74,135,88,8,134,184,41,129,107,160,67,39,218,16,15,53,131,24,88,209,85,170,233,32,125,103,251,246,54,81,178,80,233,40,209,97,244,141,163,1,25,64,70,177,1,241,107,67,48,128,65,4,124,66,34,53,248,175,24,102,152,144,57,143,147,134,253,225,17,36,73,209,176,62,196,186,170,107,42,40,161,100,64,32,145,152,235,135,109,48,93,207,223,218,27,107,250,125,246,3,77,209,247,239,132,159,146,179,30,108,200,169,74,79,241,9,154,6,120,244,250,53,154,190,57,211,71,42,186,57,31,95,191,247,220,208,94,134,150,245,227,199,177,197,151,163,104,163,156,159,245,240,41,62,133,0,79,48,18,214,178,61,49,5,254,220,156,199,167,201,68,211,156,167,160,228,132,41,104,102,77,223,40,5,143,252,162,9,151,69,248,110,191,216,56,203,20,127,166,140,98,202,221,226,15,6,12,30,196,112,132, -238,246,225,198,243,190,160,101,108,232,148,95,86,32,73,113,140,252,35,149,254,177,71,168,113,114,25,253,60,35,185,122,4,49,4,161,191,95,134,158,143,86,44,180,157,77,154,0,53,50,16,104,207,212,137,95,123,243,19,147,155,17,229,244,78,56,143,114,7,201,109,201,3,76,189,36,65,74,5,55,142,146,128,110,88,248,228,173,208,39,39,8,27,131,187,100,225,173,189,101,243,222,111,159,238,110,47,163,232,102,15,147,208,119,220,199,7,20,127,90,51,48,157,224,172,24,55,227,41,70,251,13,191,116,125,97,205,230,111,103,227,207,243,217,197,245,100,252,233,252,247,249,236,246,252,230,67,174,10,77,95,255,82,192,39,154,96,169,41,182,15,91,200,240,188,231,184,225,193,208,34,152,213,19,78,4,2,138,21,135,233,94,187,43,246,53,10,114,10,95,137,245,60,178,4,210,50,174,11,39,216,109,236,111,231,129,100,128,25,254,191,140,244,202,219,178,177,253,8,59,188,240,188,205,193,32,83,104,49,60,78,75,226,91,188,219,7,142,203,224,190,140,67,204,65,112, -88,89,69,180,57,65,62,224,241,147,231,178,219,253,118,193,124,153,83,41,192,75,135,83,88,129,51,87,117,28,139,8,249,16,207,87,43,31,68,205,123,201,229,244,251,241,188,159,252,122,255,109,199,162,176,43,18,137,114,11,144,233,217,67,209,200,3,42,126,23,31,115,104,126,156,236,132,157,44,246,75,232,185,105,10,17,36,167,138,255,90,161,63,181,145,29,173,8,215,98,163,188,32,180,55,89,46,14,239,146,136,21,159,120,249,211,237,160,175,235,27,57,63,25,174,131,143,143,206,134,157,55,57,136,65,29,172,223,59,225,134,53,24,143,48,29,108,191,247,182,59,219,253,214,96,61,65,117,176,63,246,189,53,228,212,241,220,166,109,206,128,29,188,36,143,71,254,142,24,251,108,237,124,109,112,246,12,223,193,231,37,115,153,111,135,205,202,114,96,23,101,12,106,178,144,151,135,77,146,50,96,7,47,119,235,181,179,108,58,98,49,168,131,245,27,219,133,87,131,31,23,11,7,93,8,200,14,126,206,225,248,192,179,194,13,37,60,21,176,29,124,221,58,203,47,18, -110,82,88,7,15,147,157,183,15,152,132,143,28,216,193,203,59,199,15,159,86,118,254,0,184,119,182,236,1,241,159,169,253,20,210,101,71,92,215,249,139,249,129,237,31,114,32,160,186,60,193,236,144,61,122,190,195,154,158,191,57,176,173,151,73,90,233,70,197,117,98,150,191,178,243,26,163,234,101,61,73,11,95,113,53,50,1,203,207,163,156,31,71,239,220,224,239,136,212,71,47,40,151,19,27,93,171,231,73,86,61,151,5,167,197,106,141,220,138,98,90,66,111,204,234,163,206,149,109,106,162,91,165,59,121,94,147,119,145,93,83,162,75,232,207,153,47,202,65,110,166,115,30,242,138,191,156,129,172,3,168,73,65,117,3,32,33,62,35,246,43,109,119,105,29,4,163,157,187,137,73,169,155,104,125,231,23,154,139,150,57,17,185,165,231,64,83,103,82,36,191,176,95,153,188,184,95,153,252,15,250,149,201,179,126,69,82,121,169,115,105,31,62,216,8,210,137,19,218,69,214,82,41,40,4,40,90,251,222,182,171,166,91,47,100,21,143,186,166,27,61,162,181,127,165,69, -172,250,91,252,243,253,199,226,238,191,93,219,155,160,54,23,46,55,87,80,159,186,56,69,215,110,118,211,115,171,200,9,225,65,186,114,150,54,167,56,107,20,178,175,112,37,64,176,40,159,172,180,193,43,101,235,64,158,210,110,175,101,162,18,90,141,238,53,172,34,187,172,60,225,200,171,73,26,74,121,49,73,119,217,82,75,204,170,145,18,242,197,146,144,152,32,175,35,107,94,229,149,100,157,108,75,45,41,175,70,205,50,94,46,233,73,73,45,30,52,66,187,44,47,74,236,157,219,190,106,114,106,221,115,39,67,148,212,9,84,121,129,21,157,186,188,206,138,182,189,181,220,136,86,35,117,21,219,71,46,56,0,221,28,250,76,115,196,151,215,43,78,9,228,133,138,35,131,150,10,5,106,141,202,199,12,81,18,39,80,91,108,168,48,160,104,177,147,194,180,162,109,181,156,83,235,182,49,67,148,4,10,84,121,129,233,108,68,94,92,58,40,105,41,44,161,213,136,242,162,213,146,160,132,34,47,166,48,138,145,87,84,152,203,180,148,37,114,107,180,109,99,72,124,223,21, -21,138,236,22,85,107,113,18,36,47,180,52,22,106,41,181,200,174,17,107,167,160,42,185,69,11,45,138,185,108,28,37,175,53,159,77,181,45,230,82,98,93,117,6,235,21,218,50,154,188,44,113,6,38,47,76,28,136,181,148,38,80,107,196,5,17,162,106,239,4,174,188,194,124,254,22,235,227,115,177,195,234,242,113,92,181,54,113,190,150,232,10,183,117,106,22,137,177,130,20,128,183,184,213,196,17,159,172,134,194,196,239,95,144,97,231,246,186,43,17,7,137,45,10,74,97,170,216,182,166,204,169,117,101,101,134,40,87,150,57,85,82,224,149,29,140,157,101,184,247,211,113,114,149,158,28,36,142,72,175,197,246,41,13,237,9,218,16,27,237,98,180,240,151,6,135,203,219,52,130,22,181,109,26,79,219,74,207,14,159,106,75,218,216,102,156,83,103,11,47,152,184,179,114,92,161,210,227,252,98,110,163,191,149,176,254,1,189,107,170,57, +120,156,237,90,107,143,218,200,18,253,43,45,205,38,98,34,22,185,253,192,6,180,210,48,143,36,104,103,24,20,38,87,247,10,57,96,160,153,233,141,177,89,219,36,217,141,146,223,190,213,237,87,219,67,67,59,138,116,191,236,42,154,25,240,57,85,117,170,31,174,42,237,76,71,191,252,162,181,181,51,237,196,127,253,107,178,241,246,126,226,206,168,105,58,3,79,183,6,31,127,191,239,13,24,31,3,223,176,177,225,88,6,54,245,46,252,192,6,214,45,221,48,177,163,247,76,199,48,28,173,191,242,189,56,118,103,190,238,56,156,164,183,245,51,221,182,116,108,155,142,233,96,195,118,116,224,234,154,166,107,182,110,97,211,112,116,171,191,38,241,202,157,105,0,55,192,71,175,107,244,52,172,105,54,198,154,161,219,154,97,153,24,27,58,152,208,109,29,107,86,159,4,107,119,246,182,59,96,4,147,137,178,186,16,122,23,172,153,166,6,214,25,205,52,176,161,233,134,133,123,86,183,191,36,143,52,56,36,201,58,41,201,214,250,52,33,219,76,145,103,14,94,93,88,3,12, +212,110,187,123,102,131,91,211,2,103,61,166,200,0,154,174,119,173,30,182,76,8,201,212,244,126,68,254,220,211,136,108,73,144,100,22,40,198,58,30,44,177,61,128,16,190,127,255,222,193,166,150,102,202,134,88,176,6,113,235,24,190,3,29,54,182,122,90,207,114,176,163,25,182,169,91,54,72,223,121,145,183,205,148,44,77,125,144,233,112,218,206,89,23,119,33,163,154,3,241,91,61,48,160,129,8,248,13,137,180,224,159,225,244,147,140,204,120,140,212,107,247,206,32,73,134,165,217,61,205,54,109,203,4,37,58,238,98,72,164,198,244,195,50,244,131,48,218,122,190,59,251,58,255,134,102,232,235,87,204,118,201,69,11,22,164,99,234,29,237,28,205,98,109,240,226,5,154,189,186,176,7,38,186,27,78,70,87,97,144,120,171,196,117,191,125,123,233,178,199,60,90,158,243,139,150,214,209,58,16,224,185,134,132,103,197,154,244,5,254,162,191,72,119,83,31,205,74,158,129,178,29,102,160,185,59,123,101,84,60,178,47,251,240,181,8,223,237,151,62,93,229,248,11,99,144, +82,238,151,127,16,96,176,32,122,3,116,191,79,252,48,252,136,86,169,161,14,251,218,128,36,165,49,178,95,185,244,215,45,172,59,231,111,248,207,11,92,170,71,16,67,156,68,251,85,18,70,104,77,18,143,250,121,2,76,110,32,182,158,169,19,63,182,22,231,125,102,70,148,211,58,103,60,157,57,200,142,37,11,48,247,146,5,169,20,220,132,39,1,221,145,228,41,92,163,91,26,39,39,131,123,67,146,177,183,37,139,214,251,219,251,241,27,30,221,252,195,52,137,104,240,248,1,165,191,221,57,152,206,112,110,138,155,179,20,163,189,207,190,26,93,187,243,197,111,243,201,187,197,252,122,52,157,220,14,255,183,152,143,135,119,55,165,42,224,198,121,206,81,0,148,76,19,60,58,21,219,205,22,50,188,104,209,32,57,26,26,135,185,45,97,71,32,160,184,105,152,193,40,88,147,47,60,200,25,124,196,174,36,50,194,140,0,15,192,104,246,226,215,146,138,220,22,110,35,189,141,96,205,141,243,134,193,95,211,120,231,123,127,13,99,69,21,5,254,231,200,89,167,230,80,66, +190,36,135,180,185,136,107,107,42,237,109,184,37,19,239,17,246,205,50,12,253,163,170,114,104,85,15,163,101,130,150,151,251,152,6,4,78,123,170,169,4,193,17,32,50,121,159,201,18,237,192,44,242,214,235,8,200,29,52,218,228,210,74,139,136,198,220,10,162,9,138,72,178,143,2,248,252,68,208,50,3,160,39,136,142,219,225,252,32,76,218,117,232,142,68,113,24,120,190,0,85,78,211,228,41,12,200,120,191,93,146,72,229,132,9,240,218,65,19,158,192,121,147,164,100,199,64,40,224,168,234,90,215,13,116,208,127,60,159,174,209,39,207,223,147,24,121,17,233,167,38,41,182,180,193,61,191,79,216,129,190,124,63,29,141,111,166,211,197,252,225,230,246,102,242,246,126,124,3,135,251,253,221,229,205,187,163,120,93,149,112,53,188,189,189,28,94,253,174,138,31,78,167,163,233,195,112,252,208,52,162,197,252,245,240,191,34,82,109,253,194,56,241,252,97,186,195,178,203,91,186,120,34,86,188,212,171,107,196,81,197,166,45,47,247,163,113,140,238,212,98,40,112,82,255,20, +94,44,94,144,160,45,128,72,240,8,27,165,97,40,175,169,79,134,167,226,72,65,207,130,96,199,41,15,100,67,125,31,24,40,230,68,85,239,15,52,241,201,9,231,28,35,77,192,42,220,238,188,0,46,68,134,82,244,122,149,114,78,248,205,80,39,61,179,55,160,162,227,73,20,110,96,109,104,24,156,218,124,5,80,190,243,10,136,162,243,236,77,196,222,241,147,136,108,232,151,19,49,60,195,75,67,201,95,74,44,19,16,23,195,42,198,244,134,4,36,242,146,211,9,41,129,71,119,225,99,1,99,135,114,185,140,200,39,202,63,2,202,131,77,26,250,126,248,57,165,108,246,190,159,70,28,110,248,23,17,89,209,29,133,154,95,117,243,94,19,40,205,19,214,37,156,202,100,1,148,167,176,128,168,122,191,223,108,232,234,212,217,73,65,82,175,33,127,140,252,112,197,147,164,234,250,206,11,224,181,25,165,133,230,81,255,2,82,26,196,54,197,136,149,228,201,8,134,176,241,249,197,167,16,67,5,43,141,2,121,57,172,81,32,99,186,250,168,16,67,14,147,186,15,0,208, +196,239,116,23,238,99,162,224,185,4,74,125,199,28,210,72,246,37,141,146,167,181,87,94,161,15,116,75,62,32,246,51,119,156,67,164,110,151,25,0,173,189,68,125,225,131,128,126,130,10,206,139,142,249,22,80,82,247,94,137,105,20,193,21,96,31,195,136,146,83,47,205,18,248,44,6,47,131,162,207,52,121,66,30,92,68,197,75,165,32,41,197,51,205,219,61,222,97,102,86,23,47,23,237,178,56,61,80,164,163,105,222,253,137,79,185,9,120,252,92,207,226,37,47,91,227,191,57,169,141,126,160,103,156,214,123,198,84,122,86,207,102,150,21,11,241,105,209,71,214,85,231,29,153,68,243,129,182,82,65,116,202,106,163,198,237,219,84,169,27,117,107,153,72,221,53,76,133,208,149,254,72,78,36,77,170,66,114,74,230,207,73,208,233,254,182,154,173,210,191,122,198,202,102,183,158,171,162,249,149,36,235,112,239,171,144,166,130,216,62,104,187,73,215,92,73,26,239,97,249,113,42,50,82,184,58,220,65,119,254,143,29,244,180,214,65,55,190,180,42,13,117,195,37,16,185, +181,43,76,214,141,79,127,172,27,175,109,81,209,113,222,168,115,254,191,157,122,246,199,225,157,82,237,213,179,63,30,254,218,145,163,59,164,218,181,103,38,115,43,253,190,96,38,187,158,216,159,210,53,175,116,247,40,1,40,218,68,225,182,184,147,56,89,125,247,143,195,132,28,184,162,79,93,59,156,214,252,101,205,89,242,11,231,221,195,107,113,230,142,22,191,109,60,63,150,230,34,96,230,42,234,115,23,112,81,4,197,69,195,172,178,11,3,118,56,101,197,76,140,232,38,187,205,99,4,15,213,147,149,79,38,106,217,58,146,167,124,76,209,48,81,25,77,162,123,3,79,161,57,168,41,207,56,234,106,178,73,135,186,152,108,236,209,80,75,202,146,72,225,51,146,154,144,148,160,174,163,152,157,168,43,41,6,41,13,181,228,60,137,154,124,254,82,213,147,147,26,188,146,132,161,140,186,40,113,66,211,244,77,84,82,101,247,78,129,168,169,19,168,234,2,15,12,126,212,117,30,152,2,53,150,203,105,18,169,7,102,71,207,52,115,190,186,94,113,168,164,46,84,156,48,53, +84,40,80,37,42,203,185,84,77,156,64,109,176,160,194,224,169,193,74,10,83,168,166,85,126,73,149,45,99,129,168,9,20,168,234,2,243,217,150,186,184,124,208,213,80,88,70,147,136,202,198,99,85,65,25,69,93,76,101,90,166,174,168,50,58,107,40,75,228,74,180,137,83,183,154,66,145,173,46,179,54,146,83,23,90,155,207,53,148,90,101,75,196,86,103,123,53,185,85,11,13,138,185,98,244,167,174,181,156,3,54,45,230,114,162,172,58,203,230,135,245,2,45,167,169,203,18,39,139,234,194,196,49,99,67,105,2,85,34,78,24,80,214,244,9,92,117,133,229,240,50,213,199,38,135,199,213,149,179,204,195,218,196,9,100,166,43,217,202,212,20,115,79,81,10,192,27,28,53,113,8,170,170,161,50,19,253,9,50,196,249,233,15,43,17,135,169,13,10,74,97,178,218,180,166,44,169,178,178,178,64,212,43,203,146,170,40,240,173,23,79,232,42,217,71,249,144,254,144,158,18,36,142,137,71,98,251,84,76,123,60,54,58,222,165,104,213,249,112,17,65,131,218,54,143,167, +105,165,231,37,79,210,146,54,181,153,230,148,110,217,255,233,193,59,43,26,8,149,30,227,87,115,203,199,9,238,63,172,219,9,178, diff --git a/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tpp b/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tpp index ae1c928e9..a5206e151 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tpp +++ b/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tpp @@ -126,22 +126,25 @@ etNextRecipient]([_^String^ String][@(0.0.255) `&]_[*@3 strName], [_^String^ Str ]_[*@3 strEmail], [@(0.0.255) int`&]_[*@3 nType])&] [s2;%% Gets next recipient data like name in [%-*@3 strName], email in [%-*@3 strEmail] and type in [%-*@3 nType].&] +[s2;%% Valid types are:&] +[s2;i150;O0;%% MAPI`_TO: Recipient is a primary (To) recipient.&] +[s2;i150;O0;%% MAPI`_CC: Recipient is a carbon copy (CC) recipient.&] +[s2;i150;O0;%% MAPI`_BCC: Recipient is a blind carbon copy (BCC) recipient.&] [s3;%% &] [s4; &] [s5;:MAPIMessage`:`:GetReplyTo`(`): [_^String^ String]_[* GetReplyTo]()&] -[s2;%% &] +[s2;%% Gets the recipients that are to get a reply&] [s3; &] -[s4; &] -[s5;:MAPIMessage`:`:AddRecipients`(LPADRLIST`): [@(0.0.255) bool]_[* AddRecipients](LPADR -LIST_[*@3 pAddressList])&] -[s2;%% [%-*@3 pAddressList].&] -[s3;%% &] -[s4; &] +[s4;%% &] [s5;:MAPIMessage`:`:AddRecipient`(const String`&`,int`,const char`*`): [@(0.0.255) bool ]_[* AddRecipient]([@(0.0.255) const]_[_^String^ String]_`&[*@3 email], [@(0.0.255) int]_[*@3 nType][@(0.0.255) `=]MAPI`_TO, [@(0.0.255) const]_[@(0.0.255) char`*]_ [*@3 szAddrType][@(0.0.255) `=]NULL)&] -[s2;%% [%-*@3 email] [%-*@3 nType] [%-*@3 szAddrType].&] +[s2;%% Add a new recipient with [%-*@3 email] and type [%-*@3 nType].&] +[s2;%% Valid types are:&] +[s2;i150;O0;%% MAPI`_TO: Recipient is a primary (To) recipient.&] +[s2;i150;O0;%% MAPI`_CC: Recipient is a carbon copy (CC) recipient.&] +[s2;i150;O0;%% MAPI`_BCC: Recipient is a blind carbon copy (BCC) recipient.&] [s3;%% &] [s4; &] [s5;:MAPIMessage`:`:SetSubject`(const String`&`): [@(0.0.255) void]_[* SetSubject]([@(0.0.255) c diff --git a/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tppi b/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tppi index 3a3b7d06b..994ac25a0 100644 --- a/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tppi +++ b/bazaar/MAPIEx/src.tpp/MAPIMessage$en-us.tppi @@ -1,11 +1,11 @@ TITLE("class MAPIMessage : public MAPIObject") COMPRESSED -120,156,173,89,251,111,218,72,16,254,87,86,77,91,145,136,67,94,63,176,1,85,74,46,105,218,168,36,68,129,94,127,64,14,24,188,105,124,53,54,103,47,73,31,106,255,246,155,125,216,94,243,178,233,93,85,1,182,231,241,125,51,179,179,179,206,88,71,47,95,106,77,237,72,171,248,215,189,32,15,222,42,164,238,56,48,77,167,231,233,86,239,203,135,65,167,199,244,49,232,27,54,54,28,203,192,166,222,134,15,108,96,221,210,13,19,59,122,199,116,12,195,209,186,243,208,75,83,119,28,234,142,195,149,244,166,126,164,219,150,142,109,211,49,29,108,216,142,14,186,186,166,233,154,173,91,216,52,28,221,234,250,36,157,187,99,13,196,13,240,209,105,27,29,13,107,154,141,177,102,232,182,102,88,38,198,134,14,38,116,91,199,154,213,37,145,239,142,223,183,123,76,193,100,164,172,54,64,111,131,53,211,212,192,58,83,51,13,108,104,186,97,225,142,213,238,206,200,231,32,218,70,201,170,164,100,107,221,128,146,133,100,228,153,189,147,83,171,135,65,181,221,108,31,217,224, -214,180,192,89,135,49,50,64,77,215,219,86,7,91,38,64,50,53,189,155,144,127,86,65,66,22,36,162,210,66,128,177,142,123,51,108,247,0,194,175,95,191,90,216,212,68,164,108,192,130,53,192,173,99,184,7,60,108,108,117,180,142,229,96,71,51,108,83,183,108,160,190,244,18,111,33,153,204,76,189,39,121,56,77,231,168,141,219,16,81,205,1,252,86,7,12,104,64,2,190,33,144,22,252,55,156,46,149,202,76,143,41,117,154,157,35,8,146,97,105,118,71,179,77,219,50,129,137,142,219,24,2,169,49,254,144,134,110,20,39,11,47,116,199,63,38,63,209,24,253,248,129,89,149,156,54,32,33,45,83,111,105,199,104,156,106,189,87,175,208,248,228,212,238,153,232,250,236,246,234,154,164,169,247,153,184,238,207,159,175,93,246,152,163,229,49,63,109,104,45,173,5,0,143,53,164,60,203,115,210,85,244,167,221,169,168,166,46,26,23,122,6,146,21,102,160,137,59,62,49,74,30,217,205,46,220,86,197,151,171,89,24,204,51,249,83,163,39,84,6,179,191,201,156,186,12, -68,167,135,6,43,26,198,241,23,68,22,94,16,162,133,48,215,98,15,13,8,149,64,202,190,178,0,92,54,176,238,28,191,227,159,167,184,136,1,58,143,163,148,38,171,57,141,19,228,19,10,214,178,48,152,220,64,106,109,112,84,47,27,211,227,46,51,163,146,106,28,51,61,157,57,144,139,19,205,11,47,18,100,45,112,183,60,20,232,154,208,199,216,71,253,32,165,149,224,174,210,143,81,66,60,95,34,43,2,139,102,113,28,186,19,176,154,137,168,64,239,8,93,37,81,138,0,36,65,193,67,22,81,20,164,104,197,133,21,216,123,34,227,37,95,206,210,59,238,158,185,219,9,161,16,116,27,219,4,78,13,52,227,79,39,211,55,19,85,128,225,115,11,216,204,78,154,131,245,18,196,160,34,72,165,0,13,25,93,66,239,9,162,207,136,62,18,244,228,133,192,46,126,64,227,87,127,20,46,36,51,176,182,151,219,57,24,164,144,112,118,251,237,215,233,235,105,147,253,186,140,67,159,36,236,42,136,232,180,185,151,180,176,0,132,39,247,194,200,61,18,223,192,242,53,231, -188,240,150,129,219,68,82,64,216,22,66,226,119,46,248,32,46,155,37,71,128,64,198,46,186,77,130,56,9,232,55,30,191,171,235,219,193,221,232,236,230,252,237,116,114,51,184,187,62,235,55,183,2,100,17,25,122,79,100,20,15,161,253,229,30,247,38,64,112,74,121,120,179,52,172,82,22,112,65,45,11,181,100,22,68,18,122,118,63,39,242,28,208,71,180,148,176,179,167,5,15,212,68,94,228,163,208,155,145,144,248,200,75,209,244,133,15,63,41,100,253,129,130,189,116,53,91,4,116,250,130,21,111,150,222,117,50,200,133,114,126,240,194,84,116,10,78,224,47,47,12,252,204,113,0,76,0,226,166,119,47,33,104,91,24,213,123,239,175,222,189,103,165,167,222,235,15,62,213,44,175,225,99,252,124,9,173,59,47,176,147,181,2,91,171,42,153,108,148,233,109,43,43,85,126,122,34,83,188,100,15,15,41,178,34,217,3,88,76,34,213,162,237,62,7,145,31,63,131,92,178,216,154,244,204,213,174,172,183,54,218,15,79,14,138,65,30,236,175,18,2,17,190,24,124,96, -55,210,213,124,14,209,98,1,158,135,49,8,145,175,208,14,153,79,89,118,41,47,144,171,139,115,22,249,62,83,17,114,17,121,206,69,234,230,2,122,198,158,254,201,30,171,189,147,93,43,97,169,213,41,223,17,250,30,154,15,100,118,195,207,144,38,64,139,123,202,165,182,182,106,101,201,61,114,169,154,244,192,42,131,76,146,27,111,145,237,96,147,123,225,246,126,205,125,33,184,11,66,202,37,80,4,34,117,153,11,163,111,89,176,106,185,231,146,21,254,15,10,253,112,197,135,137,42,231,66,170,42,246,169,16,43,251,150,57,216,229,29,90,213,40,80,130,207,46,238,17,251,84,156,75,161,26,254,65,18,209,160,126,2,238,200,156,4,79,196,175,192,160,138,85,161,72,164,236,65,56,250,94,74,175,99,63,120,8,230,30,13,226,168,2,207,54,241,42,92,48,123,82,180,80,148,14,2,200,183,183,106,96,170,88,21,160,185,148,85,113,212,88,177,163,184,162,90,71,241,46,207,211,23,52,134,141,81,244,108,207,247,19,48,156,247,194,234,16,156,87,56,62,63,223,237, -120,62,255,125,199,127,86,122,254,115,159,235,217,127,241,13,125,39,133,113,224,9,54,255,205,6,157,109,189,101,185,202,101,90,136,214,69,33,175,134,212,163,171,116,47,142,146,100,37,18,46,85,23,68,54,4,237,245,159,79,74,21,174,179,1,175,118,30,130,239,114,221,93,124,26,220,93,100,81,135,187,149,36,65,230,128,118,24,44,3,24,19,183,4,57,223,245,75,114,170,247,119,30,248,77,82,181,19,74,169,22,26,197,104,6,75,222,11,217,208,58,35,48,41,17,102,232,134,124,45,140,53,142,235,226,44,169,77,27,98,49,176,179,71,241,139,157,66,54,102,69,149,67,201,6,31,26,215,214,86,105,104,124,45,135,70,56,188,242,25,160,185,101,49,238,82,16,187,246,198,17,37,23,137,70,223,150,234,81,2,192,165,48,173,125,165,69,4,145,239,81,15,133,193,23,194,231,11,101,54,47,0,137,21,94,122,34,60,243,121,144,130,15,117,164,231,62,235,119,221,59,178,12,191,85,182,94,41,165,22,69,157,140,158,249,190,90,121,253,219,179,139,187,254,213,112, -180,51,125,37,5,183,80,144,131,253,153,232,114,252,53,65,129,36,31,198,213,199,53,35,160,58,156,54,248,75,12,84,174,181,166,184,57,127,244,18,56,177,212,1,94,62,240,115,117,144,217,12,173,60,132,144,237,85,84,170,161,82,5,190,113,25,137,233,100,52,40,43,101,158,212,91,28,117,86,177,223,89,128,182,217,187,249,216,239,111,198,83,0,43,23,86,94,131,133,173,218,71,142,98,40,93,139,243,90,80,159,226,192,151,199,144,98,66,61,40,164,114,96,117,213,19,12,77,215,231,89,117,73,73,133,3,184,240,161,124,179,100,14,160,198,45,28,202,172,56,173,108,79,126,133,166,104,28,155,185,86,236,150,111,9,133,250,113,41,15,222,34,26,252,247,238,158,61,92,159,195,183,243,82,135,82,201,137,46,118,165,184,52,172,43,137,6,141,131,234,53,63,198,212,101,162,158,106,254,7,30,202,209,231,119,89,176,87,128,60,190,75,42,223,89,102,187,233,222,132,228,74,187,223,95,130,220,246,183,103,219,54,209,172,7,201,84,203,194,98,234,55,171,48,220,172, -72,110,189,104,55,101,181,250,236,47,72,200,212,190,149,35,176,135,249,154,194,111,176,95,75,165,47,13,138,154,92,170,109,135,219,168,201,69,188,80,134,49,244,137,191,164,173,120,241,44,229,212,13,155,61,40,94,36,167,108,82,101,34,181,70,179,225,198,168,206,182,198,61,81,92,27,215,119,236,109,101,169,93,75,128,63,85,71,156,178,90,221,90,224,175,74,47,131,144,84,237,63,5,143,92,229,192,46,253,0,42,188,151,42,148,192,86,193,137,198,168,181,72,63,115,65,133,89,174,215,218,248,115,5,155,192,249,31,43,162,24,50,23,207,66,178,80,51,7,95,238,191,96,183,25,211, +120,156,237,89,235,111,219,56,18,255,87,136,102,91,36,129,207,16,245,176,100,27,11,36,117,250,8,54,137,139,196,123,251,193,80,108,218,98,18,93,101,201,39,209,73,179,69,251,183,223,240,33,137,242,75,114,239,62,94,81,216,22,57,175,223,204,112,56,163,140,77,244,219,111,70,203,56,50,106,254,245,46,232,3,89,69,204,31,135,182,237,245,137,233,244,191,254,49,236,246,57,63,6,126,203,197,150,231,88,216,54,59,240,129,45,108,58,166,101,99,207,236,218,158,101,121,70,111,30,145,44,243,199,145,233,121,130,201,108,153,71,166,235,152,216,181,61,219,195,150,235,153,192,107,26,134,105,184,166,131,109,203,51,157,94,64,179,185,63,54,128,220,2,29,221,142,213,53,176,97,184,24,27,150,233,26,150,99,99,108,153,32,194,116,77,108,56,61,26,7,254,248,115,167,207,25,108,14,202,233,128,233,29,144,102,219,6,72,231,108,182,133,45,195,180,28,220,117,58,189,25,125,12,227,109,144,156,90,72,174,209,11,25,93,40,68,196,238,159,158,57,125,12,172,157,86, +231,200,5,181,182,3,202,186,28,145,5,108,166,217,113,186,216,177,193,36,219,48,123,41,253,247,42,76,233,130,198,76,73,8,49,54,113,127,134,221,62,152,240,243,231,207,54,182,13,233,41,23,108,193,6,216,109,98,88,3,28,46,118,186,70,215,241,176,103,88,174,109,58,46,64,95,146,148,44,20,146,153,109,246,21,14,175,229,29,117,112,7,60,106,120,96,191,211,5,1,6,128,128,111,112,164,3,255,45,175,199,20,51,231,227,76,221,86,247,8,156,100,57,134,219,53,92,219,117,108,64,98,226,14,6,71,26,28,63,132,161,23,39,233,130,68,254,248,251,228,7,26,163,239,223,49,207,146,179,99,8,72,219,54,219,198,9,26,103,70,255,237,91,52,62,61,115,251,54,186,62,255,114,121,77,179,140,60,82,223,255,241,227,157,207,183,133,181,194,231,103,199,70,219,104,131,129,39,6,210,246,138,152,244,52,254,105,111,42,179,169,135,198,37,159,133,84,134,89,104,226,143,79,173,138,70,190,216,131,101,157,124,185,154,69,225,60,167,63,179,250,146,101,56,251,23, +157,51,159,27,209,237,163,225,138,69,73,242,21,209,5,9,35,180,144,226,218,124,211,2,87,73,75,249,87,238,128,143,199,216,244,78,62,137,207,51,92,250,0,13,146,56,99,233,106,206,146,20,5,148,129,180,220,13,182,16,144,57,27,24,245,199,227,233,73,143,139,209,65,29,159,112,62,147,43,80,135,19,205,75,45,202,200,70,198,125,17,174,64,215,148,61,37,1,186,10,51,86,107,220,101,246,103,156,82,18,40,203,74,199,162,89,146,68,254,4,164,230,36,186,161,183,148,173,210,56,67,96,36,69,225,67,238,81,20,102,104,37,136,53,179,247,120,134,164,95,207,179,91,161,158,171,219,105,66,73,232,31,111,35,56,179,208,76,236,78,166,191,79,116,2,110,159,95,154,205,229,100,133,177,36,69,220,84,4,161,148,70,67,68,151,80,123,194,248,17,177,39,138,158,73,4,232,146,7,52,126,251,143,82,133,66,6,210,246,98,27,128,64,6,1,231,203,31,190,77,223,77,91,252,215,199,36,10,104,202,159,194,152,77,91,123,65,75,9,0,120,114,47,133,220,35, +249,13,40,223,9,204,11,178,12,253,22,82,4,82,182,36,146,191,11,194,7,249,216,170,40,2,11,148,239,226,47,105,152,164,33,123,21,254,187,188,254,50,188,29,157,223,12,62,76,39,55,195,219,235,243,171,214,86,3,185,71,238,200,51,29,37,119,80,254,10,141,123,3,32,49,101,194,189,121,24,86,25,119,184,132,150,187,90,33,11,99,101,122,190,94,0,121,9,217,19,90,42,179,243,221,18,7,106,33,18,7,40,34,51,26,209,0,145,12,77,223,4,240,147,65,212,31,24,200,203,86,179,69,200,166,111,120,242,230,225,93,7,131,124,72,231,7,18,101,178,82,8,0,255,36,81,24,228,138,67,64,2,38,110,106,39,41,69,219,220,168,175,125,190,252,244,153,167,158,190,118,53,252,171,97,122,221,61,37,47,31,161,116,23,9,118,186,150,96,107,89,165,130,141,114,190,109,105,165,211,79,79,85,136,151,124,243,144,36,43,131,61,132,195,36,67,45,203,238,75,24,7,201,11,208,165,139,173,65,207,85,237,138,122,123,163,252,136,224,160,4,232,65,254,42,165, +224,225,139,225,31,124,33,91,205,231,224,45,238,224,121,148,0,17,253,6,229,144,235,84,105,151,137,4,185,188,24,112,207,95,113,22,73,23,211,151,130,164,105,44,160,102,236,169,159,124,91,175,157,252,89,115,75,163,74,249,137,178,207,80,124,32,178,27,122,238,88,10,176,132,166,130,106,107,169,214,142,220,147,160,106,8,15,164,114,147,105,122,67,22,249,13,54,185,151,106,239,215,212,151,132,187,76,200,4,5,138,129,164,41,114,41,244,3,119,86,35,245,130,178,70,255,65,174,191,91,137,102,162,78,185,164,170,243,125,38,201,170,186,85,12,118,105,135,82,53,10,53,231,243,135,123,196,63,53,229,138,168,129,126,160,68,44,108,30,128,91,58,167,225,51,13,106,108,208,201,234,172,72,21,237,65,118,92,145,140,93,39,65,248,16,206,9,11,147,184,198,158,109,228,117,118,65,239,201,208,66,99,58,200,64,113,189,213,27,166,147,213,25,52,87,180,186,29,13,78,236,40,169,201,214,81,178,75,243,244,13,75,224,98,148,53,155,4,65,10,130,139,90,88,239,130, +65,141,226,193,96,183,226,249,252,215,21,191,175,213,252,126,159,234,217,127,163,27,234,78,6,237,192,51,92,254,155,5,58,191,122,171,116,181,199,180,36,109,106,133,122,186,99,132,173,178,189,118,84,40,107,45,17,84,77,141,200,155,160,189,250,139,78,169,70,117,222,224,53,142,67,248,183,58,119,23,127,13,111,47,114,175,195,106,45,72,160,57,160,28,134,203,16,218,196,45,78,46,110,253,10,157,174,253,19,1,189,105,166,87,66,69,213,70,163,4,205,224,200,147,136,55,173,51,10,157,18,229,130,110,232,183,82,216,241,73,83,59,43,108,211,99,121,24,248,236,81,254,226,83,200,70,175,168,99,168,200,16,77,227,218,217,170,52,141,239,84,211,8,195,171,232,1,90,91,14,227,46,6,121,107,111,140,40,5,73,60,122,93,234,163,4,24,151,65,183,246,141,149,30,68,1,97,4,69,225,87,42,250,11,173,55,47,13,146,39,188,178,35,53,139,126,144,129,14,189,165,23,58,215,187,127,78,148,241,30,191,39,55,66,236,24,253,161,24,194,121,16,166,147,209,176, +135,10,167,241,153,152,240,76,94,144,244,21,29,143,146,147,210,224,246,14,1,131,193,134,128,57,73,103,188,73,77,150,32,100,48,104,32,228,253,22,41,179,8,122,240,170,172,247,155,194,26,221,48,183,116,25,189,214,94,51,138,170,114,0,120,224,248,217,43,51,31,30,9,19,83,19,75,208,35,133,159,176,9,140,205,122,164,243,32,208,210,92,188,59,65,213,20,111,201,197,249,19,73,97,80,218,149,238,186,156,234,123,6,193,14,52,155,40,213,236,67,183,39,111,37,117,43,137,255,187,159,167,74,149,41,215,164,47,9,171,243,131,242,55,88,153,110,147,119,243,231,213,85,233,100,160,2,39,242,97,166,60,29,98,102,86,153,77,215,114,254,255,9,95,55,227,149,83,192,90,134,173,165,211,115,18,6,106,238,43,71,130,131,146,73,77,8,190,62,50,178,108,125,128,208,107,152,98,56,0,139,152,130,54,15,203,1,208,132,132,67,145,149,227,225,246,180,175,225,148,149,186,244,75,225,128,82,110,117,73,50,52,247,75,117,210,145,222,16,191,119,95,146,119,235,131, +207,118,92,250,20,160,48,177,197,174,16,87,166,35,45,208,192,113,80,190,22,115,99,83,36,250,24,249,63,192,161,205,154,191,138,130,191,115,21,254,93,50,245,146,56,111,95,246,6,164,96,218,253,194,24,232,182,191,174,220,214,181,228,213,87,133,90,37,22,103,191,89,69,209,102,70,10,233,69,46,174,177,53,71,127,65,35,206,246,90,245,192,30,228,107,12,191,128,126,45,148,129,18,40,115,114,169,151,29,33,163,33,22,249,6,31,250,254,103,241,86,188,230,77,191,162,211,187,6,190,81,190,185,207,248,253,194,73,26,245,194,119,27,179,17,111,10,246,120,113,109,62,218,113,171,87,169,118,29,1,177,171,247,148,85,182,166,185,32,222,77,127,12,35,90,119,255,148,56,10,150,3,171,244,3,176,136,90,170,65,2,89,37,38,104,210,218,139,236,81,16,106,200,10,190,246,198,223,135,248,200,35,254,58,20,39,16,185,100,22,209,133,30,57,248,242,255,3,213,110,146,8,