ReactOS  0.4.15-dev-3182-g7b62228
precomp.h
Go to the documentation of this file.
1 #ifndef __CPL_PRECOMP_H
2 #define __CPL_PRECOMP_H
3 
4 #include <stdarg.h>
5 
6 #define _INC_WINDOWS
7 #define COM_NO_WINDOWS_H
8 
9 #include <ntstatus.h>
10 #define WIN32_NO_STATUS
11 #include <windef.h>
12 #include <winbase.h>
13 #include <winreg.h>
14 #include <wingdi.h>
15 #include <wincon.h>
16 #include <windowsx.h>
17 #include <tchar.h>
18 #include <shellapi.h>
19 #include <shlobj.h>
20 #include <shlwapi.h>
21 #include <setupapi.h>
22 #include <cpl.h>
23 
24 #include "resource.h"
25 
26 #define NUM_APPLETS (1)
27 
28 typedef struct _APPLET
29 {
30  int idIcon;
31  int idName;
32  int idDescription;
34 } APPLET, *PAPPLET;
35 
36 extern HINSTANCE hApplet;
37 
38 void ShowLastWin32Error(HWND hWndOwner);
39 
40 /* Prop sheet pages */
44 
45 /* Dialogs */
52 
53 /* System information */
54 BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf);
55 
56 typedef struct _PAGEFILE
57 {
67 
68 typedef struct _VIRTMEM
69 {
77 } VIRTMEM, *PVIRTMEM;
78 
79 typedef struct _BOOTRECORD
80 {
85 
87 
88 INT
91  IN HWND hwnd,
92  IN UINT uType,
93  IN UINT uCaption,
94  IN UINT uText);
95 
96 
97 #endif /* __CPL_SYSDM_H */
INT OldMaxSize
Definition: precomp.h:61
HINSTANCE hInstance
Definition: charmap.c:20
WCHAR szBootPath[MAX_PATH]
Definition: precomp.h:83
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define IN
Definition: typedefs.h:39
DWORD BootType
Definition: precomp.h:81
Definition: tftpd.h:59
HWND hListBox
Definition: precomp.h:71
INT Count
Definition: precomp.h:74
uint16_t * PWSTR
Definition: typedefs.h:56
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define CALLBACK
Definition: compat.h:35
INT NewMaxSize
Definition: precomp.h:63
UINT_PTR WPARAM
Definition: windef.h:207
HWND hSelf
Definition: precomp.h:70
int32_t INT_PTR
Definition: typedefs.h:64
INT NewMinSize
Definition: precomp.h:62
PAGEFILE Pagefile[26]
Definition: precomp.h:76
int32_t INT
Definition: typedefs.h:58
WPARAM wParam
Definition: combotst.c:138
struct _PAGEFILE PAGEFILE
CHAR * LPTSTR
Definition: xmlstorage.h:192
APPLET_PROC AppletProc
Definition: access.h:22
INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: userprofile.c:813
BOOL bUsed
Definition: precomp.h:65
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
unsigned int BOOL
Definition: ntddk_ex.h:94
struct _APPLET APPLET
Definition: access.h:17
INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: hardprof.c:735
struct _BOOTRECORD * PBOOTRECORD
LONG_PTR LPARAM
Definition: windef.h:208
INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: hardware.c:68
INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: advanced.c:422
INT_PTR CALLBACK StartRecDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: startrec.c:687
struct _VIRTMEM VIRTMEM
struct _VIRTMEM * PVIRTMEM
INT OldMinSize
Definition: precomp.h:60
char TCHAR
Definition: xmlstorage.h:189
INT idIcon
Definition: access.h:19
__wchar_t WCHAR
Definition: xmlstorage.h:180
INT_PTR CALLBACK VirtMemDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: virtmem.c:696
#define MAX_PATH
Definition: compat.h:34
WCHAR szSectionName[128]
Definition: precomp.h:82
BOOL bModified
Definition: precomp.h:75
unsigned long DWORD
Definition: ntddk_ex.h:95
void ShowLastWin32Error(HWND hWndOwner)
Definition: winutils.c:11
struct _BOOTRECORD BOOTRECORD
LPTSTR pszVolume
Definition: precomp.h:59
struct _PAGEFILE * PPAGEFILE
WCHAR szOptions[512]
Definition: precomp.h:84
ULONG_PTR SIZE_T
Definition: typedefs.h:80
TCHAR szDrive[10]
Definition: precomp.h:73
VOID ResourceMessageBox(HINSTANCE hInstance, HWND hwnd, UINT uType, UINT uCaptionId, UINT uMessageId)
Definition: misc.c:282
unsigned int UINT
Definition: ndis.h:50
UINT FreeSize
Definition: precomp.h:64
INT idDescription
Definition: access.h:21
INT idName
Definition: access.h:20
BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf)
Definition: smbios.c:491
INT_PTR CALLBACK LicenceDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: licence.c:63
struct _APPLET * PAPPLET
LPARAM lParam
Definition: combotst.c:139
TCHAR szDrive[3]
Definition: precomp.h:58
LPTSTR szPagingFiles
Definition: precomp.h:72
HINSTANCE hApplet
Definition: access.c:17
INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: environment.c:685