[ACPPAGE] Make use of the PCH.
[reactos.git] / dll / cpl / powercfg / powercfg.h
index c599788..16e0e18 100644 (file)
@@ -1,15 +1,22 @@
-#include "ntstatus.h"
-#define WIN32_NO_STATUS
-#include <windows.h>
+#ifndef _POWERCFG_H
+#define _POWERCFG_H
+
+#include <stdarg.h>
 
-#include <commctrl.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 <cpl.h>
-#include <stdio.h>
 #include <tchar.h>
 #include <shlobj.h>
-#include <regstr.h>
+#include <shlwapi.h>
+#include <powrprof.h>
 
-#include "powrprof.h"
 #include "resource.h"
 
 typedef struct
@@ -32,4 +39,4 @@ INT_PTR CALLBACK AlarmsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP
 INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 
-/* EOF */
+#endif /* _POWERCFG_H */