Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

  1. // pch.h
  2. #ifndef __PCH_H__
  3. #define __PCH_H__
  4. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  5. // CRT headers
  6. #include <nt.h>
  7. #include <ntrtl.h>
  8. #include <nturtl.h>
  9. //#include <crtdbg.h>
  10. #include <stdlib.h>
  11. #include <stddef.h>
  12. //#include <tchar.h>
  13. // Windows Header Files:
  14. #include <windows.h>
  15. #include <winuser.h>
  16. #include <winnls.h>
  17. #include <psapi.h>
  18. #include <commctrl.h>
  19. #include <prsht.h>
  20. //#include <ole2.h>
  21. #include <port32.h>
  22. // UxTheme proj common headers
  23. #include "autos.h"
  24. #include "log.h"
  25. #include "errors.h"
  26. #include "utils.h"
  27. #include "tmreg.h"
  28. #include <uxthemep.h>
  29. #include <atlbase.h>
  30. //---- keep this for a while (allows building on win2000 for home development) ----
  31. #ifndef SPI_GETDROPSHADOW
  32. #define SPI_GETDROPSHADOW 0x1024
  33. #define SPI_SETDROPSHADOW 0x1025
  34. #endif
  35. extern HINSTANCE g_hInst;
  36. extern HWND g_hwndMain;
  37. extern TCHAR g_szAppTitle[];
  38. extern UINT WM_THEMESEL_COMMUNICATION;
  39. void _ShutDown( BOOL bQuit );
  40. void _RestoreSystemSettings( HWND hwndGeneralPage, BOOL fUnloadOneOnly );
  41. void _SaveSystemSettings( );
  42. #endif // __PCH_H__