ctl3d.c 5.58 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
/***********************************************************************
 *		Ctl3dAutoSubclass (CTL3DV2.16)
 */
29 30
BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
{
31
    CTL3D16_is_auto_subclass = TRUE;
32 33 34
    return TRUE;
}

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

44 45 46
/***********************************************************************
 *		Ctl3dColorChange (CTL3DV2.6)
 */
47 48 49 50 51
BOOL16 WINAPI Ctl3dColorChange16(void)
{
    return TRUE;
}

52 53 54
/***********************************************************************
 *		Ctl3dCtlColor (CTL3DV2.4)
 */
55 56 57 58 59
HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
{
    return 0;
}

60 61 62
/***********************************************************************
 *		Ctl3dCtlColorEx (CTL3DV2.18)
 */
63 64 65 66 67
HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
{
    return 0;
}

68 69 70
/***********************************************************************
 *		Ctl3dDlgFramePaint (CTL3DV2.20)
 */
71
LRESULT WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
72
{
73
    return 0;
74 75
}

76 77 78
/***********************************************************************
 *		Ctl3dEnabled (CTL3DV2.5)
 */
79 80 81 82 83
BOOL16 WINAPI Ctl3dEnabled16(void)
{
    return FALSE;
}

84 85 86
/***********************************************************************
 *		Ctl3dGetVer (CTL3DV2.1)
 */
87 88 89 90 91
WORD WINAPI Ctl3dGetVer16(void)
{
    return MAKEWORD(31,2);
}

92 93 94
/***********************************************************************
 *		Ctl3dIsAutoSubclass (CTL3DV2.23)
 */
95 96
BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
{
97
    return CTL3D16_is_auto_subclass;
98 99
}

100 101 102
/***********************************************************************
 *		Ctl3dRegister (CTL3DV2.12)
 */
103 104 105 106 107
BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
{
    return FALSE;
}

108 109 110
/***********************************************************************
 *		Ctl3dSubclassCtl (CTL3DV2.3)
 */
111 112 113 114 115
BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
{
    return FALSE;
}

116 117 118
/***********************************************************************
 *		Ctl3dSubclassCtlEx (CTL3DV2.25)
 */
119 120 121 122 123
BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
{
    return FALSE;
}

124 125 126
/***********************************************************************
 *		Ctl3dSubclassDlg (CTL3DV2.2)
 */
127 128 129 130 131
BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
{
    return FALSE;
}

132 133 134
/***********************************************************************
 *		Ctl3dSubclassDlgEx (CTL3DV2.21)
 */
135 136 137 138 139
BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
{
    return FALSE;
}

140 141 142
/***********************************************************************
 *		Ctl3dUnAutoSubclass (CTL3DV2.24)
 */
143 144
BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
{
145
    CTL3D16_is_auto_subclass = FALSE;
146 147 148
    return FALSE;
}

149 150 151
/***********************************************************************
 *		Ctl3dUnregister (CTL3DV2.13)
 */
152 153
BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
{
154
    CTL3D16_is_auto_subclass = FALSE;
155 156 157
    return TRUE;
}

158 159 160
/***********************************************************************
 *		Ctl3dUnsubclassCtl (CTL3DV2.26)
 */
161 162 163 164 165
BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
{
    return FALSE;
}

166 167 168
/***********************************************************************
 *		Ctl3dWinIniChange (CTL3DV2.22)
 */
169 170 171
void WINAPI Ctl3dWinIniChange16(void)
{
}
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 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

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

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

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

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

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

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