Поделиться через


WMT_PROXY_SETTINGS enumeration (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WMT_PROXY_SETTINGS enumeration type defines network proxy settings for use with a reader object.

Syntax

typedef enum WMT_PROXY_SETTINGS {
  WMT_PROXY_SETTING_NONE = 0,
  WMT_PROXY_SETTING_MANUAL = 1,
  WMT_PROXY_SETTING_AUTO = 2,
  WMT_PROXY_SETTING_BROWSER = 3,
  WMT_PROXY_SETTING_MAX
} ;

Constants

 
WMT_PROXY_SETTING_NONE
Value: 0
No proxy settings will be used.
WMT_PROXY_SETTING_MANUAL
Value: 1
Proxy settings will be explicitly set.
WMT_PROXY_SETTING_AUTO
Value: 2
Proxy settings will be automatically negotiated.
WMT_PROXY_SETTING_BROWSER
Value: 3
The browser will negotiate the proxy settings. This applies only when using HTTP.
WMT_PROXY_SETTING_MAX

Remarks

The WMT_PROXY_SETTING_BROWSER setting applies only to the HTTP protocol.

This enumeration is used directly in GetProxySettings and SetProxySettings, and referenced in several other methods of the IWMReaderNetworkConfig interface.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types

IWMReaderNetworkConfig::GetProxySettings

IWMReaderNetworkConfig::SetProxySettings