1 #ifndef __CPL_PRECOMP_H
2 #define __CPL_PRECOMP_H
5 #define WIN32_NO_STATUS
7 #define COM_NO_WINDOWS_H
26 #define NUM_APPLETS (1)
28 typedef LONG (CALLBACK
*APPLET_INITPROC
)(VOID
);
30 typedef struct _APPLET
35 APPLET_INITPROC AppletProc
;
38 extern HINSTANCE hApplet
;
40 void ShowLastWin32Error(HWND hWndOwner
);
42 /* Prop sheet pages */
43 INT_PTR CALLBACK
GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
44 INT_PTR CALLBACK
HardwarePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
45 INT_PTR CALLBACK
AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
48 INT_PTR CALLBACK
HardProfDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
49 INT_PTR CALLBACK
UserProfileDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
50 INT_PTR CALLBACK
EnvironmentDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
51 INT_PTR CALLBACK
StartRecDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
52 INT_PTR CALLBACK
VirtMemDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
53 INT_PTR CALLBACK
LicenceDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
55 typedef struct _PAGEFILE
62 } PAGEFILE
, *PPAGEFILE
;
64 typedef struct _VIRTMEM
72 PAGEFILE Pagefile
[26];
75 typedef struct _BOOTRECORD
78 WCHAR szSectionName
[128];
79 WCHAR szBootPath
[MAX_PATH
];
82 }BOOTRECORD
, *PBOOTRECORD
;
84 #endif /* __CPL_SYSDM_H */