IWindowsParentalControlsCore::GetWebFilterInfo method (wpcapi.h)

Retrieves the name and identifier of the currently active Web Content Filter.

Syntax

HRESULT GetWebFilterInfo(
  [out]     GUID   *pguidID,
  [in, out] LPWSTR *ppszName
);

Parameters

[out] pguidID

The GUID of the currently active Web Content Filter.

[in, out] ppszName

The name of the currently active Web Content Filter.

Return value

This method can return one of these values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
A pointer argument is NULL.
E_OUT_OF_MEMORY
There is insufficient memory to complete the operation.
E_FAIL
The method failed.

Requirements

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

See also

IWindowsParentalControls

IWindowsParentalControlsCore