Commit baee27c6 authored by Mikolaj Zalewski's avatar Mikolaj Zalewski Committed by Alexandre Julliard

gdi32: Implement AddFontMemResourceEx (based on a patch of Byeong-Sik Jeon).

parent 66cf4f7d
...@@ -3214,8 +3214,7 @@ BOOL WINAPI RemoveFontResourceW( LPCWSTR str ) ...@@ -3214,8 +3214,7 @@ BOOL WINAPI RemoveFontResourceW( LPCWSTR str )
*/ */
HANDLE WINAPI AddFontMemResourceEx( PVOID pbFont, DWORD cbFont, PVOID pdv, DWORD *pcFonts) HANDLE WINAPI AddFontMemResourceEx( PVOID pbFont, DWORD cbFont, PVOID pdv, DWORD *pcFonts)
{ {
FIXME("(%p,%08x,%p,%p): stub\n", pbFont, cbFont, pdv, pcFonts); return WineEngAddFontMemResourceEx(pbFont, cbFont, pdv, pcFonts);
return NULL;
} }
/*********************************************************************** /***********************************************************************
......
...@@ -421,6 +421,7 @@ extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, BOOL on_disk ); ...@@ -421,6 +421,7 @@ extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, BOOL on_disk );
/* freetype.c */ /* freetype.c */
extern INT WineEngAddFontResourceEx(LPCWSTR, DWORD, PVOID); extern INT WineEngAddFontResourceEx(LPCWSTR, DWORD, PVOID);
extern HANDLE WineEngAddFontMemResourceEx(PVOID, DWORD, PVOID, LPDWORD);
extern GdiFont* WineEngCreateFontInstance(DC*, HFONT); extern GdiFont* WineEngCreateFontInstance(DC*, HFONT);
extern BOOL WineEngDestroyFontInstance(HFONT handle); extern BOOL WineEngDestroyFontInstance(HFONT handle);
extern DWORD WineEngEnumFonts(LPLOGFONTW, FONTENUMPROCW, LPARAM); extern DWORD WineEngEnumFonts(LPLOGFONTW, FONTENUMPROCW, LPARAM);
......
...@@ -3274,6 +3274,7 @@ INT WINAPI AddFontResourceW(LPCWSTR); ...@@ -3274,6 +3274,7 @@ INT WINAPI AddFontResourceW(LPCWSTR);
INT WINAPI AddFontResourceExA(LPCSTR, DWORD, PVOID); INT WINAPI AddFontResourceExA(LPCSTR, DWORD, PVOID);
INT WINAPI AddFontResourceExW(LPCWSTR, DWORD, PVOID); INT WINAPI AddFontResourceExW(LPCWSTR, DWORD, PVOID);
#define AddFontResourceEx WINELIB_NAME_AW(AddFontResourceEx) #define AddFontResourceEx WINELIB_NAME_AW(AddFontResourceEx)
HANDLE WINAPI AddFontMemResourceEx(PVOID, DWORD, PVOID, DWORD *);
BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION); BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT); BOOL WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); BOOL WINAPI AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment