msvcrt: Don't include MSVC 11.0+ function _wcreate_locale in SOs for older DLLs.
[wine.git] / include / dcommon.idl
blobdb5055d202e9cb5703b5dcf73db6d678f6e7bc0f
1 /*
2 * Copyright 2012 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "dxgiformat.idl";
21 cpp_quote("#if 0")
22 typedef struct
24 long x, y;
25 } POINT;
26 typedef unsigned int UINT32;
27 cpp_quote("#endif")
29 typedef enum DWRITE_MEASURING_MODE
31 DWRITE_MEASURING_MODE_NATURAL,
32 DWRITE_MEASURING_MODE_GDI_CLASSIC,
33 DWRITE_MEASURING_MODE_GDI_NATURAL
34 } DWRITE_MEASURING_MODE;
36 typedef enum D2D1_ALPHA_MODE
38 D2D1_ALPHA_MODE_UNKNOWN = 0,
39 D2D1_ALPHA_MODE_PREMULTIPLIED = 1,
40 D2D1_ALPHA_MODE_STRAIGHT = 2,
41 D2D1_ALPHA_MODE_IGNORE = 3,
42 D2D1_ALPHA_MODE_FORCE_DWORD = 0xffffffff,
43 } D2D1_ALPHA_MODE;
45 typedef struct D2D1_PIXEL_FORMAT
47 DXGI_FORMAT format;
48 D2D1_ALPHA_MODE alphaMode;
49 } D2D1_PIXEL_FORMAT;
51 typedef struct D2D_POINT_2F
53 float x;
54 float y;
55 } D2D_POINT_2F, D2D1_POINT_2F;
57 typedef POINT D2D_POINT_2L, D2D1_POINT_2L;
59 typedef struct D2D_SIZE_U
61 UINT32 width;
62 UINT32 height;
63 } D2D_SIZE_U, D2D1_SIZE_U;