The AddFavorites method adds one or more public folders to a user's Favorites folder.
HRESULT AddFavorites(
LPENTRYLIST lpEntryList
);
See Return Values.
In addition, AddFavorites can return one of the following values:
The AddFavorites method exits without processing the rest of the list and returns SYNC_E_INVALID_PARAMETER if one of the folders in the entry list is not a public folder that can be added to the user's Favorites folder.
IExchangeFavorites, IExchangeFavorites::DelFavorites