f76e6a229d492ec62d6b3294ec84606c9684bc1d
[reactos.git] / reactos / lib / cpl / sysdm / advanced.c
1 /*
2 * ReactOS
3 * Copyright (C) 2004 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id$
20 *
21 * PROJECT: ReactOS System Control Panel
22 * FILE: lib/cpl/system/advanced.c
23 * PURPOSE: Memory, start-up and profiles settings
24 * PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
25 * UPDATE HISTORY:
26 * 03-04-2004 Created
27 */
28 #include <windows.h>
29 #include <stdlib.h>
30 #include <tchar.h>
31
32 #include "resource.h"
33 #include "sysdm.h"
34
35 /* Property page dialog callback */
36 INT_PTR CALLBACK
37 AdvancedPageProc(
38 HWND hwndDlg,
39 UINT uMsg,
40 WPARAM wParam,
41 LPARAM lParam)
42 {
43 switch (uMsg)
44 {
45 case WM_INITDIALOG:
46 break;
47
48 case WM_COMMAND:
49 switch(LOWORD(wParam))
50 {
51 case IDC_ENVVAR:
52 DialogBox(hApplet,
53 MAKEINTRESOURCE(IDD_ENVIRONMENT_VARIABLES),
54 hwndDlg,
55 EnvironmentDlgProc);
56 break;
57 }
58 break;
59
60 }
61 return FALSE;
62 }
63