2004-03-08 14:24:47 +00:00
|
|
|
/*
|
|
|
|
* ReactOS
|
|
|
|
* Copyright (C) 2004 ReactOS Team
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
2005-01-06 13:58:04 +00:00
|
|
|
/* $Id$
|
2004-03-08 14:24:47 +00:00
|
|
|
*
|
|
|
|
* PROJECT: ReactOS System Control Panel
|
|
|
|
* FILE: lib/cpl/system/advanced.c
|
|
|
|
* PURPOSE: Memory, start-up and profiles settings
|
|
|
|
* PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
|
|
|
|
* UPDATE HISTORY:
|
|
|
|
* 03-04-2004 Created
|
|
|
|
*/
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdlib.h>
|
2004-06-30 10:53:05 +00:00
|
|
|
#include <tchar.h>
|
|
|
|
|
2004-03-08 14:24:47 +00:00
|
|
|
#include "resource.h"
|
|
|
|
#include "sysdm.h"
|
|
|
|
|
|
|
|
/* Property page dialog callback */
|
2004-10-11 21:08:06 +00:00
|
|
|
INT_PTR CALLBACK
|
2004-03-08 14:24:47 +00:00
|
|
|
AdvancedPageProc(
|
|
|
|
HWND hwndDlg,
|
|
|
|
UINT uMsg,
|
|
|
|
WPARAM wParam,
|
2004-07-02 20:28:00 +00:00
|
|
|
LPARAM lParam)
|
2004-03-08 14:24:47 +00:00
|
|
|
{
|
2004-06-30 10:53:05 +00:00
|
|
|
switch (uMsg)
|
2004-03-08 14:24:47 +00:00
|
|
|
{
|
|
|
|
case WM_INITDIALOG:
|
|
|
|
break;
|
2004-06-30 10:53:05 +00:00
|
|
|
|
|
|
|
case WM_COMMAND:
|
2004-07-02 20:28:00 +00:00
|
|
|
switch(LOWORD(wParam))
|
|
|
|
{
|
|
|
|
case IDC_ENVVAR:
|
|
|
|
DialogBox(hApplet,
|
|
|
|
MAKEINTRESOURCE(IDD_ENVIRONMENT_VARIABLES),
|
|
|
|
hwndDlg,
|
|
|
|
EnvironmentDlgProc);
|
|
|
|
break;
|
|
|
|
}
|
2004-06-30 10:53:05 +00:00
|
|
|
break;
|
|
|
|
|
2004-03-08 14:24:47 +00:00
|
|
|
}
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|