The HrGWResolveAddress function determines the entry identifier from the address of a recipient.
Header file: | ADDRLKUP.H |
Library: | ADDRLKUP.LIB |
Unicode: | Yes |
HRESULT HrGWResolveAddress(
LPABCONT lpGalABCont,
LPTSTR lpszAddress,
BOOL * lpfMapiRecip,
ULONG * lpcbEntryID,
LPENTRYID * lppEntryID
);
See Return Values.
The HrGWResolveAddress function is called for each message recipient. It uses each recipient's physical address to look up their recipient entry identifier (PR_ENTRYID). For more information on this function, see Using the Address Lookup Functions, Implementing Address Lookup Functions, and Mapping Inbound Addresses in the Gateway Programmer's Reference.
For information on the IABContainer interface and the PR_ENTRYID property, see the MAPI Programmer's Reference.