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