IOlkAccountHelper::GetIdentity [Outlook 2003 API Reference]
Gets the profile name of the account.
Quick Info
See IOlkAccountHelper.
HRESULT IOlkAccountHelper::GetIdentity (
LPWSTR pwszIdentity,
DWORD *pcch
);
Parameters
pwszIdentity
[in][out] Returns the profile name.
pcch
[in] [out]Upon calling this method, this is the size (in number of characters) of pwszIdentity that has been allocated. Upon return, this is the actual length of the returned profile name.
Return Values
E_OUTOFMEMORY
The returned profile name is longer than the size of pwszIdentity.
E_INVALIDARG
pcch is NULL.
Remarks
If pwszIdentity is too small to hold the profile name, it will not be set on return and pcch will point to the size required for pwszIdentity.