4a0ea8f5d50ebd5e9d649af91982e8c19b745a3f
[reactos.git] / sdk / include / reactos / undocgdi.h
1
2 #ifndef _UNDOCGDI_H
3 #define _UNDOCGDI_H
4
5 #define DS_TILE 0x2
6 #define DS_TRANSPARENTALPHA 0x4
7 #define DS_TRANSPARENTCLR 0x8
8 #define DS_TRUESIZE 0x20
9
10 typedef struct GDI_DRAW_STREAM_TAG
11 {
12 DWORD signature; // must be 0x44727753;//"Swrd"
13 DWORD reserved; // must be 0
14 HDC hDC; // handle to the device object of windiw to draw.
15 RECT rcDest; // desination rect of dc to draw.
16 DWORD unknown1; // must be 1.
17 HBITMAP hImage;
18 DWORD unknown2; // must be 9.
19 RECT rcClip;
20 RECT rcSrc; // source rect of bitmap to draw.
21 DWORD drawOption; // DS_ flags
22 DWORD leftSizingMargin;
23 DWORD rightSizingMargin;
24 DWORD topSizingMargin;
25 DWORD bottomSizingMargin;
26 DWORD crTransparent; // transparent color.
27 } GDI_DRAW_STREAM, *PGDI_DRAW_STREAM;
28
29 BOOL
30 WINAPI
31 GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS);
32
33 #endif