2003-01-02 19:34:14 +00:00
|
|
|
/*
|
|
|
|
* 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
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-01-02 19:34:14 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "wine/winbase16.h"
|
|
|
|
#include "wine/winuser16.h"
|
|
|
|
|
2003-02-11 22:10:36 +00:00
|
|
|
static BOOL16 CTL3D16_is_auto_subclass = FALSE;
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dAutoSubclass (CTL3D.16)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dAutoSubclass16(HINSTANCE16 hInst)
|
|
|
|
{
|
2003-02-11 22:10:36 +00:00
|
|
|
CTL3D16_is_auto_subclass = TRUE;
|
2003-01-02 19:34:14 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dAutoSubclassEx (CTL3D.27)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dAutoSubclassEx16(HINSTANCE16 hInst, DWORD type)
|
|
|
|
{
|
2003-02-11 22:10:36 +00:00
|
|
|
CTL3D16_is_auto_subclass = TRUE;
|
2003-01-02 19:34:14 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dColorChange (CTL3D.6)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dColorChange16(void)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dCtlColor (CTL3D.4)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
HBRUSH WINAPI Ctl3dCtlColor16(HDC16 hdc, LONG hwnd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dCtlColorEx (CTL3D.18)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dDlgFramePaint (CTL3D.20)
|
|
|
|
*/
|
2009-11-12 21:57:04 +00:00
|
|
|
LRESULT WINAPI Ctl3dDlgFramePaint16(HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPARAM lParam)
|
2003-01-02 19:34:14 +00:00
|
|
|
{
|
2009-11-12 21:57:04 +00:00
|
|
|
return 0;
|
2003-01-02 19:34:14 +00:00
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dEnabled (CTL3D.5)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dEnabled16(void)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dGetVer (CTL3D.1)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
WORD WINAPI Ctl3dGetVer16(void)
|
|
|
|
{
|
|
|
|
return MAKEWORD(31,2);
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dIsAutoSubclass (CTL3D.23)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dIsAutoSubclass16(void)
|
|
|
|
{
|
2003-02-11 22:10:36 +00:00
|
|
|
return CTL3D16_is_auto_subclass;
|
2003-01-02 19:34:14 +00:00
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dRegister (CTL3D.12)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dRegister16(HINSTANCE16 hInst)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dSubclassCtl (CTL3D.3)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dSubclassCtl16(HWND16 hwnd)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dSubclassCtlEx (CTL3D.25)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dSubclassCtlEx16(HWND16 hwnd, INT16 type)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dSubclassDlg (CTL3D.2)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dSubclassDlg16(HWND16 hwnd, WORD types)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dSubclassDlgEx (CTL3D.21)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dUnAutoSubclass (CTL3D.24)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dUnAutoSubclass16(void)
|
|
|
|
{
|
2003-02-11 22:10:36 +00:00
|
|
|
CTL3D16_is_auto_subclass = FALSE;
|
2003-01-02 19:34:14 +00:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dUnregister (CTL3D.13)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dUnregister16(HINSTANCE16 hInst)
|
|
|
|
{
|
2003-02-11 22:10:36 +00:00
|
|
|
CTL3D16_is_auto_subclass = FALSE;
|
2003-01-02 19:34:14 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dUnsubclassCtl (CTL3D.26)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
BOOL16 WINAPI Ctl3dUnsubclassCtl16(HWND16 hwnd)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2003-08-08 21:07:23 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dWinIniChange (CTL3D.22)
|
|
|
|
*/
|
2003-01-02 19:34:14 +00:00
|
|
|
void WINAPI Ctl3dWinIniChange16(void)
|
|
|
|
{
|
|
|
|
}
|
2003-08-08 21:07:23 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* ComboWndProc3d (CTL3D.10)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI ComboWndProc3d16(HWND16 hwnd, UINT16 msg,WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* BtnWndProc3d (CTL3D.7)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI BtnWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* StaticWndProc3d (CTL3D.11)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI StaticWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* EditWndProc3d (CTL3D.8)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI EditWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* ListWndProc3d (CTL3D.9)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI ListWndProc3d16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Ctl3dDlgProc (CTL3D.17)
|
|
|
|
*/
|
|
|
|
LRESULT WINAPI Ctl3dDlgProc16(HWND16 hwnd, UINT16 msg, WPARAM16 wparam, LPARAM lparam)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|