This function shuts down the address book.
HRESULT abClose ( );
NOERROR indicates success. S_FALSE indicates failure.
The following code example shows how to use the Address Book API. The abClose function is called at the end of the example to close the address book.
AbOpen(pFrmMgr);
ABDIALOGIN abDl = {
NULL,
0,
NULL,
ABV_MAINVIEW,
0
};
abDialog(&abDl);
WORD wNumProp = 2;
CEPROPID cepi[] = {HHPR_GIVEN_NAME, HHPR_SURNAME};
PCEPROPVAL pcepv;
abRead(abDl.ceoid, &wNumProp, cepi, &pcepv);
abClose();