mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 16:31:30 +00:00
33 lines
929 B
C
33 lines
929 B
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);
|
|
|
|
#endif |