IWPCWebSettings::GetSettings method (wpcapi.h)

Retrieves the web restrictions settings.

Syntax

HRESULT GetSettings(
  [out] DWORD *pdwSettings
);

Parameters

[out] pdwSettings

The settings. This parameter can be one or more of the following values.

Value Meaning
WPCFLAG_WEB_SETTING_NOTBLOCKED
0
There are no restrictions.
WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED
0x1
Downloads are blocked.

Return value

If the method succeeds, the return value is S_OK. Otherwise, it is E_FAIL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header wpcapi.h

See also

IWPCWebSettings