1 #ifndef __CPL_PRECOMP_H
2 #define __CPL_PRECOMP_H
5 #define WIN32_NO_STATUS
21 #define NUM_APPLETS (1)
23 typedef LONG (CALLBACK
*APPLET_INITPROC
)(VOID
);
25 typedef struct _APPLET
30 APPLET_INITPROC AppletProc
;
33 extern HINSTANCE hApplet
;
35 void ShowLastWin32Error(HWND hWndOwner
);
37 /* prop sheet pages */
38 INT_PTR CALLBACK
GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
39 INT_PTR CALLBACK
HardwarePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
40 INT_PTR CALLBACK
AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
43 INT_PTR CALLBACK
HardProfDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
44 INT_PTR CALLBACK
UserProfileDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
45 INT_PTR CALLBACK
EnvironmentDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
46 INT_PTR CALLBACK
StartRecDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
47 INT_PTR CALLBACK
VirtMemDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
48 INT_PTR CALLBACK
LicenceDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
50 typedef struct _PAGEFILE
56 } PAGEFILE
, *PPAGEFILE
;
58 typedef struct _VIRTMEM
66 PAGEFILE Pagefile
[26];
69 typedef struct _BOOTRECORD
72 WCHAR szSectionName
[128];
73 WCHAR szBootPath
[MAX_PATH
];
76 }BOOTRECORD
, *PBOOTRECORD
;
78 #endif /* __CPL_SYSDM_H */