DWC_GetProxySetting

Syntax

#include <dwc.h>
BOOL DWC_GetProxySetting(DWCProxySetting *proxy);

Arguments

proxy Pointer to the region where obtained proxy setting information is written.

Return Values

TRUE Succeeded in getting proxy setting information.
FALSE Failed to get proxy setting information.
The reason for failure may be because the local host is not connected via user settings 4 through 6, or because the proxy is not configured.

Description

Gets the proxy settings for the connection currently connected.
Note: This is limited to connections via user settings 4 through 6, which allow proxy settings.

Use this function between the point that the DWC_GetInetStatus function, used to monitor the connection status during the autoconnect process, returns DWC_CONNECTINET_STATE_CONNECTED and when the DWC_CleanupInet or DWC_CleanupInetAsync function is called.
If called at any other time, the function returns FALSE without processing arguments.

See Also

DWCProxySetting

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL