ReactOS  0.4.15-dev-499-g1f31905
undocgdi.h
Go to the documentation of this file.
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.
18  DWORD unknown2; // must be 9.
20  RECT rcSrc; // source rect of bitmap to draw.
21  DWORD drawOption; // DS_ flags
26  DWORD crTransparent; // transparent color.
28 
29 BOOL
30 WINAPI
32 
33 BOOL
34 WINAPI
36  HDC hdc,
37  LPCWSTR lpwsz,
38  INT cwc,
39  INT dxMax,
40  LPINT pcCh,
41  LPINT pdxOut,
42  LPSIZE psize);
43 
44 #endif
_Must_inspect_result_ _Out_ LPSIZE psize
Definition: ntgdi.h:1569
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
static HDC
Definition: imagelist.c:92
int32_t INT
Definition: typedefs.h:57
DWORD bottomSizingMargin
Definition: undocgdi.h:25
DWORD leftSizingMargin
Definition: undocgdi.h:22
BOOL WINAPI GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS)
Definition: misc.c:644
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD rightSizingMargin
Definition: undocgdi.h:23
BOOL WINAPI GetTextExtentExPointWPri(HDC hdc, LPCWSTR lpwsz, INT cwc, INT dxMax, LPINT pcCh, LPINT pdxOut, LPSIZE psize)
struct GDI_DRAW_STREAM_TAG GDI_DRAW_STREAM
DWORD topSizingMargin
Definition: undocgdi.h:24
r l[0]
Definition: byte_order.h:167
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
HDC hdc
Definition: main.c:9
struct GDI_DRAW_STREAM_TAG * PGDI_DRAW_STREAM
unsigned int ULONG
Definition: retypes.h:1
static const WCHAR dc[]
static HBITMAP
Definition: button.c:44
int * LPINT
Definition: windef.h:178