From ca042b2922e4c7dcfcb0235e5b4aea9fe745718c Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Fri, 1 Oct 2010 13:16:56 +0200 Subject: [PATCH] inetcpl: Implement LaunchInternetControlPanel. --- dlls/inetcpl.cpl/inetcpl.c | 21 +++++++++++++++++++++ dlls/inetcpl.cpl/inetcpl.cpl.spec | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/dlls/inetcpl.cpl/inetcpl.c b/dlls/inetcpl.cpl/inetcpl.c index 03b62822cfd..49cd8920c71 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 21cb34b74d1..eaf5e4d6e7d 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 -- 2.11.4.GIT