From 0f69a9471a259ebefe0b175c303ea90f0f88ca35 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 20 Mar 2004 13:49:13 +0000 Subject: [PATCH] - Copyright notices for 2004 - launch_cpanel() utility function svn path=/trunk/; revision=8811 --- reactos/subsys/system/explorer/desktop/desktop.cpp | 2 +- reactos/subsys/system/explorer/desktop/desktop.h | 2 +- .../subsys/system/explorer/dialogs/searchprogram.cpp | 2 +- .../subsys/system/explorer/dialogs/searchprogram.h | 2 +- reactos/subsys/system/explorer/dialogs/settings.h | 2 +- reactos/subsys/system/explorer/doxy-footer.html | 2 +- reactos/subsys/system/explorer/explorer.cpp | 2 +- reactos/subsys/system/explorer/explorer.h | 2 +- reactos/subsys/system/explorer/externals.h | 2 +- reactos/subsys/system/explorer/globals.h | 2 +- reactos/subsys/system/explorer/shell/entries.cpp | 2 +- reactos/subsys/system/explorer/shell/entries.h | 2 +- reactos/subsys/system/explorer/shell/filechild.cpp | 2 +- reactos/subsys/system/explorer/shell/filechild.h | 2 +- reactos/subsys/system/explorer/shell/mainframe.cpp | 2 +- reactos/subsys/system/explorer/shell/mainframe.h | 2 +- reactos/subsys/system/explorer/shell/pane.cpp | 2 +- reactos/subsys/system/explorer/shell/pane.h | 2 +- .../subsys/system/explorer/shell/shellbrowser.cpp | 2 +- reactos/subsys/system/explorer/shell/shellbrowser.h | 2 +- reactos/subsys/system/explorer/shell/shellfs.cpp | 2 +- reactos/subsys/system/explorer/shell/shellfs.h | 2 +- reactos/subsys/system/explorer/shell/unixfs.cpp | 2 +- reactos/subsys/system/explorer/shell/winfs.cpp | 2 +- reactos/subsys/system/explorer/shell/winfs.h | 2 +- .../subsys/system/explorer/taskbar/desktopbar.cpp | 4 ++-- reactos/subsys/system/explorer/taskbar/desktopbar.h | 2 +- .../subsys/system/explorer/taskbar/quicklaunch.cpp | 2 +- reactos/subsys/system/explorer/taskbar/quicklaunch.h | 2 +- reactos/subsys/system/explorer/taskbar/startmenu.cpp | 2 +- reactos/subsys/system/explorer/taskbar/startmenu.h | 2 +- reactos/subsys/system/explorer/taskbar/taskbar.cpp | 2 +- reactos/subsys/system/explorer/taskbar/taskbar.h | 2 +- .../subsys/system/explorer/taskbar/traynotify.cpp | 12 ++++++------ reactos/subsys/system/explorer/taskbar/traynotify.h | 2 +- .../subsys/system/explorer/utility/shellclasses.cpp | 2 +- .../subsys/system/explorer/utility/shellclasses.h | 2 +- reactos/subsys/system/explorer/utility/utility.cpp | 11 ++++++++++- reactos/subsys/system/explorer/utility/utility.h | 7 +++++-- reactos/subsys/system/explorer/utility/window.cpp | 2 +- reactos/subsys/system/explorer/utility/window.h | 2 +- reactos/subsys/system/explorer/winefile/license.c | 2 +- reactos/subsys/system/explorer/winefile/resource.h | 2 +- reactos/subsys/system/explorer/winefile/winefile.c | 2 +- reactos/subsys/system/explorer/winefile/winefile.h | 2 +- 45 files changed, 64 insertions(+), 52 deletions(-) diff --git a/reactos/subsys/system/explorer/desktop/desktop.cpp b/reactos/subsys/system/explorer/desktop/desktop.cpp index ec7d6632d7c..6f472e7b384 100644 --- a/reactos/subsys/system/explorer/desktop/desktop.cpp +++ b/reactos/subsys/system/explorer/desktop/desktop.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/desktop/desktop.h b/reactos/subsys/system/explorer/desktop/desktop.h index d857836372f..25380afb55f 100644 --- a/reactos/subsys/system/explorer/desktop/desktop.h +++ b/reactos/subsys/system/explorer/desktop/desktop.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp index 0894caa57c0..83ae75e8bf6 100644 --- a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp +++ b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/dialogs/searchprogram.h b/reactos/subsys/system/explorer/dialogs/searchprogram.h index 1eaa5704723..52e493f67a6 100644 --- a/reactos/subsys/system/explorer/dialogs/searchprogram.h +++ b/reactos/subsys/system/explorer/dialogs/searchprogram.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/dialogs/settings.h b/reactos/subsys/system/explorer/dialogs/settings.h index a95ba887b37..b3deba1daf6 100644 --- a/reactos/subsys/system/explorer/dialogs/settings.h +++ b/reactos/subsys/system/explorer/dialogs/settings.h @@ -1,5 +1,5 @@ /* - * Copyright 2004 Martin Fuchs + * Copyright 2004, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/doxy-footer.html b/reactos/subsys/system/explorer/doxy-footer.html index 76e430b17cf..8233b142f01 100644 --- a/reactos/subsys/system/explorer/doxy-footer.html +++ b/reactos/subsys/system/explorer/doxy-footer.html @@ -3,7 +3,7 @@
ROS Explorer Source Code Documentation -
generated on 15.03.2004 by +
generated on 20.03.2004 by
doxygen
diff --git a/reactos/subsys/system/explorer/explorer.cpp b/reactos/subsys/system/explorer/explorer.cpp index 081083c8a23..1f136e67cdc 100644 --- a/reactos/subsys/system/explorer/explorer.cpp +++ b/reactos/subsys/system/explorer/explorer.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/explorer.h b/reactos/subsys/system/explorer/explorer.h index 31c69f1acac..b46f54e05ab 100644 --- a/reactos/subsys/system/explorer/explorer.h +++ b/reactos/subsys/system/explorer/explorer.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/externals.h b/reactos/subsys/system/explorer/externals.h index 29c7dd29a38..eee42742ece 100644 --- a/reactos/subsys/system/explorer/externals.h +++ b/reactos/subsys/system/explorer/externals.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/globals.h b/reactos/subsys/system/explorer/globals.h index 8e0c80eba4f..9fa916f877a 100644 --- a/reactos/subsys/system/explorer/globals.h +++ b/reactos/subsys/system/explorer/globals.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/entries.cpp b/reactos/subsys/system/explorer/shell/entries.cpp index add7c202914..063ebfdc3a7 100644 --- a/reactos/subsys/system/explorer/shell/entries.cpp +++ b/reactos/subsys/system/explorer/shell/entries.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/entries.h b/reactos/subsys/system/explorer/shell/entries.h index b55330a3d47..b229713a267 100644 --- a/reactos/subsys/system/explorer/shell/entries.h +++ b/reactos/subsys/system/explorer/shell/entries.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/filechild.cpp b/reactos/subsys/system/explorer/shell/filechild.cpp index ae84d494bcd..f32e21e3958 100644 --- a/reactos/subsys/system/explorer/shell/filechild.cpp +++ b/reactos/subsys/system/explorer/shell/filechild.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/filechild.h b/reactos/subsys/system/explorer/shell/filechild.h index 8f038900247..2be5f5d0f08 100644 --- a/reactos/subsys/system/explorer/shell/filechild.h +++ b/reactos/subsys/system/explorer/shell/filechild.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/mainframe.cpp b/reactos/subsys/system/explorer/shell/mainframe.cpp index a532b62c3ff..4dc4412edb3 100644 --- a/reactos/subsys/system/explorer/shell/mainframe.cpp +++ b/reactos/subsys/system/explorer/shell/mainframe.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/mainframe.h b/reactos/subsys/system/explorer/shell/mainframe.h index 48d46b2db48..11b3bd27bb5 100644 --- a/reactos/subsys/system/explorer/shell/mainframe.h +++ b/reactos/subsys/system/explorer/shell/mainframe.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/pane.cpp b/reactos/subsys/system/explorer/shell/pane.cpp index ddbf5d81838..5dcc4a17e36 100644 --- a/reactos/subsys/system/explorer/shell/pane.cpp +++ b/reactos/subsys/system/explorer/shell/pane.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/pane.h b/reactos/subsys/system/explorer/shell/pane.h index 7f4c1565ee8..e594fdab38b 100644 --- a/reactos/subsys/system/explorer/shell/pane.h +++ b/reactos/subsys/system/explorer/shell/pane.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.cpp b/reactos/subsys/system/explorer/shell/shellbrowser.cpp index a2c67edfa9b..617a0edacf4 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.cpp +++ b/reactos/subsys/system/explorer/shell/shellbrowser.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.h b/reactos/subsys/system/explorer/shell/shellbrowser.h index 7ff89de3e2f..55aaafe392a 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.h +++ b/reactos/subsys/system/explorer/shell/shellbrowser.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/shellfs.cpp b/reactos/subsys/system/explorer/shell/shellfs.cpp index 6d24f4ce184..b9457dcc400 100644 --- a/reactos/subsys/system/explorer/shell/shellfs.cpp +++ b/reactos/subsys/system/explorer/shell/shellfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/shellfs.h b/reactos/subsys/system/explorer/shell/shellfs.h index 86739a2da93..9d3fd859eb0 100644 --- a/reactos/subsys/system/explorer/shell/shellfs.h +++ b/reactos/subsys/system/explorer/shell/shellfs.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/unixfs.cpp b/reactos/subsys/system/explorer/shell/unixfs.cpp index ee3b47c1a79..3c10d1d294d 100644 --- a/reactos/subsys/system/explorer/shell/unixfs.cpp +++ b/reactos/subsys/system/explorer/shell/unixfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/winfs.cpp b/reactos/subsys/system/explorer/shell/winfs.cpp index e30ad5e1318..53dad9b49df 100644 --- a/reactos/subsys/system/explorer/shell/winfs.cpp +++ b/reactos/subsys/system/explorer/shell/winfs.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/shell/winfs.h b/reactos/subsys/system/explorer/shell/winfs.h index 1a3b716d1c4..e5e30463753 100644 --- a/reactos/subsys/system/explorer/shell/winfs.h +++ b/reactos/subsys/system/explorer/shell/winfs.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/desktopbar.cpp b/reactos/subsys/system/explorer/taskbar/desktopbar.cpp index 0a55bc2f454..f330bb9b0b1 100644 --- a/reactos/subsys/system/explorer/taskbar/desktopbar.cpp +++ b/reactos/subsys/system/explorer/taskbar/desktopbar.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -329,7 +329,7 @@ int DesktopBar::Command(int id, int code) break; case ID_VOLUME_PROPERTIES: - RunDLL(_hwnd, TEXT("shell32"), "Control_RunDLL", TEXT("mmsys.cpl"), SW_SHOWNORMAL); + launch_cpanel(_hwnd, TEXT("mmsys.cpl")); break; default: diff --git a/reactos/subsys/system/explorer/taskbar/desktopbar.h b/reactos/subsys/system/explorer/taskbar/desktopbar.h index 9deb6ae39f7..efcdc77b894 100644 --- a/reactos/subsys/system/explorer/taskbar/desktopbar.h +++ b/reactos/subsys/system/explorer/taskbar/desktopbar.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp b/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp index dfeb11de6a5..be7af0f4eee 100644 --- a/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp +++ b/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/quicklaunch.h b/reactos/subsys/system/explorer/taskbar/quicklaunch.h index d6d475811f6..3447a7affe9 100644 --- a/reactos/subsys/system/explorer/taskbar/quicklaunch.h +++ b/reactos/subsys/system/explorer/taskbar/quicklaunch.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index 922a086e593..ff68d1c726e 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.h b/reactos/subsys/system/explorer/taskbar/startmenu.h index b8a563cd4dc..8cd968709b5 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.h +++ b/reactos/subsys/system/explorer/taskbar/startmenu.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/taskbar.cpp b/reactos/subsys/system/explorer/taskbar/taskbar.cpp index 62860d7b0af..f02bb855148 100644 --- a/reactos/subsys/system/explorer/taskbar/taskbar.cpp +++ b/reactos/subsys/system/explorer/taskbar/taskbar.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/taskbar.h b/reactos/subsys/system/explorer/taskbar/taskbar.h index 9b8a7cd4c1a..6337ec3cbe5 100644 --- a/reactos/subsys/system/explorer/taskbar/taskbar.h +++ b/reactos/subsys/system/explorer/taskbar/taskbar.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/taskbar/traynotify.cpp b/reactos/subsys/system/explorer/taskbar/traynotify.cpp index ab381d81c11..df8f0808a9c 100644 --- a/reactos/subsys/system/explorer/taskbar/traynotify.cpp +++ b/reactos/subsys/system/explorer/taskbar/traynotify.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -35,6 +35,8 @@ #include "traynotify.h" +#include "../dialogs/settings.h" + #include "../notifyhook/notifyhook.h" @@ -379,11 +381,11 @@ int NotifyArea::Command(int id, int code) break; case ID_CONFIG_NOTIFYAREA: - ///@todo + ExplorerPropertySheet(_hwnd); break; case ID_CONFIG_TIME: - RunDLL(_hwnd, TEXT("shell32"), "Control_RunDLL", TEXT("timedate.cpl"), SW_SHOWNORMAL); + launch_cpanel(_hwnd, TEXT("timedate.cpl")); break; default: @@ -704,9 +706,7 @@ LRESULT ClockWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) break; case WM_LBUTTONDBLCLK: - //launch_file(_hwnd, TEXT("timedate.cpl"), SW_SHOWNORMAL); // This would be enough, but we want the fastest solution. - //launch_file(_hwnd, TEXT("rundll32.exe /d shell32.dll,Control_RunDLL timedate.cpl"), SW_SHOWNORMAL); - RunDLL(_hwnd, TEXT("shell32"), "Control_RunDLL", TEXT("timedate.cpl"), SW_SHOWNORMAL); + launch_cpanel(_hwnd, TEXT("timedate.cpl")); break; default: diff --git a/reactos/subsys/system/explorer/taskbar/traynotify.h b/reactos/subsys/system/explorer/taskbar/traynotify.h index 7418cd10e53..603fef1e645 100644 --- a/reactos/subsys/system/explorer/taskbar/traynotify.h +++ b/reactos/subsys/system/explorer/taskbar/traynotify.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/utility/shellclasses.cpp b/reactos/subsys/system/explorer/utility/shellclasses.cpp index f48565e993d..3c806042685 100644 --- a/reactos/subsys/system/explorer/utility/shellclasses.cpp +++ b/reactos/subsys/system/explorer/utility/shellclasses.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/utility/shellclasses.h b/reactos/subsys/system/explorer/utility/shellclasses.h index e31d7d14c5f..4a92013c17e 100644 --- a/reactos/subsys/system/explorer/utility/shellclasses.h +++ b/reactos/subsys/system/explorer/utility/shellclasses.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/utility/utility.cpp b/reactos/subsys/system/explorer/utility/utility.cpp index 80f443f9f9c..f10b92f5ec0 100644 --- a/reactos/subsys/system/explorer/utility/utility.cpp +++ b/reactos/subsys/system/explorer/utility/utility.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -265,6 +265,15 @@ BOOL RunDLL(HWND hwnd, LPCTSTR dllname, LPCSTR procname, LPCTSTR cmdline, UINT n } +BOOL launch_cpanel(HWND hwnd, LPCTSTR applet) +{ + //launch_file(_hwnd, applet, SW_SHOWNORMAL); // This would be enough, but we want the fastest solution. + //launch_file(_hwnd, TEXT("rundll32.exe /d shell32.dll,Control_RunDLL ")+applet, SW_SHOWNORMAL); + + return RunDLL(hwnd, TEXT("shell32"), "Control_RunDLL", applet, SW_SHOWNORMAL); +} + + BOOL RecursiveCreateDirectory(LPCTSTR path_in) { TCHAR path[MAX_PATH], hole_path[MAX_PATH]; diff --git a/reactos/subsys/system/explorer/utility/utility.h b/reactos/subsys/system/explorer/utility/utility.h index 3688495ba42..36d11da1a39 100644 --- a/reactos/subsys/system/explorer/utility/utility.h +++ b/reactos/subsys/system/explorer/utility/utility.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -195,7 +195,10 @@ extern BOOL launch_fileA(HWND hwnd, LPSTR cmd, UINT nCmdShow, LPCSTR parameters= #endif // call an DLL export like rundll32 -BOOL RunDLL(HWND hwnd, LPCTSTR dllname, LPCSTR procname, LPCTSTR cmdline, UINT nCmdShow); +extern BOOL RunDLL(HWND hwnd, LPCTSTR dllname, LPCSTR procname, LPCTSTR cmdline, UINT nCmdShow); + + // launch control panel applet +extern BOOL launch_cpanel(HWND hwnd, LPCTSTR applet); /// initialization of windows common controls diff --git a/reactos/subsys/system/explorer/utility/window.cpp b/reactos/subsys/system/explorer/utility/window.cpp index 55a5f28d350..72f866f0fc0 100644 --- a/reactos/subsys/system/explorer/utility/window.cpp +++ b/reactos/subsys/system/explorer/utility/window.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/utility/window.h b/reactos/subsys/system/explorer/utility/window.h index 701d31ec766..7c284e22f0e 100644 --- a/reactos/subsys/system/explorer/utility/window.h +++ b/reactos/subsys/system/explorer/utility/window.h @@ -1,5 +1,5 @@ /* - * Copyright 2003 Martin Fuchs + * Copyright 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/winefile/license.c b/reactos/subsys/system/explorer/winefile/license.c index 8e666970819..3d11572998c 100644 --- a/reactos/subsys/system/explorer/winefile/license.c +++ b/reactos/subsys/system/explorer/winefile/license.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Martin Fuchs + * Copyright 2000, 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/winefile/resource.h b/reactos/subsys/system/explorer/winefile/resource.h index f8e26f8911a..712b1cd1338 100644 --- a/reactos/subsys/system/explorer/winefile/resource.h +++ b/reactos/subsys/system/explorer/winefile/resource.h @@ -1,5 +1,5 @@ /* - * Copyright 2000 Martin Fuchs + * Copyright 2000, 2003 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/winefile/winefile.c b/reactos/subsys/system/explorer/winefile/winefile.c index e7839e625d1..dce4fb4c708 100644 --- a/reactos/subsys/system/explorer/winefile/winefile.c +++ b/reactos/subsys/system/explorer/winefile/winefile.c @@ -1,7 +1,7 @@ /* * Winefile * - * Copyright 2000 Martin Fuchs + * Copyright 2000, 2003, 2004 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/reactos/subsys/system/explorer/winefile/winefile.h b/reactos/subsys/system/explorer/winefile/winefile.h index 0fa34f88ccb..e84d036b04b 100644 --- a/reactos/subsys/system/explorer/winefile/winefile.h +++ b/reactos/subsys/system/explorer/winefile/winefile.h @@ -1,5 +1,5 @@ /* - * Copyright 2000 Martin Fuchs + * Copyright 2000, 2003 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public