mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
a8e06d92e8
+ Make usage of this new functionality. + Cleanup precomp.h.
69 lines
1.8 KiB
C
69 lines
1.8 KiB
C
#ifndef __CPL_PRECOMP_H
|
|
#define __CPL_PRECOMP_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
#include <ntstatus.h>
|
|
#define WIN32_NO_STATUS
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winreg.h>
|
|
#include <wingdi.h>
|
|
#include <wincon.h>
|
|
#include <windowsx.h>
|
|
#include <tchar.h>
|
|
#include <shellapi.h>
|
|
#include <shlobj.h>
|
|
#include <shlwapi.h>
|
|
#include <setupapi.h>
|
|
#include <cpl.h>
|
|
|
|
#include <strsafe.h>
|
|
|
|
#include "resource.h"
|
|
|
|
#define NUM_APPLETS (1)
|
|
|
|
typedef struct _APPLET
|
|
{
|
|
int idIcon;
|
|
int idName;
|
|
int idDescription;
|
|
APPLET_PROC AppletProc;
|
|
} APPLET, *PAPPLET;
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
/* Prop sheet pages */
|
|
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
/* Dialogs */
|
|
INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK StartRecDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK VirtMemDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR CALLBACK LicenceDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
|
|
|
/* System information */
|
|
BOOL GetSystemName(PWSTR pBuf, SIZE_T cchBuf);
|
|
|
|
#define MAX_STR_LENGTH 256
|
|
|
|
INT __cdecl
|
|
ResourceMessageBox(
|
|
_In_opt_ HINSTANCE hInstance,
|
|
_In_opt_ HWND hwnd,
|
|
_In_ UINT uType,
|
|
_In_ UINT uCaption,
|
|
_In_ UINT uText,
|
|
...);
|
|
|
|
#endif /* __CPL_SYSDM_H */
|