1 /*
2 * CTL3D32 API stubs.
3 *
4 * Copyright (c) 2003 Dmitry Timoshkov
5 *
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.
10 *
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.
15 *
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
19 */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winuser.h"
26
27 static BOOL CTL3D_is_auto_subclass = FALSE;
28
29 BOOL WINAPI Ctl3dAutoSubclass(HINSTANCE hInst)
30 {
31 CTL3D_is_auto_subclass = TRUE;
32 return TRUE;
33 }
34
35 BOOL WINAPI Ctl3dAutoSubclassEx(HINSTANCE hInst, DWORD type)
36 {
37 CTL3D_is_auto_subclass = TRUE;
38 return TRUE;
39 }
40
41 BOOL WINAPI Ctl3dColorChange(void)
42 {
43 return TRUE;
44 }
45
46 HBRUSH WINAPI Ctl3dCtlColor(HDC hdc, HWND hwnd)
47 {
48 return 0;
49 }
50
51 HBRUSH WINAPI Ctl3dCtlColorEx(UINT msg, WPARAM wParam, LPARAM lParam)
52 {
53 return 0;
54 }
55
56 LONG WINAPI Ctl3dDlgFramePaint(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
57 {
58 return DefWindowProcA(hwnd, msg, wParam, lParam);
59 }
60
61 BOOL WINAPI Ctl3dEnabled(void)
62 {
63 return FALSE;
64 }
65
66 WORD WINAPI Ctl3dGetVer(void)
67 {
68 return MAKEWORD(31,2);
69 }
70
71 BOOL WINAPI Ctl3dIsAutoSubclass(void)
72 {
73 return CTL3D_is_auto_subclass;
74 }
75
76 BOOL WINAPI Ctl3dRegister(HINSTANCE hInst)
77 {
78 return FALSE;
79 }
80
81 BOOL WINAPI Ctl3dSubclassCtl(HWND hwnd)
82 {
83 return FALSE;
84 }
85
86 BOOL WINAPI Ctl3dSubclassCtlEx(HWND hwnd, int type)
87 {
88 return FALSE;
89 }
90
91 BOOL WINAPI Ctl3dSubclassDlg(HWND hwnd, WORD types)
92 {
93 return FALSE;
94 }
95
96 BOOL WINAPI Ctl3dSubclassDlgEx(HWND hwnd, DWORD types)
97 {
98 return FALSE;
99 }
100
101 BOOL WINAPI Ctl3dUnAutoSubclass(void)
102 {
103 CTL3D_is_auto_subclass = FALSE;
104 return FALSE;
105 }
106
107 BOOL WINAPI Ctl3dUnregister(HINSTANCE hInst)
108 {
109 CTL3D_is_auto_subclass = FALSE;
110 return TRUE;
111 }
112
113 BOOL WINAPI Ctl3dUnsubclassCtl(HWND hwnd)
114 {
115 return FALSE;
116 }
117
118 void WINAPI Ctl3dWinIniChange(void)
119 {
120 }
121
122 /***********************************************************************
123 * ComboWndProc3d (CTL3D32.10)
124 */
125 LRESULT WINAPI ComboWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
126 {
127 return 0;
128 }
129
130 /***********************************************************************
131 * BtnWndProc3d (CTL3D32.7)
132 */
133 LRESULT WINAPI BtnWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
134 {
135 return 0;
136 }
137
138 /***********************************************************************
139 * StaticWndProc3d (CTL3D32.11)
140 */
141 LRESULT WINAPI StaticWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
142 {
143 return 0;
144 }
145
146 /***********************************************************************
147 * EditWndProc3d (CTL3D32.8)
148 */
149 LRESULT WINAPI EditWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
150 {
151 return 0;
152 }
153
154 /***********************************************************************
155 * ListWndProc3d (CTL3D32.9)
156 */
157 LRESULT WINAPI ListWndProc3d(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
158 {
159 return 0;
160 }
161
162 /***********************************************************************
163 * Ctl3dDlgProc (CTL3D32.17)
164 */
165 LRESULT WINAPI Ctl3dDlgProc(HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam)
166 {
167 return 0;
168 }
169
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.