IWMReaderNetworkConfig::GetProxySettings method

The GetProxySettings method retrieves the current proxy settings.

Syntax


HRESULT GetProxySettings(
  [in]  LPCWSTR            pwszProtocol,
  [out] WMT_PROXY_SETTINGS *pProxySetting
);

Parameters

pwszProtocol [in]

Pointer to a wide-character null-terminated string containing the protocol.

pProxySetting [out]

Pointer to one member of the WMT_PROXY_SETTINGS enumeration type.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_INVALIDARG

NULL or invalid argument passed in.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

Library

Wmvcore.lib;
WMStubDRM.lib (if you use DRM)

See also

IWMReaderNetworkConfig Interface
IWMReaderNetworkConfig::SetProxySettings

 

 

Show: