Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8f1836cb
Commit
8f1836cb
authored
Jul 15, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jul 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t2embed: Implement TTLoadEmbeddedFont as a stub.
parent
ea5c94f8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
1 deletion
+66
-1
main.c
dlls/t2embed/main.c
+18
-0
t2embed.spec
dlls/t2embed/t2embed.spec
+1
-1
Makefile.in
include/Makefile.in
+1
-0
t2embapi.h
include/t2embapi.h
+46
-0
No files found.
dlls/t2embed/main.c
View file @
8f1836cb
...
...
@@ -24,6 +24,10 @@
#include "windef.h"
#include "winbase.h"
#include "t2embapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
t2embed
);
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
...
...
@@ -41,3 +45,17 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
LONG
WINAPI
TTLoadEmbeddedFont
(
HANDLE
*
phFontReference
,
ULONG
ulFlags
,
ULONG
*
pulPrivStatus
,
ULONG
ulPrivs
,
ULONG
*
pulStatus
,
READEMBEDPROC
lpfnReadFromStream
,
LPVOID
lpvReadStream
,
LPWSTR
szWinFamilyName
,
LPSTR
szMacFamilyName
,
TTLOADINFO
*
pTTLoadInfo
)
{
FIXME
(
"(%p 0x%08x %p 0x%08x %p %p %p %s %s %p) stub
\n
"
,
phFontReference
,
ulFlags
,
pulPrivStatus
,
ulPrivs
,
pulStatus
,
lpfnReadFromStream
,
lpvReadStream
,
debugstr_w
(
szWinFamilyName
),
szMacFamilyName
,
pTTLoadInfo
);
return
E_API_NOTIMPL
;
}
dlls/t2embed/t2embed.spec
View file @
8f1836cb
...
...
@@ -7,7 +7,7 @@
@ stub TTGetEmbeddingType
@ stub TTIsEmbeddingEnabled
@ stub TTIsEmbeddingEnabledForFacename
@ st
ub TTLoadEmbeddedFont
@ st
dcall TTLoadEmbeddedFont(ptr long ptr long ptr ptr ptr wstr str ptr)
@ stub TTRunValidationTests
@ stub _TTCharToUnicode@24
@ stub _TTDeleteEmbeddedFont@12
...
...
include/Makefile.in
View file @
8f1836cb
...
...
@@ -415,6 +415,7 @@ SRCDIR_INCLUDES = \
sspi.h
\
storage.h
\
svrapi.h
\
t2embapi.h
\
tapi.h
\
tchar.h
\
textserv.h
\
...
...
include/t2embapi.h
0 → 100644
View file @
8f1836cb
/*
* Copyright (c) 2009 Andrew Nguyen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_T2EMBAPI_H
#define __WINE_T2EMBAPI_H
#ifdef __cplusplus
extern
"C"
{
#endif
/* Possible return values. */
#define E_NONE 0x0000L
#define E_API_NOTIMPL 0x0001L
typedef
ULONG
(
WINAPIV
*
READEMBEDPROC
)(
void
*
,
void
*
,
ULONG
);
typedef
struct
{
unsigned
short
usStructSize
;
unsigned
short
usRefStrSize
;
unsigned
short
*
pusRefStr
;
}
TTLOADINFO
;
LONG
WINAPI
TTLoadEmbeddedFont
(
HANDLE
*
,
ULONG
,
ULONG
*
,
ULONG
,
ULONG
*
,
READEMBEDPROC
,
LPVOID
,
LPWSTR
,
LPSTR
,
TTLOADINFO
*
);
#ifdef __cplusplus
}
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment