I Know that when I want View the PST file . I could do this:
First
use CreateProfile() create a profile.
Then
SPropValue spv;
spv.ulPropTag = PR_PST_PATH;
spv.Value.lpszA = (LPSTR)lpPstfile;
hr = pMsgSvcAdmin->ConfigureMsgService((LPMAPIUID)pRowset->aRow[pRowset->cRows-1].lpProps[iSvcUID].Value.bin.lpb, 0,0,1,&spv);
but what's sholuld I do with the exchang database(EG: Mailbox Database 1117657611.edb) file add to profile?
First
use CreateProfile() create a profile.
Then
SPropValue spv;
spv.ulPropTag = PR_PST_PATH;
spv.Value.lpszA = (LPSTR)lpPstfile;
hr = pMsgSvcAdmin->ConfigureMsgService((LPMAPIUID)pRowset->aRow[pRowset->cRows-1].lpProps[iSvcUID].Value.bin.lpb, 0,0,1,&spv);
but what's sholuld I do with the exchang database(EG: Mailbox Database 1117657611.edb) file add to profile?