Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OST file path

0 views
Skip to first unread message

skg

unread,
Nov 11, 2009, 10:17:02 AM11/11/09
to
I am able to retrieve pst file path configured in an outlook profile using
profile section successfully but unable to retrieve ost file path


hr =
lpProviderAdmin->OpenProfileSection((LPMAPIUID)pRow->lpProps[0].Value.bin.lpb, NULL, MAPI_MODIFY | MAPI_FORCE_ACCESS, &lpProfSect);
if (!FAILED(hr))
{
hr = lpProfSect -> GetProps((LPSPropTagArray)&pFilePathTag, 0,
&ulPropCnt, &pProps);
if (!FAILED(hr) && pProps->ulPropTag == PR_PST_PATH)


can any one help me with a code snippet or advise how to retrieve the OST
file path ?

Dmitry Streblechenko

unread,
Nov 11, 2009, 11:58:16 AM11/11/09
to
You need to open the global profile section and read the
PR_PROFILE_OFFLINE_STORE_PATH property.
Have you looked at the profile data?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"skg" <s...@discussions.microsoft.com> wrote in message
news:2FEF538F-2095-4F5C...@microsoft.com...

skg

unread,
Nov 11, 2009, 2:53:01 PM11/11/09
to
thanks Dimitry, i am able to read the other pst files configured in the
exchange profile using the code below.

i will try the global profile section and let you know
http://support.microsoft.com/default.aspx/kb/188482

thanks again

"Dmitry Streblechenko" wrote:

> .
>

0 new messages