HrGWResolveProxy

The HrGWResolveProxy function determines the recipient proxy address of a specified type from an entry identifier.

Quick Info

Header file: ADDRLKUP.H
Library: ADDRLKUP.LIB
Unicode: Yes

HRESULT HrGWResolveProxy(
  LPADRBOOK lpAdrBook,  
  ULONG cbeid,          
  LPENTRYID lpeid,      
  LPTSTR lpszAddrType,  
  LPTSTR * lppszAddress 
);
 

Parameters

lpAdrBook
Input parameter. Points to a MAPI IAddrBook interface containing the address book where HrGWResolveProxy looks up the proxy address.
cbeid
Input parameter. Specifies the count of bytes in the entry identifier.
lpeid
Input parameter. Points to a MAPI ENTRYID structure containing the entry identifier that specifies the recipient.
lpszAddrType
Input parameter. Points to the proxy address type.
lppszAddress
Output parameter. Points to the address where the recipient proxy address is stored.

Return Values

See Return Values.

Remarks

Call the MAPIFreeBuffer function to free the buffer where lppszAddress points.

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 ENTRYID structure, IAddrBook interface, MAPIAllocateBuffer function, and MAPIFreeBuffer function, see the MAPI Programmer's Reference.

See Also

HrGWResolveAddress