[PATCH] urlmon: Implement GetZoneAt
Detlef Riekenberg
wine.dev at web.de
Wed Jun 17 17:09:30 CDT 2009
---
dlls/urlmon/sec_mgr.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/sec_mgr.c b/dlls/urlmon/sec_mgr.c
index bb10a63..6a13eae 100644
--- a/dlls/urlmon/sec_mgr.c
+++ b/dlls/urlmon/sec_mgr.c
@@ -812,8 +812,16 @@ static HRESULT WINAPI ZoneMgrImpl_GetZoneAt(IInternetZoneManager* iface,
DWORD dwIndex,
DWORD* pdwZone)
{
- FIXME("(%p)->(%08x %08x %p) stub\n", iface, dwEnum, dwIndex, pdwZone);
- return E_NOTIMPL;
+ ZoneMgrImpl* This = (ZoneMgrImpl*)iface;
+
+ TRACE("(%p)->(0x%08x 0x%08x %p)\n", This, dwEnum, dwIndex, pdwZone);
+ if ((dwEnum == 0x7700cafe) && (dwIndex < 5)) {
+
+ *pdwZone = dwIndex;
+ return S_OK;
+ }
+
+ return E_INVALIDARG;
}
/********************************************************************
--
1.5.4.3
--=-gKj++XaWI01BVkYlixsq--
More information about the wine-patches
mailing list