pch.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // pch.h: This is a precompiled header file.
  2. // Files listed below are compiled only once, improving build performance for
  3. // future builds. This also affects IntelliSense performance, including code
  4. // completion and many code browsing features. However, files listed here are
  5. // ALL re-compiled if any one of them is updated between builds. Do not add
  6. // files here that you will be updating frequently as this negates the
  7. // performance advantage.
  8. #ifndef PCH_H
  9. #define PCH_H
  10. // add headers that you want to pre-compile here
  11. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  12. // Windows Header Files
  13. #include <Unknwn.h>
  14. #include <inspectable.h>
  15. // WinRT
  16. #include <winrt/Windows.Foundation.h>
  17. #include <winrt/Windows.System.h>
  18. #include <winrt/Windows.Graphics.DirectX.h>
  19. #include <winrt/Windows.Graphics.DirectX.Direct3d11.h>
  20. #include <winrt/Windows.Graphics.Capture.h>
  21. #include <Windows.Graphics.Capture.Interop.h>
  22. #include <DispatcherQueue.h>
  23. // STL
  24. #include <atomic>
  25. #include <memory>
  26. // D3D
  27. #include <d3d11_4.h>
  28. #include <dxgi1_6.h>
  29. #include <d2d1_3.h>
  30. #include <wincodec.h>
  31. // windowws
  32. #include <Windows.h>
  33. #include "../Recorder/error_define.h"
  34. #include "export.h"
  35. #include "wgc_session_impl.h"
  36. #endif // PCH_H