d3d8/tests: Fix test on win9x with broken driver.
[wine/hacks.git] / dlls / ctl3d32 / ctl3d32.c
blobcbcb93d5972e533b1e6e73cd3efe20d6dae74373
1 /*
2 * CTL3D32 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 <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winuser.h"
27 static BOOL CTL3D_is_auto_subclass = FALSE;
29 BOOL WINAPI Ctl3dAutoSubclass(HINSTANCE hInst)
31 CTL3D_is_auto_subclass = TRUE;
32 return TRUE;
35 BOOL WINAPI Ctl3dAutoSubclassEx(HINSTANCE hInst, DWORD type)
37 CTL3D_is_auto_subclass = TRUE;
38 return TRUE;
41 BOOL WINAPI Ctl3dColorChange(void)
43 return TRUE;
46 HBRUSH WINAPI Ctl3dCtlColor(HDC hdc, HWND hwnd)
48 return 0;
51 HBRUSH WINAPI Ctl3dCtlColorEx(UINT msg, WPARAM wParam, LPARAM lParam)
53 return 0;
56 LONG WINAPI Ctl3dDlgFramePaint(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
58 return DefWindowProcA(hwnd, msg, wParam, lParam);
61 BOOL WINAPI Ctl3dEnabled(void)
63 return FALSE;
66 WORD WINAPI Ctl3dGetVer(void)
68 return MAKEWORD(31,2);
71 BOOL WINAPI Ctl3dIsAutoSubclass(void)
73 return CTL3D_is_auto_subclass;
76 BOOL WINAPI Ctl3dRegister(HINSTANCE hInst)
78 return FALSE;
81 BOOL WINAPI Ctl3dSubclassCtl(HWND hwnd)
83 return FALSE;
86 BOOL WINAPI Ctl3dSubclassCtlEx(HWND hwnd, int type)
88 return FALSE;
91 BOOL WINAPI Ctl3dSubclassDlg(HWND hwnd, WORD types)
93 return FALSE;
96 BOOL WINAPI Ctl3dSubclassDlgEx(HWND hwnd, DWORD types)
98 return FALSE;
101 BOOL WINAPI Ctl3dUnAutoSubclass(void)
103 CTL3D_is_auto_subclass = FALSE;
104 return FALSE;
107 BOOL WINAPI Ctl3dUnregister(HINSTANCE hInst)
109 CTL3D_is_auto_subclass = FALSE;
110 return TRUE;
113 BOOL WINAPI Ctl3dUnsubclassCtl(HWND hwnd)
115 return FALSE;
118 void WINAPI Ctl3dWinIniChange(void)
122 /***********************************************************************
123 * ComboWndProc3d (CTL3D32.10)
125 LRESULT WINAPI ComboWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
127 return 0;
130 /***********************************************************************
131 * BtnWndProc3d (CTL3D32.7)
133 LRESULT WINAPI BtnWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
135 return 0;
138 /***********************************************************************
139 * StaticWndProc3d (CTL3D32.11)
141 LRESULT WINAPI StaticWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
143 return 0;
146 /***********************************************************************
147 * EditWndProc3d (CTL3D32.8)
149 LRESULT WINAPI EditWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
151 return 0;
154 /***********************************************************************
155 * ListWndProc3d (CTL3D32.9)
157 LRESULT WINAPI ListWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
159 return 0;
162 /***********************************************************************
163 * Ctl3dDlgProc (CTL3D32.17)
165 LRESULT WINAPI Ctl3dDlgProc(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
167 return 0;