Detlef Riekenberg : inetcpl: Implement LaunchInternetControlPanel.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 11:38:49 CDT 2010


Module: wine
Branch: master
Commit: ca042b2922e4c7dcfcb0235e5b4aea9fe745718c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ca042b2922e4c7dcfcb0235e5b4aea9fe745718c

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Fri Oct  1 13:16:56 2010 +0200

inetcpl: Implement LaunchInternetControlPanel.

---

 dlls/inetcpl.cpl/inetcpl.c        |   21 +++++++++++++++++++++
 dlls/inetcpl.cpl/inetcpl.cpl.spec |    2 +-
 2 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/dlls/inetcpl.cpl/inetcpl.c b/dlls/inetcpl.cpl/inetcpl.c
index 03b6282..49cd892 100644
--- a/dlls/inetcpl.cpl/inetcpl.c
+++ b/dlls/inetcpl.cpl/inetcpl.c
@@ -162,3 +162,24 @@ LONG CALLBACK CPlApplet(HWND hWnd, UINT command, LPARAM lParam1, LPARAM lParam2)
 
     return FALSE;
 }
+
+/*********************************************************************
+ * LaunchInternetControlPanel (inetcpl.@)
+ *
+ * Launch the Internet Control Panel dialog
+ *
+ * PARAMS
+ *  parent  [I] Handle for the parent window
+ *
+ * RETURNS
+ *  Success: TRUE
+ *
+ * NOTES
+ *  rundll32 callable function: rundll32 inetcpl.cpl,LaunchInternetControlPanel
+ *
+ */
+BOOL WINAPI LaunchInternetControlPanel(HWND parent)
+{
+    display_cpl_sheets(parent);
+    return TRUE;
+}
diff --git a/dlls/inetcpl.cpl/inetcpl.cpl.spec b/dlls/inetcpl.cpl/inetcpl.cpl.spec
index 21cb34b..eaf5e4d 100644
--- a/dlls/inetcpl.cpl/inetcpl.cpl.spec
+++ b/dlls/inetcpl.cpl/inetcpl.cpl.spec
@@ -8,7 +8,7 @@
 @ stub ImportExportPFX
 @ stub LaunchAddSitesDialog
 @ stub LaunchConnectionDialog
-@ stub LaunchInternetControlPanel
+@ stdcall LaunchInternetControlPanel(long)
 @ stub LaunchPerSitePrivacyActionDialog
 @ stub LaunchPopupWindowManagementDialog
 @ stub LaunchPrivacyDialog




More information about the wine-cvs mailing list