Copy i8042prt driver from 0.3.1 branch to trunk. Try #2
[reactos.git] / reactos / dll / cpl / sysdm / precomp.h
1 #ifndef __CPL_PRECOMP_H
2 #define __CPL_PRECOMP_H
3
4 #include <windows.h>
5 #include <commctrl.h>
6 #include <tchar.h>
7 #include <stdio.h>
8 #include <lm.h>
9 #include <cpl.h>
10 #include <shellapi.h>
11 #include "resource.h"
12
13 #define NUM_APPLETS (1)
14
15 typedef LONG (CALLBACK *APPLET_INITPROC)(VOID);
16
17 typedef struct _APPLET
18 {
19 int idIcon;
20 int idName;
21 int idDescription;
22 APPLET_INITPROC AppletProc;
23 } APPLET, *PAPPLET;
24
25 extern HINSTANCE hApplet;
26
27 void ShowLastWin32Error(HWND hWndOwner);
28
29 /* prop sheet pages */
30 INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
31 INT_PTR CALLBACK ComputerPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
32 INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
33 INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
34
35 /* dialogs */
36 INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
37 INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
38 INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
39 INT_PTR CALLBACK StartRecDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
40 INT_PTR CALLBACK VirtMemDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
41 INT_PTR CALLBACK LicenceDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
42
43 BOOL TextToLink(HWND hwnd, LPTSTR lpApp, LPTSTR lpParams);
44
45 typedef struct _PAGEFILE
46 {
47 TCHAR szDrive[3];
48 INT InitialValue;
49 INT MaxValue;
50 BOOL bUsed;
51 } PAGEFILE, *PPAGEFILE;
52
53 typedef struct _VIRTMEM
54 {
55 HWND hSelf;
56 HWND hListView;
57 LPTSTR szPagingFiles;
58 TCHAR szDrive[10];
59 INT Count;
60 BOOL bSave;
61 PAGEFILE Pagefile[26];
62 } VIRTMEM, *PVIRTMEM;
63
64
65 #endif /* __CPL_SYSDM_H */