RcValidateProxy
The RcValidateProxy function determines whether a Unicode string represents a valid proxy address.
Quick Info
Header file: |
PROXYGEN.H |
Library: |
PROXYGEN.LIB |
RC RcValidateProxy(
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 proxy address, including the address type prefix, to validate.
-
pisValid
-
Output parameter:
-
TRUE
-
The address is valid, or the return code is RC_IMPLEMENTATION.
-
FALSE
-
The 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
-
Proxy address validation is not implemented. The caller should assume the entered proxy address is valid and let the gateway or foreign system advise otherwise if neccesary.
Remarks
Use RcValidateProxy to determine whether a manually generated proxy address is valid.
For more information on this function, see Proxy Generation DLL Entry Points.
See Also
RcUpdateProxy, RcValidateSiteProxy