The SAD_EcGetProxies function obtains all of the proxy addresses for a recipient that a server supports.
Quick Info
Header file:
SADAPI.H
Library:
SADAPI.LIB
RPC_EC SAD EcGetProxies(
LPWSTR wszServer, PPROXYINFO pProxyInfo, PPROXYLIST pProxyList );
Parameters
wszServer
Input parameter. The server that supports various proxy address types.
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.
You must call the SAD_FreeProxyListNode function to release the memory that SAD_EcGetProxies allocates for the PROXYNODE structures in the pProxyList parameter.