RcUpdateProxy

The RcUpdateProxy function updates the site information in a proxy address.

Quick Info

Header file: PROXYGEN.H
Library: PROXYGEN.LIB

RC RcUpdateProxy(
  HANDLE hProxySession,           
  PRECIPIENTINFO pRecipientInfo,  
  LPWSTR pwstrOldSiteProxy,       
  LPWSTR pwstrNewSiteProxy,       
  LPWSTR pwstrProxy,              
  VOID * pUnused                  
);
 

Parameters

hProxySession
Input parameter. Handle to the proxy address generation session as returned by RcInitProxies.
pRecipientInfo
Input parameter. Points to a RECIPIENTINFO structure containing details for this recipient.
pwstrOldSiteProxy
Input parameter. A Unicode string containing the old site proxy address.
pwstrNewSiteProxy
Input parameter. A Unicode string containing the new site proxy address.
pwstrProxy
Input/output parameter. A Unicode string containing the proxy address to update.
pUnused
Input parameter. Unused, set this to NULL.

Return Values

See Return Values.

Remarks

RcUpdateProxy compares the site information in pwstrProxy to pwstrOldSiteProxy. If they match, RcUpdateProxy replaces the site information in pwstrProxy with pwstrNewSiteProxy. All input parameters have the address type as a prefix.

For more information on this function, see Proxy Generation DLL Entry Points.

See Also

RcInitProxies, RcValidateProxy, RECIPIENTINFO