Thanks a lot Peter. You pointed me in right direction and it's working.
Actually, I had seen that function 'SaveChanges' but in Pocket PC 5.0
documentation, it's mentioned that It's not supported and that misleaded me
but i just tried and it's working fine.
I am adding code snippest for reference to anybody .
After opening message store
ULONG lpcbEntryID;
LPENTRYID lppEntryID;
hr =
pStore->GetReceiveFolder(NULL,MAPI_UNICODE,&lpcbEntryID,&lppEntryID,NULL);
hr = pStore->OpenEntry(lpcbEntryID,
lppEntryID,
NULL,
MAPI_MODIFY,
NULL,
(IUnknown **)&pfldrDrafts);
Create message
set message propety
then
call
pmsg->SaveChanges(0);
Peter, I need one more help. How can I get reference of SMS message store ?
I am calling "pTable->QueryRows(1, 0, &psrs)" to get Outlook message store
parameter '1' is for outlook). Basically, if I can know what I have to pass
instead of '1' to get sms inbox reference then I think, I can do.
Thanks,
-Santosh