t2embapi.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * Copyright (c) 2009 Andrew Nguyen
9b5a120b694c2603a7a3dccbd6cc519164943b17vboxsync * This library is free software; you can redistribute it and/or
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * modify it under the terms of the GNU Lesser General Public
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * License as published by the Free Software Foundation; either
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * version 2.1 of the License, or (at your option) any later version.
9b5a120b694c2603a7a3dccbd6cc519164943b17vboxsync * This library is distributed in the hope that it will be useful,
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * Lesser General Public License for more details.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * You should have received a copy of the GNU Lesser General Public
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * License along with this library; if not, write to the Free Software
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * a choice of LGPL license versions is made available with the language indicating
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsync * of the LGPL is applied is otherwise unspecified.
120ee2736ed70b5ce8b0b4dd73cc4f8b4b9416c1vboxsyncextern "C" {
120ee2736ed70b5ce8b0b4dd73cc4f8b4b9416c1vboxsync/* Possible return values. */
120ee2736ed70b5ce8b0b4dd73cc4f8b4b9416c1vboxsynctypedef ULONG (WINAPIV * READEMBEDPROC)(void*,void*,ULONG);
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsynctypedef ULONG (WINAPIV * WRITEEMBEDPROC)(void*,void*,ULONG);
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsynctypedef struct
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short usStructSize;
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short usRefStrSize;
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short *pusRefStr;
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsynctypedef struct
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short usStructSize;
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short usRootStrSize;
ba00a478700c77b6b1435cd8a7e7cb64d84f8d93vboxsync unsigned short *pusRootStr;
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsyncLONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC,
9f4747a43944848d911353b1bcc99f41aaa5bf81vboxsyncLONG WINAPI TTDeleteEmbeddedFont(HANDLE,ULONG,ULONG*);
120ee2736ed70b5ce8b0b4dd73cc4f8b4b9416c1vboxsync/* embedding privileges */