/*++ Copyright (c) Microsoft Corporation Licensed under the MIT license. Module Name: - precomp.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 and then undefine WIN32_NO_STATUS because windows.h has no guard to prevent it from double defing certain statuses // when included with ntstatus.h #define WIN32_NO_STATUS #include #undef WIN32_NO_STATUS // From ntdef.h, but that can't be included or it'll fight over PROBE_ALIGNMENT and other such arch specific defs typedef _Return_type_success_(return >= 0) LONG NTSTATUS; /*lint -save -e624 */ // Don't complain about different typedefs. typedef NTSTATUS* PNTSTATUS; /*lint -restore */ // Resume checking for different typedefs. #define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0) // End From ntdef.h #define INLINE_NTSTATUS_FROM_WIN32 1 // Must use inline NTSTATUS or it will call the wrapped function twice. #pragma warning(push) #pragma warning(disable : 4430) // Must disable 4430 "default int" warning for C++ because ntstatus.h is inflexible SDK definition. #include #pragma warning(pop) #include #include "../host/conddkrefs.h" // This includes support libraries from the CRT, STL, WIL, and GSL #include "LibraryIncludes.h" #include