The IAddrBook::SetPAB method designates a particular container to be the personal address book (PAB).
HRESULT SetPAB(
ULONG cbEntryID,
LPENTRYID lpEntryID
);
Clients and service providers call the IAddrBook::SetPAB method to designate a particular container to be the PAB. The PAB is a container that is made up of entries copied from other containers as well as new entries.
Because information about the PAB is written in the profile, a particular container can be the PAB for multiple sessions. A call to SetPAB establishes a container as the PAB until that container is made unavailable or a new container becomes the PAB through a subsequent call to SetPAB.
Clients and providers need not call the IMAPIProp::SaveChanges method to make the PAB change permanent.
IAddrBook::GetPAB, IAddrBook::GetSearchPath, PR_CONTAINER_FLAGS