text: //
  // pch.h
  // Header for standard system include files.
  //
  
  #pragma once
  
  #include <winsdkver.h>
  #ifndef _WIN32_WINNT
  #define _WIN32_WINNT 0x0601
  #endif
  #include <sdkddkver.h>
  
  // Use the C++ standard templated min/max
  #define NOMINMAX
  
  // DirectX apps don't need GDI
  #define NODRAWTEXT
  #define NOGDI
  #define NOBITMAP
  
  // Include <mcx.h> if you need this
  #define NOMCX
  
  // Include <winsvc.h> if you need this
  #define NOSERVICE
  
  // WinHelp is deprecated
  #define NOHELP
  
  #define WIN32_LEAN_AND_MEAN
  #include <Windows.h>
  
  #include <wrl/client.h>
  
  #include <d3d11_1.h>
  #include <dxgi1_2.h>
  #include <DirectXMath.h>
  #include <DirectXColors.h>
  
  #include <algorithm>
  #include <cmath>
  #include <cstdint>
  #include <exception>
  #include <iterator>
  #include <memory>
  #include <stdexcept>
  #include <tuple>
  
  namespace DX
  {
      inline void ThrowIfFailed(HRESULT hr)
      {
          if (FAILED(hr))
          {
              // Set a breakpoint on this line to catch DirectX API errors
              throw std::exception();
          }
      }
  }
  