ReactOS 0.4.16-dev-1146-gc477928
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 _In_ HDC hdc,
38 _In_reads_(cwc) PCWCH lpwsz,
39 _In_ INT cwc,
40 _In_ INT dxMax,
41 _Out_opt_ LPINT pcCh,
42 _Out_writes_to_opt_(cwc, *pcCh) 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
HDC dc
Definition: cylfrac.c:34
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
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 _In_reads_(s)
Definition: no_sal2.h:168
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_
Definition: no_sal2.h:162
#define _In_z_
Definition: no_sal2.h:164
#define _In_
Definition: no_sal2.h:158
CONST WCHAR * PCWCH
Definition: ntbasedef.h:419
_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(_In_ HDC hdc, _In_reads_(cwc) PCWCH lpwsz, _In_ INT cwc, _In_ INT dxMax, _Out_opt_ LPINT pcCh, _Out_writes_to_opt_(cwc, *pcCh) LPINT pdxOut, _In_ LPSIZE psize)
Definition: text.c:311
BOOL WINAPI GetFontResourceInfoW(_In_z_ LPCWSTR lpFileName, _Inout_ DWORD *pdwBufSize, _Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer, _In_ DWORD dwType)
Definition: text.c:748
struct GDI_DRAW_STREAM_TAG GDI_DRAW_STREAM
_In_ LPCSTR lpFileName
Definition: winbase.h:3102
int * LPINT
Definition: windef.h:178
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185