/************************************************************************ * * File: DWriteHelloWorld.h * * Description: Include file for standard system include files, * or project pecific include files that are used frequently, but * are changed infrequently. * * * This file is part of the Microsoft Windows SDK Code Samples. * * Copyright (C) Microsoft Corporation. All rights reserved. * * This source code is intended only as a supplement to Microsoft * Development Tools and/or on-line documentation. See these other * materials for detailed information regarding Microsoft code samples. * * THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A * PARTICULAR PURPOSE. * ************************************************************************/ #pragma once // Ignore unreferenced parameters, since they are very common // when implementing callbacks. #pragma warning(disable : 4100) // Modify the following defines if you have to target a platform prior to the ones pecified below. // Refer to MSDN for the latest info on corresponding values for different platforms. #ifndef WINVER // Allow use of features pecific to Windows 7 or later. #define WINVER 0x0701 // Change this to the appropriate value to target other versions of Windows. #endif #ifndef _WIN32_WINNT // Allow use of features pecific to Windows 7 or later. #define _WIN32_WINNT 0x0701 // Change this to the appropriate value to target other versions of Windows. #endif #ifndef _WIN32_WINDOWS // Allow use of features pecific to Windows 98 or later. #define _WIN32_WINDOWS 0x0701 // Change this to the appropriate value to target Windows Me or later. #endif #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include #include // C RunTime Header Files #include #include #include #include #include #include #include #include #include // SafeRelease inline function. template inline void SafeRelease(T **ppT) { if (*ppT) { (*ppT)->Release(); *ppT = NULL; } } // Macros #ifndef HINST_THISCOMPONENT EXTERN_C IMAGE_DOS_HEADER __ImageBase; #define HINST_THISCOMPONENT ((HINSTANCE)&__ImageBase) #endif #include "TabWindow.h" #include "SimpleText.h" #include "CustomTextRenderer.h"