netstat: Initial implementation.
[wine] / dlls / ctl3d.dll16 / ctl3d.c
1 /*
2  * 16-bit CTL3D and CTL3DV2 API stubs.
3  *
4  * Copyright (c) 2003 Dmitry Timoshkov
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include "wine/winbase16.h"
22 #include "wine/winuser16.h"
23
24 static BOOL16 CTL3D16_is_auto_subclass = FALSE;
25
26 /***********************************************************************
27  *              Ctl3dAutoSubclass (CTL3D.16)
28  */
29 BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
30 {
31     CTL3D16_is_auto_subclass = TRUE;
32     return TRUE;
33 }
34
35 /***********************************************************************
36  *              Ctl3dAutoSubclassEx (CTL3D.27)
37  */
38 BOOL16 WINAPI Ctl3dAutoSubclassEx16(HINSTANCE16 hInst, DWORD type)
39 {
40     CTL3D16_is_auto_subclass = TRUE;
41     return TRUE;
42 }
43
44 /***********************************************************************
45  *              Ctl3dColorChange (CTL3D.6)
46  */
47 BOOL16 WINAPI Ctl3dColorChange16(void)
48 {
49     return TRUE;
50 }
51
52 /***********************************************************************
53  *              Ctl3dCtlColor (CTL3D.4)
54  */
55 HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
56 {
57     return 0;
58 }
59
60 /***********************************************************************
61  *              Ctl3dCtlColorEx (CTL3D.18)
62  */
63 HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
64 {
65     return 0;
66 }
67
68 /***********************************************************************
69  *              Ctl3dDlgFramePaint (CTL3D.20)
70  */
71 LRESULT WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
72 {
73     return 0;
74 }
75
76 /***********************************************************************
77  *              Ctl3dEnabled (CTL3D.5)
78  */
79 BOOL16 WINAPI Ctl3dEnabled16(void)
80 {
81     return FALSE;
82 }
83
84 /***********************************************************************
85  *              Ctl3dGetVer (CTL3D.1)
86  */
87 WORD WINAPI Ctl3dGetVer16(void)
88 {
89     return MAKEWORD(31,2);
90 }
91
92 /***********************************************************************
93  *              Ctl3dIsAutoSubclass (CTL3D.23)
94  */
95 BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
96 {
97     return CTL3D16_is_auto_subclass;
98 }
99
100 /***********************************************************************
101  *              Ctl3dRegister (CTL3D.12)
102  */
103 BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
104 {
105     return FALSE;
106 }
107
108 /***********************************************************************
109  *              Ctl3dSubclassCtl (CTL3D.3)
110  */
111 BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
112 {
113     return FALSE;
114 }
115
116 /***********************************************************************
117  *              Ctl3dSubclassCtlEx (CTL3D.25)
118  */
119 BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
120 {
121     return FALSE;
122 }
123
124 /***********************************************************************
125  *              Ctl3dSubclassDlg (CTL3D.2)
126  */
127 BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
128 {
129     return FALSE;
130 }
131
132 /***********************************************************************
133  *              Ctl3dSubclassDlgEx (CTL3D.21)
134  */
135 BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
136 {
137     return FALSE;
138 }
139
140 /***********************************************************************
141  *              Ctl3dUnAutoSubclass (CTL3D.24)
142  */
143 BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
144 {
145     CTL3D16_is_auto_subclass = FALSE;
146     return FALSE;
147 }
148
149 /***********************************************************************
150  *              Ctl3dUnregister (CTL3D.13)
151  */
152 BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
153 {
154     CTL3D16_is_auto_subclass = FALSE;
155     return TRUE;
156 }
157
158 /***********************************************************************
159  *              Ctl3dUnsubclassCtl (CTL3D.26)
160  */
161 BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
162 {
163     return FALSE;
164 }
165
166 /***********************************************************************
167  *              Ctl3dWinIniChange (CTL3D.22)
168  */
169 void WINAPI Ctl3dWinIniChange16(void)
170 {
171 }
172
173 /***********************************************************************
174  *              ComboWndProc3d (CTL3D.10)
175  */
176 LRESULT WINAPI ComboWndProc3d16(HWND16 hwnd, UINT16 msg,WPARAM16 wparam, LPARAM lparam)
177 {
178     return 0;
179 }
180
181 /***********************************************************************
182  *              BtnWndProc3d (CTL3D.7)
183  */
184 LRESULT WINAPI BtnWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
185 {
186     return 0;
187 }
188
189 /***********************************************************************
190  *              StaticWndProc3d (CTL3D.11)
191  */
192 LRESULT WINAPI StaticWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
193 {
194     return 0;
195 }
196
197 /***********************************************************************
198  *              EditWndProc3d (CTL3D.8)
199  */
200 LRESULT WINAPI EditWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
201 {
202     return 0;
203 }
204
205 /***********************************************************************
206  *              ListWndProc3d (CTL3D.9)
207  */
208 LRESULT WINAPI ListWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
209 {
210     return 0;
211 }
212
213 /***********************************************************************
214  *              Ctl3dDlgProc (CTL3D.17)
215  */
216 LRESULT WINAPI Ctl3dDlgProc16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
217 {
218     return 0;
219 }