IInternetZoneManager::GetZoneCustomPolicy method
Gets the named custom policy associated with the zone.
Syntax
HRESULT GetZoneCustomPolicy(
[in] DWORD dwZone,
[in] REFGUID guidKey,
[out] BYTE **ppPolicy,
[out] DWORD *pcbPolicy,
[in] URLZONEREG urlZoneReg
);
Parameters
dwZone [in]
An unsigned long integer value that specifies the zone.guidKey [in]
A globally unique identifier that specifies the key to look up.ppPolicy [out]
The address of a buffer that contains the policy information.pcbPolicy [out]
The address of an unsigned long integer value that contains the size of the buffer.urlZoneReg [in]
A URLZONEREG value that determines how the registry is accessed.
Return value
Returns S_OK if the key is found and the buffer is allocated.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Product |
Internet Explorer 4.0 |
DLL |
Urlmon.dll |