The GetAddressCardIndex function retrieves the position index of an address card specified by its object identifier. The position index is based on the current sort order.
int GetAddressCardIndex(PEGOID oidCard);
Header file: | Addrstor.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
This function returns the position index of the address card if successful, otherwise –1.
The Contacts database must have been opened by a previous call to the OpenAddressBook function. This function fails if no sort order was specified when the address book was opened.