ReactOS  0.4.15-dev-1184-g23e04ae
undocgdi.h
Go to the documentation of this file.
1 
2 #ifndef _UNDOCGDI_H
3 #define _UNDOCGDI_H
4 
5 #ifdef __cplusplus
6 extern "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 
14 typedef 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,
43  LPSIZE psize);
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
_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:58
DWORD bottomSizingMargin
Definition: undocgdi.h:29
DWORD leftSizingMargin
Definition: undocgdi.h:26
BOOL WINAPI GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS)
Definition: misc.c:644
unsigned int BOOL
Definition: ntddk_ex.h:94
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:173
DWORD rightSizingMargin
Definition: undocgdi.h:27
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:28
r l[0]
Definition: byte_order.h:167
BOOL WINAPI GetFontResourceInfoW(_In_z_ LPCWSTR lpFileName, _Inout_ DWORD *pdwBufSize, _Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer, _In_ DWORD dwType)
Definition: text.c:716
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
#define _Inout_
Definition: no_sal2.h:244
HDC hdc
Definition: main.c:9
struct GDI_DRAW_STREAM_TAG * PGDI_DRAW_STREAM
#define _In_
Definition: no_sal2.h:204
#define _In_z_
Definition: no_sal2.h:239
#define _Out_writes_to_opt_(size, count)
Definition: no_sal2.h:379
unsigned int ULONG
Definition: retypes.h:1
static const WCHAR dc[]
static HBITMAP
Definition: button.c:44
_In_ LPCSTR lpFileName
Definition: winbase.h:3034
int * LPINT
Definition: windef.h:178