IEIsProtectedModeURL function

Determines if a URL will open in a protected mode process.

Syntax

HRESULT IEIsProtectedModeURL(
  _In_ LPCWSTR pszUrl
);

Parameters

  • pszUrl [in]
    A pointer to a NULL-terminated string that specifies the URL to evaluate.

Return value

Returns one of the following values.

Return code Description
S_OK

URL will open in a protected mode process.

S_FALSE

URL will not open in a protected mode process, or protected mode is not enabled.

E_INVALIDARG

The URL is not a well-formed URI, or the integrity of the URL depends on the calling process.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

Internet Explorer 7

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll