Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IOlkAccountManager::FindAccount [Outlook 2003 API Reference]

Office 2003

Finds an account by property value.

Quick Info

See IOlkAccountManager.

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

Parameters

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.

Return Values

E_ACCT_NOT_FOUND

Cannot find the specified account.

E_OLK_NOT_INITIALIZED

The account manager has not been initialized for use.

E_OLK_PARAM_NOT_SUPPORTED

Invalid parameter.

See Also

ACCT_VARIANT
Constants for the Account Management API
IOlkAccount


Show:
© 2015 Microsoft