mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
7143e411c4
- Assume that GetTextExtentExPointWPri() uses the same kind of arguments as GetTextExtentExPointW(). - Add GetTextExtentExPointWPri() declaration to undocgdi.h.
44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
|
|
#ifndef _UNDOCGDI_H
|
|
#define _UNDOCGDI_H
|
|
|
|
#define DS_TILE 0x2
|
|
#define DS_TRANSPARENTALPHA 0x4
|
|
#define DS_TRANSPARENTCLR 0x8
|
|
#define DS_TRUESIZE 0x20
|
|
|
|
typedef struct GDI_DRAW_STREAM_TAG
|
|
{
|
|
DWORD signature; // must be 0x44727753;//"Swrd"
|
|
DWORD reserved; // must be 0
|
|
HDC hDC; // handle to the device object of windiw to draw.
|
|
RECT rcDest; // desination rect of dc to draw.
|
|
DWORD unknown1; // must be 1.
|
|
HBITMAP hImage;
|
|
DWORD unknown2; // must be 9.
|
|
RECT rcClip;
|
|
RECT rcSrc; // source rect of bitmap to draw.
|
|
DWORD drawOption; // DS_ flags
|
|
DWORD leftSizingMargin;
|
|
DWORD rightSizingMargin;
|
|
DWORD topSizingMargin;
|
|
DWORD bottomSizingMargin;
|
|
DWORD crTransparent; // transparent color.
|
|
} GDI_DRAW_STREAM, *PGDI_DRAW_STREAM;
|
|
|
|
BOOL
|
|
WINAPI
|
|
GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS);
|
|
|
|
BOOL
|
|
WINAPI
|
|
GetTextExtentExPointWPri(
|
|
HDC hdc,
|
|
LPCWSTR lpwsz,
|
|
INT cwc,
|
|
INT dxMax,
|
|
LPINT pcCh,
|
|
LPINT pdxOut,
|
|
LPSIZE psize);
|
|
|
|
#endif |