ReactOS 0.4.16-dev-257-g6aa11ac
undocgdi.h
Go to the documentation of this file.
1
2#ifndef _UNDOCGDI_H
3#define _UNDOCGDI_H
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9#define DS_TILE 0x2
10#define DS_TRANSPARENTALPHA 0x4
11#define DS_TRANSPARENTCLR 0x8
12#define DS_TRUESIZE 0x20
13
14typedef struct GDI_DRAW_STREAM_TAG
15{
16 DWORD signature; // must be 0x44727753;//"Swrd"
17 DWORD reserved; // must be 0
18 HDC hDC; // handle to the device object of windiw to draw.
19 RECT rcDest; // desination rect of dc to draw.
20 DWORD unknown1; // must be 1.
22 DWORD unknown2; // must be 9.
24 RECT rcSrc; // source rect of bitmap to draw.
25 DWORD drawOption; // DS_ flags
30 DWORD crTransparent; // transparent color.
32
34
37 HDC hdc,
38 LPCWSTR lpwsz,
39 INT cwc,
40 INT dxMax,
41 LPINT pcCh,
42 LPINT pdxOut,
44
48 _Inout_ DWORD *pdwBufSize,
49 _Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer,
50 _In_ DWORD dwType);
51
52#ifdef __cplusplus
53} // extern "C"
54#endif
55
56#endif
r l[0]
Definition: byte_order.h:168
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
static const WCHAR dc[]
HDC hdc
Definition: main.c:9
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:88
#define _Out_writes_to_opt_(s, c)
Definition: no_sal2.h:238
#define _Inout_
Definition: no_sal2.h:162
#define _In_z_
Definition: no_sal2.h:164
#define _In_
Definition: no_sal2.h:158
_Must_inspect_result_ _Out_ LPSIZE psize
Definition: ntgdi.h:1569
DWORD leftSizingMargin
Definition: undocgdi.h:26
DWORD rightSizingMargin
Definition: undocgdi.h:27
DWORD topSizingMargin
Definition: undocgdi.h:28
DWORD bottomSizingMargin
Definition: undocgdi.h:29
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
BOOL WINAPI GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS)
Definition: misc.c:644
struct GDI_DRAW_STREAM_TAG * PGDI_DRAW_STREAM
BOOL WINAPI GetTextExtentExPointWPri(HDC hdc, LPCWSTR lpwsz, INT cwc, INT dxMax, LPINT pcCh, LPINT pdxOut, LPSIZE psize)
BOOL WINAPI GetFontResourceInfoW(_In_z_ LPCWSTR lpFileName, _Inout_ DWORD *pdwBufSize, _Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer, _In_ DWORD dwType)
Definition: text.c:749
struct GDI_DRAW_STREAM_TAG GDI_DRAW_STREAM
_In_ LPCSTR lpFileName
Definition: winbase.h:3096
int * LPINT
Definition: windef.h:178
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185