Microsoft Office Outlook 2003 Integration API Reference
IOlkAccount::GetProp [Outlook 2003 API Reference]

Gets the value of the specified account property.

Quick Info

See IOlkAccount.

HRESULT IOlkAccount::GetProp( 
	DWORD dwProp,
	ACCT_VARIANT *pVar
);

Parameters

dwProp

[in] Property tag of the account property to get.
PROP_ACCT_ID
PROP_ACCT_IS_EXCH
PROP_ACCT_NAME
PROP_ACCT_SEND_STAMP
PROP_ACCT_STAMP
PROP_ACCT_USER_DISPLAY_NAME

pVar

[out] Value of the specified property.

Return Values

E_ACCT_NOT_FOUND

The property is not found for the given account.

E_INVALIDARG

An invalid property tag has been specified.

Remarks

After this method returns, if the value of the account property is a binary or string type, you must free pVar by using IOlkAccount::FreeMemory.

See Also

Constants for the Account Management API
IOlkAccount::FreeMemory
IOlkAccount::SetProp