ReactOS 0.4.16-dev-1386-g6ed46ba
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#define COBJMACROS
9
10#include <ntstatus.h>
11#define WIN32_NO_STATUS
12#include <windef.h>
13#include <winbase.h>
14#include <winreg.h>
15#include <wingdi.h>
16#include <wincon.h>
17#include <windowsx.h>
18#include <tchar.h>
19#include <shellapi.h>
20#include <shlobj.h>
21#include <shlwapi.h>
22#include <setupapi.h>
23#include <cpl.h>
24
25#include <strsafe.h>
26
27#include "resource.h"
28
29#define NUM_APPLETS (1)
30
31typedef struct _APPLET
32{
33 int idIcon;
34 int idName;
35 int idDescription;
38
39extern HINSTANCE hApplet;
40
41void ShowLastWin32Error(HWND hWndOwner);
42
43/* Prop sheet pages */
48
49/* Dialogs */
56
57/* System information */
58BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf);
59
60#define MAX_STR_LENGTH 256
61
66 _In_ UINT uType,
67 _In_ UINT uCaption,
68 _In_ UINT uText,
69 ...);
70
71#endif /* __CPL_SYSDM_H */
#define __cdecl
Definition: accygwin.h:79
HINSTANCE hInstance
Definition: charmap.c:19
VOID ResourceMessageBox(HINSTANCE hInstance, HWND hwnd, UINT uType, UINT uCaptionId, UINT uMessageId)
Definition: misc.c:282
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
void ShowLastWin32Error(HWND hWndOwner)
Definition: winutils.c:11
INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: userprofile.c:810
INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: environment.c:1823
INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: hardprof.c:740
INT_PTR CALLBACK VirtMemDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: virtmem.c:821
struct _APPLET * PAPPLET
VOID ShowPerformanceOptions(HWND hDlg)
Definition: performance.c:137
INT_PTR CALLBACK LicenceDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: licence.c:68
INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: hardware.c:68
INT_PTR CALLBACK StartRecDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: startrec.c:695
struct _APPLET APPLET
BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf)
Definition: smbios.c:490
INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: advanced.c:422
HINSTANCE hApplet
Definition: access.c:17
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned int UINT
Definition: ndis.h:50
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
Definition: access.h:18
INT idDescription
Definition: access.h:21
INT idIcon
Definition: access.h:19
APPLET_PROC AppletProc
Definition: access.h:22
INT idName
Definition: access.h:20
Definition: tftpd.h:60
uint16_t * PWSTR
Definition: typedefs.h:56
int32_t INT_PTR
Definition: typedefs.h:64
ULONG_PTR SIZE_T
Definition: typedefs.h:80
int32_t INT
Definition: typedefs.h:58
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207