ok() does not support '%S'. Store the Ansi version, convert to Unicode
[wine] / dlls / ctl3d / ctl3d32.c
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include "winbase.h"
22 #include "winuser.h"
23
24 BOOL WINAPI Ctl3dAutoSubclass(HINSTANCE hInst)
25 {
26     return TRUE;
27 }
28
29 BOOL WINAPI Ctl3dAutoSubclassEx(HINSTANCE hInst, DWORD type)
30 {
31     return TRUE;
32 }
33
34 BOOL WINAPI Ctl3dColorChange(void)
35 {
36     return TRUE;
37 }
38
39 HBRUSH WINAPI Ctl3dCtlColor(HDC hdc, LONG hwnd)
40 {
41     return 0;
42 }
43
44 HBRUSH WINAPI Ctl3dCtlColorEx(UINT msg, WPARAM wParam, LPARAM lParam)
45 {
46     return 0;
47 }
48
49
50 LONG WINAPI Ctl3dDlgFramePaint(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
51 {
52     return DefWindowProcA(hwnd, msg, wParam, lParam);
53 }
54
55 BOOL WINAPI Ctl3dEnabled(void)
56 {
57     return FALSE;
58 }
59
60 WORD WINAPI Ctl3dGetVer(void)
61 {
62     return MAKEWORD(31,2);
63 }
64
65 BOOL WINAPI Ctl3dIsAutoSubclass(void)
66 {
67     return FALSE;
68 }
69
70 BOOL WINAPI Ctl3dRegister(HINSTANCE hInst)
71 {
72     return FALSE;
73 }
74
75 BOOL WINAPI Ctl3dSubclassCtl(HWND hwnd)
76 {
77     return FALSE;
78 }
79
80 BOOL WINAPI Ctl3dSubclassCtlEx(HWND hwnd, int type)
81 {
82     return FALSE;
83 }
84
85 BOOL WINAPI Ctl3dSubclassDlg(HWND hwnd, WORD types)
86 {
87     return FALSE;
88 }
89
90 BOOL WINAPI Ctl3dSubclassDlgEx(HWND hwnd, DWORD types)
91 {
92     return FALSE;
93 }
94
95 BOOL WINAPI Ctl3dUnAutoSubclass(void)
96 {
97     return FALSE;
98 }
99
100 BOOL WINAPI Ctl3dUnregister(HINSTANCE hInst)
101 {
102     return TRUE;
103 }
104
105
106 BOOL WINAPI Ctl3dUnsubclassCtl(HWND hwnd)
107 {
108     return FALSE;
109 }
110
111 void WINAPI Ctl3dWinIniChange(void)
112 {
113 }