1 #ifndef __CPL_PRECOMP_H
2 #define __CPL_PRECOMP_H
7 #define COM_NO_WINDOWS_H
10 #define WIN32_NO_STATUS
22 #define NUM_APPLETS (1)
24 typedef LONG (CALLBACK
*APPLET_INITPROC
)(VOID
);
26 typedef struct _APPLET
31 APPLET_INITPROC AppletProc
;
34 extern HINSTANCE hApplet
;
36 void ShowLastWin32Error(HWND hWndOwner
);
38 /* Prop sheet pages */
39 INT_PTR CALLBACK
GeneralPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
40 INT_PTR CALLBACK
HardwarePageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
41 INT_PTR CALLBACK
AdvancedPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
44 INT_PTR CALLBACK
HardProfDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
45 INT_PTR CALLBACK
UserProfileDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
46 INT_PTR CALLBACK
EnvironmentDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
47 INT_PTR CALLBACK
StartRecDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
48 INT_PTR CALLBACK
VirtMemDlgProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
49 INT_PTR CALLBACK
LicenceDlgProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
51 typedef struct _PAGEFILE
61 } PAGEFILE
, *PPAGEFILE
;
63 typedef struct _VIRTMEM
71 PAGEFILE Pagefile
[26];
74 typedef struct _BOOTRECORD
77 WCHAR szSectionName
[128];
78 WCHAR szBootPath
[MAX_PATH
];
81 }BOOTRECORD
, *PBOOTRECORD
;
85 IN HINSTANCE hInstance
,
92 #endif /* __CPL_SYSDM_H */