Re: Setting an IMAP4 account as the default store
- From: raj <rkukkadapu@xxxxxxxxxxx>
- Date: Fri, 08 Aug 2008 17:16:38 -0700
Got it done using IOlkAccountManager interface. Here is some extra information on this -
The SetOrder API -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/olintapi/html/oliaIOlkAccountManager_HV01155206.asp
has an interface specification...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/olintapi/html/oliaIOlkAccountManager-SetOrder_HV01155212.asp
defined as
HRESULT IOlkAccountManager::SetOrder (
const CLSID *pclsidCategory,
DWORD *pcAccts,
DWORD *prgAccts[]
);
This is wrong.....
It should be
HRESULT IOlkAccountManager::SetOrder (
const CLSID *pclsidCategory,
DWORD pcAccts,
DWORD prgAccts[]
);
--
Cheers,
Raj
.
- References:
- Prev by Date: Re: Using IOlkAccountManager - SetOrder
- Next by Date: Microsoft.Office.Interop.Word.ApplicationEvents3_Event.DocumentChange not always firing
- Previous by thread: Setting an IMAP4 account as the default store
- Next by thread: Accessing extended props throws System.UnauthorizedAccessException
- Index(es):
Relevant Pages
|