Leaked source code of windows server 2003
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.

59 lines
1.2 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 <uxthemep.h>
  18. #include <psapi.h>
  19. #include <commctrl.h>
  20. #include <prsht.h>
  21. //#include <ole2.h>
  22. #include <port32.h>
  23. #include "log.h"
  24. #include <atlbase.h>
  25. #define STRSAFE_LIB
  26. #include <strsafe.h>
  27. // UxTheme proj common headers
  28. #include "autos.h"
  29. #include "errors.h"
  30. #include "utils.h"
  31. #include "tmreg.h"
  32. //---- keep this for a while (allows building on win2000 for home development) ----
  33. #ifndef SPI_GETDROPSHADOW
  34. #define SPI_GETDROPSHADOW 0x1024
  35. #define SPI_SETDROPSHADOW 0x1025
  36. #endif
  37. extern HINSTANCE g_hInst;
  38. extern HWND g_hwndMain;
  39. extern TCHAR g_szAppTitle[];
  40. extern UINT WM_THEMESEL_COMMUNICATION;
  41. void _ShutDown( BOOL bQuit );
  42. void _RestoreSystemSettings( HWND hwndGeneralPage, BOOL fUnloadOneOnly );
  43. void _SaveSystemSettings( );
  44. #endif // __PCH_H__