IEIsProtectedModeProcess function

Determines if Windows Internet Explorer is running in protected mode.

Syntax

HRESULT IEIsProtectedModeProcess(
  _Out_ BOOL *pbResult
);

Parameters

  • pbResult [out]
    A pointer to a variable of type BOOL that receives the result of the protected mode check. In the event of an error, the pointer is not modified.

Return value

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

Remarks

IEIsProtectedModeProcess is only supported in Windows Vista or later. If called from earlier versions of Microsoft Windows, this function returns E_NOTIMPL.

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