Platform SDK: Exchange Server

SAD_EcGetProxiesBI

The SAD_EcGetProxiesBI function obtains all of the proxy addresses for a recipient that the server supports.

Quick Info

Header file: SADAPI.H
Library: SADAPI.LIB

RPC_EC SAD_EcGetProxiesBI(
  PRPCBINDINFO pBI,      
  PPROXYINFO pProxyInfo, 
  PPROXYLIST pProxyList  
);
 

Parameters

pBI
Input parameter. Points to a RPCBINDINFO structure containing the binding to the server as returned in SAD_ScBind.
pProxyInfo
Input parameter. Points to a PROXYINFO structure containing a list of known proxy addresses (pProxyInfo->pPNVerifyProxy) for a recipient.
pProxyList
Output parameter. Points to a PROXYLIST structure containing lists of both supported (pProxyList->ppPNProxy) and unsupported (pProxyList->ppPNFailedProxyType) proxy address types.

Return Values

See Return Values.

Remarks

Your program must first call SAD_ScBind to establish a binding to a server before it can call SAD_EcGetProxiesBI.

You must call the SAD_FreeProxyListNode function to release the memory that SAD_EcGetProxiesBI allocates for the PROXYNODE structures in the pProxyList parameter.

See Also

PROXYINFO, PROXYLIST, SAD_EcGetProxies, SAD_ScBind, SAD_Unbind