# Thursday, June 14, 2007

IERefreshElevationPolicy

As extension developers write their code to work in Protected Mode IE7, we’ve received some feedback that points out challenges with upgrades or installer changes that require users to close and restart IE.

Yes u did.

Yesterday, we shipped a new API that will help developers address this problem.

Excellent.

For a quick example of what this would look like in code, here is a sample of how to use the API:

HRESULT RefreshPolicies()
{
..
}

Thanks :)

[via IEBlog]

 

Small problem. If you run this code on Windows XP with patched IE 7, the API will be found (fair enough) but fails with the completely crazy error code 0x80070539. This might mean ERROR_INVALID_SID (surely not) or perhaps something else. Why wouldn't E_NOTIMPL do?

 

#    Comments [0] |