IOlkAccountManager::FindAccount

Finds an account by property value.

See IOlkAccountManager.

HRESULT IOlkAccountManager::FindAccount (  
    DWORD dwProp, 
    ACCT_VARIANT *pVar, 
    IOlkAccount **ppAccount 
);

dwProp

[in] The property to search on. Must be PROP_ACCT_ID or PROP_ACCT_IS_EXCH.

pVar

[in] The value to match.

ppAccount

[out] The account found. This object supports an IOlkAccount interface.

HRESULT

Description

S_OK

The call succeeded.

E_ACCT_NOT_FOUND

The specified account cannot be found.

E_OLK_NOT_INITIALIZED

The account manager has not been initialized for use.

E_OLK_PARAM_NOT_SUPPORTED

One or more parameters are invalid.

Show:
© 2015 Microsoft