IERefreshElevationPolicy function

Tells Windows Internet Explorer processes to refresh elevation policies from the registry.

Syntax

HRESULT IERefreshElevationPolicy(void);

Parameters

This function has no parameters.

Return value

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

Remarks

Typically, elevation policies are loaded when the first Internet Explorer process loads. As a result, changes to elevation policies do not take effect until all current processes have ended and Internet Explorer is restarted. If you modify elevation policies and wish your updates to be effective more quickly, call IERefreshElevationPolicy after modifying elevation policies. When you do so, Internet Explorer reloads elevation policies when they're next used.

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