URLMON: add the missing interface method PromptAction to IInternetZoneManager

Mike McCormack mike at codeweavers.com
Tue May 24 05:29:01 CDT 2005


ChangeLog:
* add the missing interface method PromptAction to IInternetZoneManager
-------------- next part --------------
Index: dlls/urlmon/sec_mgr.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/sec_mgr.c,v
retrieving revision 1.4
diff -u -p -r1.4 sec_mgr.c
--- dlls/urlmon/sec_mgr.c	3 Feb 2005 19:38:37 -0000	1.4
+++ dlls/urlmon/sec_mgr.c	24 May 2005 10:29:41 -0000
@@ -353,6 +353,21 @@ static HRESULT WINAPI ZoneMgrImpl_SetZon
 }
 
 /********************************************************************
+ *      IInternetZoneManager_PromptAction
+ */
+static HRESULT WINAPI ZoneMgrImpl_PromptAction(IInternetZoneManager* iface,
+                                               DWORD dwAction,
+                                               HWND hwndParent,
+                                               LPCWSTR pwszUrl,
+                                               LPCWSTR pwszText,
+                                               DWORD dwPromptFlags)
+{
+    FIXME("%p %08lx %p %s %s %08lx\n", iface, dwAction, hwndParent,
+          debugstr_w(pwszUrl), debugstr_w(pwszText), dwPromptFlags );
+    return E_NOTIMPL;
+}
+
+/********************************************************************
  *      IInternetZoneManager_LogAction
  */
 static HRESULT WINAPI ZoneMgrImpl_LogAction(IInternetZoneManager* iface,
@@ -425,12 +440,14 @@ static IInternetZoneManagerVtbl ZoneMgrI
     ZoneMgrImpl_SetZoneCustomPolicy,
     ZoneMgrImpl_GetZoneActionPolicy,
     ZoneMgrImpl_SetZoneActionPolicy,
+    ZoneMgrImpl_PromptAction,
     ZoneMgrImpl_LogAction,
     ZoneMgrImpl_CreateZoneEnumerator,
     ZoneMgrImpl_GetZoneAt,
     ZoneMgrImpl_DestroyZoneEnumerator,
     ZoneMgrImpl_CopyTemplatePoliciesToZone,
 };
+
 HRESULT ZoneMgrImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj)
 {
     ZoneMgrImpl* ret = HeapAlloc(GetProcessHeap(), 0, sizeof(ZoneMgrImpl));
Index: include/urlmon.idl
===================================================================
RCS file: /home/wine/wine/include/urlmon.idl,v
retrieving revision 1.15
diff -u -p -r1.15 urlmon.idl
--- include/urlmon.idl	6 May 2005 14:32:48 -0000	1.15
+++ include/urlmon.idl	24 May 2005 10:29:41 -0000
@@ -987,6 +987,13 @@ interface IInternetZoneManager : IUnknow
         [in] DWORD cbPolicy,
         [in] URLZONEREG urlZoneReg);
 
+    HRESULT PromptAction(
+        [in] DWORD dwAction,
+        [in] HWND hwndParent,
+        [in] LPCWSTR pwszUrl,
+        [in] LPCWSTR pwszText,
+        [in] DWORD dwPromptFlags );
+
     HRESULT LogAction(
         [in] DWORD dwAction,
         [in] LPCWSTR pwszUrl,


More information about the wine-patches mailing list