RcValidateSiteProxy
The RcValidateSiteProxy function determines whether a Unicode string represents a valid site proxy address.
Quick Info
Header file: |
PROXYGEN.H |
Library: |
PROXYGEN.LIB |
RC RcValidateSiteProxy(
HANDLE hProxySession,
LPWSTR pszProxyAddr,
BOOL * pisValid
);
Parameters
-
hProxySession
-
Input parameter. Handle to the proxy address generation session previously returned by RcInitProxies.
-
pszProxyAddr
-
Input parameter. A Unicode string containing the site proxy address, including the address type prefix, to validate.
-
pisValid
-
Output parameter:
-
TRUE
-
The site address is valid, or the return code is RC_IMPLEMENTATION.
-
FALSE
-
The site address is not valid.
-
Undefined
-
The return code is RC_ERROR or RC_MEMORY.
Return Values
See Return Values. This function can also return the following:
-
RC_IMPLEMENTATION
-
Site proxy address validation is not implemented. The caller should assume the entered site proxy address is valid and let the gateway or foreign system advise otherwise if neccesary.
Remarks
For more information on this function, see Proxy Generation DLL Entry Points.
See Also
RcInitProxies, RcUpdateProxy, RcValidateProxy