1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 /* not protected, must be included together with prestl.h! */
31 #define WIN_HELP_INDEX 0x0003
32 #define WIN_HELP_HELPONHELP 0x0004
34 #undef HELP_HELPONHELP
36 #define WIN_MOUSE_MOVED 0x0001
40 #define WIN_WB_RIGHT 1
47 #define WIN_GetObject GetObjectW
49 #define WIN_GetObject GetObjectA
52 #define WIN_GetObject GetObject
58 #define WIN_SetPrinter SetPrinterW
60 #define WIN_SetPrinter SetPrinterA
63 #define WIN_SetPrinter SetPrinter
69 #define WIN_GetPrinter GetPrinterW
71 #define WIN_GetPrinter GetPrinterA
74 #define WIN_GetPrinter GetPrinter
80 #define WIN_DrawText DrawTextW
82 #define WIN_DrawText DrawTextA
85 #define WIN_DrawText DrawText
91 #define WIN_mciSetCommand mciSetCommandW
93 #define WIN_mciSetCommand mciSetCommandA
96 #define mciSetCommand mciSetCommand
102 #define WIN_SetPort SetPortW
104 #define WIN_SetPort SetPortA
107 #define WIN_SetPort SetPort
113 #define WIN_CopyFile CopyFileW
115 #define WIN_CopyFile CopyFileA
118 #define WIN_CopyFile CopyFile
124 #define WIN_GetUserName GetUserNameW
126 #define WIN_GetUserName GetUserNameA
129 #define WIN_GetUserName GetUserName
135 #define WIN_GetClassName GetClassNameW
137 #define WIN_GetClassName GetClassNameA
140 #define WIN_GetClassName GetClassName
146 #define WIN_GetCharWidth GetCharWidthW
148 #define WIN_GetCharWidth GetCharWidthA
151 #define WIN_GetCharWidth GetCharWidth
157 #define WIN_GetMetaFile GetMetaFileW
159 #define WIN_GetMetaFile GetMetaFileA
162 #define WIN_GetMetaFile GetMetaFile
165 #ifdef GetNumberFormat
166 #undef GetNumberFormat
168 #define WIN_GetNumberFormat GetNumberFormatW
170 #define WIN_GetNumberFormat GetNumberFormatA
173 #define WIN_GetNumberFormat GetNumberFormat
176 #ifdef GetGlyphOutline
177 #undef GetGlyphOutline
179 #define WIN_GetGlyphOutline GetGlyphOutlineW
181 #define WIN_GetGlyphOutline GetGlyphOutlineA
184 #define WIN_GetGlyphOutline GetGlyphOutline
187 #ifdef GetKerningPairs
188 #undef GetKerningPairs
190 #define WIN_GetKerningPairs GetKerningPairsW
192 #define WIN_GetKerningPairs GetKerningPairsA
195 #define WIN_GetKerningPairs GetKerningPairs
201 #define WIN_FindWindow FindWindowW
203 #define WIN_FindWindow FindWindowA
206 #define WIN_FindWindow FindWindow
211 /* new StretchBlt() Modes (simpler names) */
212 #ifndef STRETCH_ANDSCANS
213 #define STRETCH_ANDSCANS 1
215 #ifndef STRETCH_ORSCANS
216 #define STRETCH_ORSCANS 2
218 #ifndef STRETCH_DELETESCANS
219 #define STRETCH_DELETESCANS 3
224 BOOL WINAPI
WIN_Rectangle( HDC hDC
, int X1
, int Y1
, int X2
, int Y2
);
225 BOOL WINAPI
WIN_Polygon( HDC hDC
, CONST POINT
* ppt
, int ncnt
);
226 BOOL WINAPI
WIN_PolyPolygon( HDC hDC
, CONST POINT
* ppt
, LPINT npcnt
, int ncnt
);
231 // avoid conflict with Pair in tools
234 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */