setupapi/tests: Fix test for win9x and Vista.
[wine.git] / dlls / ctl3d32 / ctl3d.c
blob646859cd0a2d93db7fdd96d8c7d48f1a1380a23c
1 /*
2 * 16-bit CTL3D and CTL3DV2 API stubs.
4 * Copyright (c) 2003 Dmitry Timoshkov
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.
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.
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
21 #include "wine/winbase16.h"
22 #include "wine/winuser16.h"
24 static BOOL16 CTL3D16_is_auto_subclass = FALSE;
26 /***********************************************************************
27 * Ctl3dAutoSubclass (CTL3D.16)
28 * Ctl3dAutoSubclass (CTL3DV2.16)
30 BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
32 CTL3D16_is_auto_subclass = TRUE;
33 return TRUE;
36 /***********************************************************************
37 * Ctl3dAutoSubclassEx (CTL3D.27)
38 * Ctl3dAutoSubclassEx (CTL3DV2.27)
40 BOOL16 WINAPI Ctl3dAutoSubclassEx16(HINSTANCE16 hInst, DWORD type)
42 CTL3D16_is_auto_subclass = TRUE;
43 return TRUE;
46 /***********************************************************************
47 * Ctl3dColorChange (CTL3D.6)
48 * Ctl3dColorChange (CTL3DV2.6)
50 BOOL16 WINAPI Ctl3dColorChange16(void)
52 return TRUE;
55 /***********************************************************************
56 * Ctl3dCtlColor (CTL3D.4)
57 * Ctl3dCtlColor (CTL3DV2.4)
59 HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
61 return 0;
64 /***********************************************************************
65 * Ctl3dCtlColorEx (CTL3D.18)
66 * Ctl3dCtlColorEx (CTL3DV2.18)
68 HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
70 return 0;
73 /***********************************************************************
74 * Ctl3dDlgFramePaint (CTL3D.20)
75 * Ctl3dDlgFramePaint (CTL3DV2.20)
77 LONG WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
79 return DefWindowProc16(hwnd, msg, wParam, lParam);
82 /***********************************************************************
83 * Ctl3dEnabled (CTL3D.5)
84 * Ctl3dEnabled (CTL3DV2.5)
86 BOOL16 WINAPI Ctl3dEnabled16(void)
88 return FALSE;
91 /***********************************************************************
92 * Ctl3dGetVer (CTL3D.1)
93 * Ctl3dGetVer (CTL3DV2.1)
95 WORD WINAPI Ctl3dGetVer16(void)
97 return MAKEWORD(31,2);
100 /***********************************************************************
101 * Ctl3dIsAutoSubclass (CTL3D.23)
102 * Ctl3dIsAutoSubclass (CTL3DV2.23)
104 BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
106 return CTL3D16_is_auto_subclass;
109 /***********************************************************************
110 * Ctl3dRegister (CTL3D.12)
111 * Ctl3dRegister (CTL3DV2.12)
113 BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
115 return FALSE;
118 /***********************************************************************
119 * Ctl3dSubclassCtl (CTL3D.3)
120 * Ctl3dSubclassCtl (CTL3DV2.3)
122 BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
124 return FALSE;
127 /***********************************************************************
128 * Ctl3dSubclassCtlEx (CTL3D.25)
129 * Ctl3dSubclassCtlEx (CTL3DV2.25)
131 BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
133 return FALSE;
136 /***********************************************************************
137 * Ctl3dSubclassDlg (CTL3D.2)
138 * Ctl3dSubclassDlg (CTL3DV2.2)
140 BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
142 return FALSE;
145 /***********************************************************************
146 * Ctl3dSubclassDlgEx (CTL3D.21)
147 * Ctl3dSubclassDlgEx (CTL3DV2.21)
149 BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
151 return FALSE;
154 /***********************************************************************
155 * Ctl3dUnAutoSubclass (CTL3D.24)
156 * Ctl3dUnAutoSubclass (CTL3DV2.24)
158 BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
160 CTL3D16_is_auto_subclass = FALSE;
161 return FALSE;
164 /***********************************************************************
165 * Ctl3dUnregister (CTL3D.13)
166 * Ctl3dUnregister (CTL3DV2.13)
168 BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
170 CTL3D16_is_auto_subclass = FALSE;
171 return TRUE;
174 /***********************************************************************
175 * Ctl3dUnsubclassCtl (CTL3D.26)
176 * Ctl3dUnsubclassCtl (CTL3DV2.26)
178 BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
180 return FALSE;
183 /***********************************************************************
184 * Ctl3dWinIniChange (CTL3D.22)
185 * Ctl3dWinIniChange (CTL3DV2.22)
187 void WINAPI Ctl3dWinIniChange16(void)
191 /***********************************************************************
192 * ComboWndProc3d (CTL3D.10)
193 * ComboWndProc3d (CTL3DV2.10)
195 LRESULT WINAPI ComboWndProc3d16(HWND16 hwnd, UINT16 msg,WPARAM16 wparam, LPARAM lparam)
197 return 0;
200 /***********************************************************************
201 * BtnWndProc3d (CTL3D.7)
202 * BtnWndProc3d (CTL3DV2.7)
204 LRESULT WINAPI BtnWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
206 return 0;
209 /***********************************************************************
210 * StaticWndProc3d (CTL3D.11)
211 * StaticWndProc3d (CTL3DV2.11)
213 LRESULT WINAPI StaticWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
215 return 0;
218 /***********************************************************************
219 * EditWndProc3d (CTL3D.8)
220 * EditWndProc3d (CTL3DV2.8)
222 LRESULT WINAPI EditWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
224 return 0;
227 /***********************************************************************
228 * ListWndProc3d (CTL3D.9)
229 * ListWndProc3d (CTL3DV2.9)
231 LRESULT WINAPI ListWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
233 return 0;
236 /***********************************************************************
237 * Ctl3dDlgProc (CTL3D.17)
238 * Ctl3dDlgProc (CTL3DV2.17)
240 LRESULT WINAPI Ctl3dDlgProc16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
242 return 0;