VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/t2embapi.h@ 106297

Last change on this file since 106297 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1/*
2 * Copyright (c) 2009 Andrew Nguyen
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_T2EMBAPI_H
29#define __WINE_T2EMBAPI_H
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#define CHARSET_UNICODE 1
36#define CHARSET_DEFAULT 1
37#define CHARSET_SYMBOL 2
38#define CHARSET_GLYPHIDX 3
39
40#define LICENSE_INSTALLABLE 0x0000
41#define LICENSE_DEFAULT 0x0000
42#define LICENSE_NOEMBEDDING 0x0002
43#define LICENSE_PREVIEWPRINT 0x0004
44#define LICENSE_EDITABLE 0x0008
45
46#define TTLOAD_PRIVATE 0x0001
47
48/* Possible return values. */
49#define E_NONE __MSABI_LONG(0x0000)
50#define E_API_NOTIMPL __MSABI_LONG(0x0001)
51
52typedef ULONG (WINAPIV * READEMBEDPROC)(void*,void*,ULONG);
53typedef ULONG (WINAPIV * WRITEEMBEDPROC)(void*,void*,ULONG);
54
55typedef struct
56{
57 unsigned short usStructSize;
58 unsigned short usRefStrSize;
59 unsigned short *pusRefStr;
60} TTLOADINFO;
61
62typedef struct
63{
64 unsigned short usStructSize;
65 unsigned short usRootStrSize;
66 unsigned short *pusRootStr;
67} TTEMBEDINFO;
68
69LONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC,
70 LPVOID,LPWSTR,LPSTR,TTLOADINFO*);
71LONG WINAPI TTDeleteEmbeddedFont(HANDLE,ULONG,ULONG*);
72
73/* embedding privileges */
74#define EMBED_PREVIEWPRINT 1
75#define EMBED_EDITABLE 2
76#define EMBED_INSTALLABLE 3
77#define EMBED_NOEMBEDDING 4
78
79LONG WINAPI TTGetEmbeddingType(HDC, ULONG*);
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette