2 * 16-bit CTL3D and CTL3DV2 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "wine/winbase16.h"
22 #include "wine/winuser16.h"
24 static BOOL16 CTL3D16_is_auto_subclass
= FALSE
;
26 BOOL16 WINAPI
Ctl3dAutoSubclass16(HINSTANCE16 hInst
)
28 CTL3D16_is_auto_subclass
= TRUE
;
32 BOOL16 WINAPI
Ctl3dAutoSubclassEx16(HINSTANCE16 hInst
, DWORD type
)
34 CTL3D16_is_auto_subclass
= TRUE
;
38 BOOL16 WINAPI
Ctl3dColorChange16(void)
43 HBRUSH WINAPI
Ctl3dCtlColor16(HDC16 hdc
, LONG hwnd
)
48 HBRUSH WINAPI
Ctl3dCtlColorEx16(UINT16 msg
, WPARAM16 wParam
, LPARAM lParam
)
53 LONG WINAPI
Ctl3dDlgFramePaint16(HWND16 hwnd
, UINT16 msg
, WPARAM16 wParam
, LPARAM lParam
)
55 return DefWindowProc16(hwnd
, msg
, wParam
, lParam
);
58 BOOL16 WINAPI
Ctl3dEnabled16(void)
63 WORD WINAPI
Ctl3dGetVer16(void)
65 return MAKEWORD(31,2);
68 BOOL16 WINAPI
Ctl3dIsAutoSubclass16(void)
70 return CTL3D16_is_auto_subclass
;
73 BOOL16 WINAPI
Ctl3dRegister16(HINSTANCE16 hInst
)
78 BOOL16 WINAPI
Ctl3dSubclassCtl16(HWND16 hwnd
)
83 BOOL16 WINAPI
Ctl3dSubclassCtlEx16(HWND16 hwnd
, INT16 type
)
88 BOOL16 WINAPI
Ctl3dSubclassDlg16(HWND16 hwnd
, WORD types
)
93 BOOL16 WINAPI
Ctl3dSubclassDlgEx16(HWND16 hwnd
, DWORD types
)
98 BOOL16 WINAPI
Ctl3dUnAutoSubclass16(void)
100 CTL3D16_is_auto_subclass
= FALSE
;
104 BOOL16 WINAPI
Ctl3dUnregister16(HINSTANCE16 hInst
)
106 CTL3D16_is_auto_subclass
= FALSE
;
110 BOOL16 WINAPI
Ctl3dUnsubclassCtl16(HWND16 hwnd
)
115 void WINAPI
Ctl3dWinIniChange16(void)