IWPCWebSettings::RequestURLOverride method (wpcapi.h)

Requests that the Parental Controls web restrictions subsystem set the specified primary and sub URLs to the allowed state.

Syntax

HRESULT RequestURLOverride(
  [in]  HWND    hWnd,
  [in]  LPCWSTR pcszURL,
  [in]  DWORD   cURLs,
  [in]  LPCWSTR *ppcszSubURLs,
  [out] BOOL    *pfChanged
);

Parameters

[in] hWnd

A handle to the parent window. This is needed for proper User Account Control (UAC) dialog box behavior.

[in] pcszURL

A pointer to primary URL for override.

[in] cURLs

The number of entries in ppcszSubURLs.

[in] ppcszSubURLs

Pointers to URLs that include pages with the primary URL.

[out] pfChanged

Pointer to flag notifying completion of override changed status. This parameter is 1 if the status is changed, and 0 otherwise.

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