mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 13:29:43 +00:00
[FONTEXT] Initial implementation of CFontExt::DoGetFontTitle (#3127)
This PR is a preparation of fonts folder implementation. CORE-12861
This commit is contained in:
parent
ee69ca786a
commit
183e1eb71b
3 changed files with 49 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue