Set Zone Action Policy

How do you use this? I'm trying to change the settings in IE9 registry. I want to change Zone 3, 1803 from 0 to 3.

1
2
IInternetZoneManager::SetZoneActionPolicy()
HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3",NULL,KEY_SET_VALUE|KEY_QUERY_VALUE,&hKey);


Also I have this...
1
2
3
4
5
6
7
HRESULT SetZoneActionPolicy(
    [in] DWORD dwZone,
    [in] DWORD dwAction,
    [in] BYTE *pPolicy,
    [in] DWORD cbPolicy,
    [in] URLZONEREG urlZoneReg
);

Any help is appreciated. Thanks.
Topic archived. No new replies allowed.