widl: Issue an error if a context handle variable is declared outside of a function.
[wine/hacks.git] / dlls / ctl3dv2.dll16 / ctl3d.c
blobd89b88109dfa6b955ce62361787bf3d2ac6d2db4
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 (CTL3DV2.16)
29 BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
31 CTL3D16_is_auto_subclass = TRUE;
32 return TRUE;
35 /***********************************************************************
36 * Ctl3dAutoSubclassEx (CTL3DV2.27)
38 BOOL16 WINAPI Ctl3dAutoSubclassEx16(HINSTANCE16 hInst, DWORD type)
40 CTL3D16_is_auto_subclass = TRUE;
41 return TRUE;
44 /***********************************************************************
45 * Ctl3dColorChange (CTL3DV2.6)
47 BOOL16 WINAPI Ctl3dColorChange16(void)
49 return TRUE;
52 /***********************************************************************
53 * Ctl3dCtlColor (CTL3DV2.4)
55 HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
57 return 0;
60 /***********************************************************************
61 * Ctl3dCtlColorEx (CTL3DV2.18)
63 HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
65 return 0;
68 /***********************************************************************
69 * Ctl3dDlgFramePaint (CTL3DV2.20)
71 LRESULT WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
73 return 0;
76 /***********************************************************************
77 * Ctl3dEnabled (CTL3DV2.5)
79 BOOL16 WINAPI Ctl3dEnabled16(void)
81 return FALSE;
84 /***********************************************************************
85 * Ctl3dGetVer (CTL3DV2.1)
87 WORD WINAPI Ctl3dGetVer16(void)
89 return MAKEWORD(31,2);
92 /***********************************************************************
93 * Ctl3dIsAutoSubclass (CTL3DV2.23)
95 BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
97 return CTL3D16_is_auto_subclass;
100 /***********************************************************************
101 * Ctl3dRegister (CTL3DV2.12)
103 BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
105 return FALSE;
108 /***********************************************************************
109 * Ctl3dSubclassCtl (CTL3DV2.3)
111 BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
113 return FALSE;
116 /***********************************************************************
117 * Ctl3dSubclassCtlEx (CTL3DV2.25)
119 BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
121 return FALSE;
124 /***********************************************************************
125 * Ctl3dSubclassDlg (CTL3DV2.2)
127 BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
129 return FALSE;
132 /***********************************************************************
133 * Ctl3dSubclassDlgEx (CTL3DV2.21)
135 BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
137 return FALSE;
140 /***********************************************************************
141 * Ctl3dUnAutoSubclass (CTL3DV2.24)
143 BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
145 CTL3D16_is_auto_subclass = FALSE;
146 return FALSE;
149 /***********************************************************************
150 * Ctl3dUnregister (CTL3DV2.13)
152 BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
154 CTL3D16_is_auto_subclass = FALSE;
155 return TRUE;
158 /***********************************************************************
159 * Ctl3dUnsubclassCtl (CTL3DV2.26)
161 BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
163 return FALSE;
166 /***********************************************************************
167 * Ctl3dWinIniChange (CTL3DV2.22)
169 void WINAPI Ctl3dWinIniChange16(void)
173 /***********************************************************************
174 * ComboWndProc3d (CTL3DV2.10)
176 LRESULT WINAPI ComboWndProc3d16(HWND16 hwnd, UINT16 msg,WPARAM16 wparam, LPARAM lparam)
178 return 0;
181 /***********************************************************************
182 * BtnWndProc3d (CTL3DV2.7)
184 LRESULT WINAPI BtnWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
186 return 0;
189 /***********************************************************************
190 * StaticWndProc3d (CTL3DV2.11)
192 LRESULT WINAPI StaticWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
194 return 0;
197 /***********************************************************************
198 * EditWndProc3d (CTL3DV2.8)
200 LRESULT WINAPI EditWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
202 return 0;
205 /***********************************************************************
206 * ListWndProc3d (CTL3DV2.9)
208 LRESULT WINAPI ListWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
210 return 0;
213 /***********************************************************************
214 * Ctl3dDlgProc (CTL3DV2.17)
216 LRESULT WINAPI Ctl3dDlgProc16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
218 return 0;