ReactOS  0.4.15-dev-5452-g3c95c95
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 <strsafe.h>
25 
26 #include "resource.h"
27 
28 #define NUM_APPLETS (1)
29 
30 typedef struct _APPLET
31 {
32  int idIcon;
33  int idName;
34  int idDescription;
36 } APPLET, *PAPPLET;
37 
38 extern HINSTANCE hApplet;
39 
40 void ShowLastWin32Error(HWND hWndOwner);
41 
42 /* Prop sheet pages */
46 
47 /* Dialogs */
54 
55 /* System information */
56 BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf);
57 
58 #define MAX_STR_LENGTH 256
59 
64  _In_ UINT uType,
65  _In_ UINT uCaption,
66  _In_ UINT uText,
67  ...);
68 
69 #endif /* __CPL_SYSDM_H */
HINSTANCE hInstance
Definition: charmap.c:19
Definition: tftpd.h:59
#define _In_opt_
Definition: ms_sal.h:309
#define __cdecl
Definition: accygwin.h:79
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
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:64
int32_t INT
Definition: typedefs.h:58
WPARAM wParam
Definition: combotst.c:138
APPLET_PROC AppletProc
Definition: access.h:22
INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: userprofile.c:810
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:740
#define _In_
Definition: ms_sal.h:308
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:695
INT idIcon
Definition: access.h:19
INT_PTR CALLBACK VirtMemDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: virtmem.c:821
void ShowLastWin32Error(HWND hWndOwner)
Definition: winutils.c:11
ULONG_PTR SIZE_T
Definition: typedefs.h:80
VOID ResourceMessageBox(HINSTANCE hInstance, HWND hwnd, UINT uType, UINT uCaptionId, UINT uMessageId)
Definition: misc.c:282
unsigned int UINT
Definition: ndis.h:50
INT idDescription
Definition: access.h:21
INT idName
Definition: access.h:20
BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf)
Definition: smbios.c:490
INT_PTR CALLBACK LicenceDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: licence.c:68
struct _APPLET * PAPPLET
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4022
LPARAM lParam
Definition: combotst.c:139
HINSTANCE hApplet
Definition: access.c:17
INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: environment.c:1823