[FONTEXT] Initial implementation of CFontExt::DoGetFontTitle (#3127)

This PR is a preparation of fonts folder implementation. CORE-12861
This commit is contained in:
Katayama Hirofumi MZ 2020-09-12 09:40:48 +09:00 committed by GitHub
parent ee69ca786a
commit 183e1eb71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 21 deletions

View file

@ -2,6 +2,10 @@
#ifndef _UNDOCGDI_H
#define _UNDOCGDI_H
#ifdef __cplusplus
extern "C" {
#endif
#define DS_TILE 0x2
#define DS_TRANSPARENTALPHA 0x4
#define DS_TRANSPARENTCLR 0x8
@ -26,19 +30,27 @@ typedef struct GDI_DRAW_STREAM_TAG
DWORD crTransparent; // transparent color.
} GDI_DRAW_STREAM, *PGDI_DRAW_STREAM;
BOOL
WINAPI
GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS);
BOOL WINAPI GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS);
BOOL
WINAPI
BOOL WINAPI
GetTextExtentExPointWPri(
HDC hdc,
LPCWSTR lpwsz,
LPCWSTR lpwsz,
INT cwc,
INT dxMax,
LPINT pcCh,
LPINT pdxOut,
INT dxMax,
LPINT pcCh,
LPINT pdxOut,
LPSIZE psize);
#endif
BOOL WINAPI
GetFontResourceInfoW(
_In_z_ LPCWSTR lpFileName,
_Inout_ DWORD *pdwBufSize,
_Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer,
_In_ DWORD dwType);
#ifdef __cplusplus
} // extern "C"
#endif
#endif