Gets the type and categories information for the specified account.
- [out] The class identifier for the account type. The value must be one of the following:
- [out] The number of categories in prgclsidCategory.
- [out] An array of categories that this account is associated with. The array is of size *pcCategories. The value of each category in the array must be one of the following:
After this method returns, you must free prgclsidCategory by using IOlkAccount::FreeMemory.
IOlkAccount::GetAccountInfo does not support the address book category for an Exchange account. If the account is an Exchange account (pclsidType is CLSID_OlkMAPIAccount), and the account implements the address book, calling IOlkAccount::GetAccountInfo will not return CLSID_OlkAddressBook as a category in prgclsidCategory.