InPrivateFilteringEnabled method

Detects whether the user has enabled InPrivate Filtering.

This method is not supported for Windows apps using JavaScript.

 

Syntax

HRESULT retVal = object.InPrivateFilteringEnabled(pfEnabled);

Parameters

  • pfEnabled [out, retval]
    Type: VARIANT_BOOL

    Returns VARIANT_TRUE if the user has enabled InPrivate Filtering; VARIANT_FALSE otherwise.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

IEIsInPrivateBrowsing