Copy i8042prt driver from 0.3.1 branch to trunk. Try #2
[reactos.git] / reactos / dll / cpl / sysdm / userprofile.c
1 /*
2 * PROJECT: ReactOS System Control Panel Applet
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: dll/cpl/sysdm/userprofile.c
5 * PURPOSE: Computer settings for networking
6 * COPYRIGHT: Copyright Thomas Weidenmueller <w3seek@reactos.org>
7 * Copyright 2006 Ged Murphy <gedmurphy@gmail.com>
8 *
9 */
10
11 #include "precomp.h"
12
13 /* Property page dialog callback */
14 INT_PTR CALLBACK
15 UserProfileDlgProc(HWND hwndDlg,
16 UINT uMsg,
17 WPARAM wParam,
18 LPARAM lParam)
19 {
20 UNREFERENCED_PARAMETER(lParam);
21 UNREFERENCED_PARAMETER(wParam);
22 UNREFERENCED_PARAMETER(hwndDlg);
23
24 switch(uMsg)
25 {
26 case WM_INITDIALOG:
27 {
28 HWND hLink = GetDlgItem(hwndDlg, IDC_USERACCOUNT_LINK);
29
30 TextToLink(hLink,
31 _T("rundll32.exe"),
32 _T("shell32.dll, Control_RunDLL nusrmgr.cpl"));
33
34 MessageBox(hwndDlg, _T("Dialog not yet implemented!"), NULL, 0);
35 }
36 break;
37
38 case WM_COMMAND:
39 {
40 if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL))
41 {
42 EndDialog(hwndDlg,
43 LOWORD(wParam));
44 return TRUE;
45 }
46 }
47 break;
48 }
49 return FALSE;
50 }