Added LGPL standard comment, and copyright notices where necessary.
[wine] / dlls / gdi / bidi16.c
1 /*
2  * Win16 BiDi functions
3  * Copyright 2000 Erez Volk
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  * NOTE: Right now, most of these functions do nothing.
20  */
21
22 #include "windef.h"
23 #include "wine/wingdi16.h"
24 #include "wine/debug.h"
25
26 WINE_DEFAULT_DEBUG_CHANNEL(gdi);
27
28 /***********************************************************************
29  *              RawTextOut   (GDI.530)
30  */
31 LONG WINAPI RawTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
32
33 /***********************************************************************
34  *              RawExtTextOut   (GDI.531)
35  */
36 LONG WINAPI RawExtTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
37
38 /***********************************************************************
39  *              RawGetTextExtent   (GDI.532)
40  */
41 LONG WINAPI RawGetTextExtent16(HDC16 hdc, LPCSTR lpszString, INT16 cbString ) { 
42       FIXME("(%04hx, %p, %hd): stub\n", hdc, lpszString, cbString); 
43       return 0; 
44 }
45
46 /***********************************************************************
47  *              BiDiLayout   (GDI.536)
48  */
49 LONG WINAPI BiDiLayout16(void) { FIXME("stub (no prototype)\n"); return 0; }
50
51 /***********************************************************************
52  *              BiDiCreateTabString   (GDI.538)
53  */
54 LONG WINAPI BiDiCreateTabString16(void) { FIXME("stub (no prototype)\n"); return 0; }
55
56 /***********************************************************************
57  *              BiDiGlyphOut   (GDI.540)
58  */
59 LONG WINAPI BiDiGlyphOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
60
61 /***********************************************************************
62  *              BiDiGetStringExtent   (GDI.543)
63  */
64 LONG WINAPI BiDiGetStringExtent16(void) { FIXME("stub (no prototype)\n"); return 0; }
65
66 /***********************************************************************
67  *              BiDiDeleteString   (GDI.555)
68  */
69 LONG WINAPI BiDiDeleteString16(void) { FIXME("stub (no prototype)\n"); return 0; }
70
71 /***********************************************************************
72  *              BiDiSetDefaults   (GDI.556)
73  */
74 LONG WINAPI BiDiSetDefaults16(void) { FIXME("stub (no prototype)\n"); return 0; }
75
76 /***********************************************************************
77  *              BiDiGetDefaults   (GDI.558)
78  */
79 LONG WINAPI BiDiGetDefaults16(void) { FIXME("stub (no prototype)\n"); return 0; }
80
81 /***********************************************************************
82  *              BiDiShape   (GDI.560)
83  */
84 LONG WINAPI BiDiShape16(void) { FIXME("stub (no prototype)\n"); return 0; }
85
86 /***********************************************************************
87  *              BiDiFontComplement   (GDI.561)
88  */
89 LONG WINAPI BiDiFontComplement16(void) { FIXME("stub (no prototype)\n"); return 0; }
90
91 /***********************************************************************
92  *              BiDiSetKashida   (GDI.564)
93  */
94 LONG WINAPI BiDiSetKashida16(void) { FIXME("stub (no prototype)\n"); return 0; }
95
96 /***********************************************************************
97  *              BiDiKExtTextOut   (GDI.565)
98  */
99 LONG WINAPI BiDiKExtTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
100
101 /***********************************************************************
102  *              BiDiShapeEx   (GDI.566)
103  */
104 LONG WINAPI BiDiShapeEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
105
106 /***********************************************************************
107  *              BiDiCreateStringEx   (GDI.569)
108  */
109 LONG WINAPI BiDiCreateStringEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
110
111 /***********************************************************************
112  *              GetTextExtentRtoL   (GDI.571)
113  */
114 LONG WINAPI GetTextExtentRtoL16(void) { FIXME("stub (no prototype)\n"); return 0; }
115
116 /***********************************************************************
117  *              GetHDCCharSet   (GDI.572)
118  */
119 LONG WINAPI GetHDCCharSet16(void) { FIXME("stub (no prototype)\n"); return 0; }
120
121 /***********************************************************************
122  *              BiDiLayoutEx   (GDI.573)
123  */
124 LONG WINAPI BiDiLayoutEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
125
126 /***********************************************************************
127  *           SetLayout   (GDI.1000)
128  *
129  * Sets left->right or right->left text layout flags of a dc.
130  */
131 BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout )
132 {
133     FIXME( "( %04hx, %08lx ): No BiDi16\n", hdc, layout );
134     return SetLayout( hdc, layout );
135 }