/*++ Copyright (c) Microsoft Corporation Licensed under the MIT license. Module Name: - pch.h Abstract: - Contains external headers to include in the precompile phase of console build process. - Avoid including internal project headers. Instead include them only in the classes that need them (helps with test project building). --*/ #pragma once // Ignore checked iterators warning from VC compiler. #define _SCL_SECURE_NO_WARNINGS // Block minwindef.h min/max macros to prevent conflict #define NOMINMAX #define WIN32_LEAN_AND_MEAN #define NOMCX #define NOHELP #define NOCOMM #include #define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0) #include #include #include #include #include #include #include // Manually include til after we include Windows.Foundation to give it winrt superpowers #define BLOCK_TIL #include "../inc/LibraryIncludes.h" // This is inexplicable, but for whatever reason, cppwinrt conflicts with the // SDK definition of this function, so the only fix is to undef it. // from WinBase.h // Windows::UI::Xaml::Media::Animation::IStoryboard::GetCurrentTime #ifdef GetCurrentTime #undef GetCurrentTime #endif #include // Needed just for XamlIslands to work at all: #include #include #include #include // Additional headers for various xaml features. We need: // * Core so we can resume_foreground with CoreDispatcher // * Controls for grid // * Media for ScaleTransform #include #include #include #include #include #include // Including TraceLogging essentials for the binary #include #include TRACELOGGING_DECLARE_PROVIDER(g_hWindowsTerminalProvider); #include #include // For commandline argument processing #include #include #include #include "til.h"