ctl3d.c 6.34 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * 16-bit CTL3D and CTL3DV2 API stubs.
 *
 * Copyright (c) 2003 Dmitry Timoshkov
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * 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 22 23
 */

#include "wine/winbase16.h"
#include "wine/winuser16.h"

24 25
static BOOL16 CTL3D16_is_auto_subclass = FALSE;

26 27 28 29
/***********************************************************************
 *		Ctl3dAutoSubclass (CTL3D.16)
 *		Ctl3dAutoSubclass (CTL3DV2.16)
 */
30 31
BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
{
32
    CTL3D16_is_auto_subclass = TRUE;
33 34 35
    return TRUE;
}

36 37 38 39
/***********************************************************************
 *		Ctl3dAutoSubclassEx (CTL3D.27)
 *		Ctl3dAutoSubclassEx (CTL3DV2.27)
 */
40 41
BOOL16 WINAPI Ctl3dAutoSubclassEx16(HINSTANCE16 hInst, DWORD type)
{
42
    CTL3D16_is_auto_subclass = TRUE;
43 44 45
    return TRUE;
}

46 47 48 49
/***********************************************************************
 *		Ctl3dColorChange (CTL3D.6)
 *		Ctl3dColorChange (CTL3DV2.6)
 */
50 51 52 53 54
BOOL16 WINAPI Ctl3dColorChange16(void)
{
    return TRUE;
}

55 56 57 58
/***********************************************************************
 *		Ctl3dCtlColor (CTL3D.4)
 *		Ctl3dCtlColor (CTL3DV2.4)
 */
59 60 61 62 63
HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
{
    return 0;
}

64 65 66 67
/***********************************************************************
 *		Ctl3dCtlColorEx (CTL3D.18)
 *		Ctl3dCtlColorEx (CTL3DV2.18)
 */
68 69 70 71 72
HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
{
    return 0;
}

73 74 75 76
/***********************************************************************
 *		Ctl3dDlgFramePaint (CTL3D.20)
 *		Ctl3dDlgFramePaint (CTL3DV2.20)
 */
77 78 79 80 81
LONG WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
{
    return DefWindowProc16(hwnd, msg, wParam, lParam);
}

82 83 84 85
/***********************************************************************
 *		Ctl3dEnabled (CTL3D.5)
 *		Ctl3dEnabled (CTL3DV2.5)
 */
86 87 88 89 90
BOOL16 WINAPI Ctl3dEnabled16(void)
{
    return FALSE;
}

91 92 93 94
/***********************************************************************
 *		Ctl3dGetVer (CTL3D.1)
 *		Ctl3dGetVer (CTL3DV2.1)
 */
95 96 97 98 99
WORD WINAPI Ctl3dGetVer16(void)
{
    return MAKEWORD(31,2);
}

100 101 102 103
/***********************************************************************
 *		Ctl3dIsAutoSubclass (CTL3D.23)
 *		Ctl3dIsAutoSubclass (CTL3DV2.23)
 */
104 105
BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
{
106
    return CTL3D16_is_auto_subclass;
107 108
}

109 110 111 112
/***********************************************************************
 *		Ctl3dRegister (CTL3D.12)
 *		Ctl3dRegister (CTL3DV2.12)
 */
113 114 115 116 117
BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
{
    return FALSE;
}

118 119 120 121
/***********************************************************************
 *		Ctl3dSubclassCtl (CTL3D.3)
 *		Ctl3dSubclassCtl (CTL3DV2.3)
 */
122 123 124 125 126
BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
{
    return FALSE;
}

127 128 129 130
/***********************************************************************
 *		Ctl3dSubclassCtlEx (CTL3D.25)
 *		Ctl3dSubclassCtlEx (CTL3DV2.25)
 */
131 132 133 134 135
BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
{
    return FALSE;
}

136 137 138 139
/***********************************************************************
 *		Ctl3dSubclassDlg (CTL3D.2)
 *		Ctl3dSubclassDlg (CTL3DV2.2)
 */
140 141 142 143 144
BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
{
    return FALSE;
}

145 146 147 148
/***********************************************************************
 *		Ctl3dSubclassDlgEx (CTL3D.21)
 *		Ctl3dSubclassDlgEx (CTL3DV2.21)
 */
149 150 151 152 153
BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
{
    return FALSE;
}

154 155 156 157
/***********************************************************************
 *		Ctl3dUnAutoSubclass (CTL3D.24)
 *		Ctl3dUnAutoSubclass (CTL3DV2.24)
 */
158 159
BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
{
160
    CTL3D16_is_auto_subclass = FALSE;
161 162 163
    return FALSE;
}

164 165 166 167
/***********************************************************************
 *		Ctl3dUnregister (CTL3D.13)
 *		Ctl3dUnregister (CTL3DV2.13)
 */
168 169
BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
{
170
    CTL3D16_is_auto_subclass = FALSE;
171 172 173
    return TRUE;
}

174 175 176 177
/***********************************************************************
 *		Ctl3dUnsubclassCtl (CTL3D.26)
 *		Ctl3dUnsubclassCtl (CTL3DV2.26)
 */
178 179 180 181 182
BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
{
    return FALSE;
}

183 184 185 186
/***********************************************************************
 *		Ctl3dWinIniChange (CTL3D.22)
 *		Ctl3dWinIniChange (CTL3DV2.22)
 */
187 188 189
void WINAPI Ctl3dWinIniChange16(void)
{
}
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243

/***********************************************************************
 *		ComboWndProc3d (CTL3D.10)
 *		ComboWndProc3d (CTL3DV2.10)
 */
LRESULT WINAPI ComboWndProc3d16(HWND16 hwnd, UINT16 msg,WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}

/***********************************************************************
 *		BtnWndProc3d (CTL3D.7)
 *		BtnWndProc3d (CTL3DV2.7)
 */
LRESULT WINAPI BtnWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}

/***********************************************************************
 *		StaticWndProc3d (CTL3D.11)
 *		StaticWndProc3d (CTL3DV2.11)
 */
LRESULT WINAPI StaticWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}

/***********************************************************************
 *		EditWndProc3d (CTL3D.8)
 *		EditWndProc3d (CTL3DV2.8)
 */
LRESULT WINAPI EditWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}

/***********************************************************************
 *		ListWndProc3d (CTL3D.9)
 *		ListWndProc3d (CTL3DV2.9)
 */
LRESULT WINAPI ListWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}

/***********************************************************************
 *		Ctl3dDlgProc (CTL3D.17)
 *		Ctl3dDlgProc (CTL3DV2.17)
 */
LRESULT WINAPI Ctl3dDlgProc16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
{
    return 0;
}