[MMIXER] Fix additional data size initialization for different audio formats (#6753)
[reactos.git] / sdk / include / reactos / undocgdi.h
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.
21 HBITMAP hImage;
22 DWORD unknown2; // must be 9.
23 RECT rcClip;
24 RECT rcSrc; // source rect of bitmap to draw.
25 DWORD drawOption; // DS_ flags
26 DWORD leftSizingMargin;
27 DWORD rightSizingMargin;
28 DWORD topSizingMargin;
29 DWORD bottomSizingMargin;
30 DWORD crTransparent; // transparent color.
31 } GDI_DRAW_STREAM, *PGDI_DRAW_STREAM;
32
33 BOOL WINAPI GdiDrawStream(HDC dc, ULONG l, PGDI_DRAW_STREAM pDS);
34
35 BOOL WINAPI
36 GetTextExtentExPointWPri(
37 HDC hdc,
38 LPCWSTR lpwsz,
39 INT cwc,
40 INT dxMax,
41 LPINT pcCh,
42 LPINT pdxOut,
43 LPSIZE psize);
44
45 BOOL WINAPI
46 GetFontResourceInfoW(
47 _In_z_ LPCWSTR lpFileName,
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