From 8e401adc6b3860c2d6475f77eb19a2a9a3393f0d Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Fri, 1 Apr 2005 21:18:43 +0000 Subject: [PATCH] remove my WinCE support attempt svn path=/trunk/; revision=14424 --- reactos/lib/commctrl/Makefile | 19 -------- reactos/lib/commctrl/commctrl.def | 60 ------------------------ reactos/lib/commctrl/commctrl.rc | 7 --- reactos/lib/commctrl/commctrl_main.c | 68 ---------------------------- 4 files changed, 154 deletions(-) delete mode 100644 reactos/lib/commctrl/Makefile delete mode 100644 reactos/lib/commctrl/commctrl.def delete mode 100644 reactos/lib/commctrl/commctrl.rc delete mode 100644 reactos/lib/commctrl/commctrl_main.c diff --git a/reactos/lib/commctrl/Makefile b/reactos/lib/commctrl/Makefile deleted file mode 100644 index ee15267ac76..00000000000 --- a/reactos/lib/commctrl/Makefile +++ /dev/null @@ -1,19 +0,0 @@ - -PATH_TO_TOP = ../.. - -TARGET_TYPE = dynlink - -TARGET_NAME = commctrl - -TARGET_BASE=$(TARGET_BASE_LIB_COMMCTRL) - -# require os code to explicitly request A/W version of structs/functions -TARGET_CFLAGS += -D_DISABLE_TIDENTS -Wall -Werror - -TARGET_SDKLIBS = ntdll.a kernel32.a - -TARGET_OBJECTS = commctrl_main.o - -include $(PATH_TO_TOP)/rules.mak - -include $(TOOLS_PATH)/helper.mk diff --git a/reactos/lib/commctrl/commctrl.def b/reactos/lib/commctrl/commctrl.def deleted file mode 100644 index 306c3e510e2..00000000000 --- a/reactos/lib/commctrl/commctrl.def +++ /dev/null @@ -1,60 +0,0 @@ -LIBRARY commctrl.dll -EXPORTS -;Header_Init@@YAHPAUHINSTANCE__@@@Z -;ListView_Init@@YAHPAUHINSTANCE__@@@Z -;TV_Init@@YAHPAUHINSTANCE__@@@Z -;_CenterWindow @35 -;_CommandBands_AddAdornments @39 -;_CommandBands_AddBands @37 -;_CommandBands_Create @36 -;_CommandBands_GetCommandBar @38 -;_CommandBands_GetRestoreInformation @41 -;_CommandBands_Show @40 -_CommandBar_AddAdornments@0 @10 -;_CommandBar_AddBitmap @5 -;_CommandBar_AlignAdornments @44 -_CommandBar_Create@0 @3 -;_CommandBar_DrawMenuBar @43 -;_CommandBar_GetItemWindow @11 -;_CommandBar_GetMenu @9 -;_CommandBar_Height @12 -;_CommandBar_InsertComboBox @6 -;_CommandBar_InsertControl @7 -_CommandBar_InsertMenubar@0 @8 -;_CommandBar_InsertMenubarEx @42 -_CommandBar_Show@0 @4 -;_CreatePropertySheetPageW @19 -;_CreateStatusWindowW @17 -;_CreateToolbar @15 -;_CreateToolbarEx @16 -;_CreateUpDownControl @14 -;_DPA_Destroy @31 -;_DPA_GetPtr @32 -;_DSA_Create @23 -;_DSA_DeleteAllItems @30 -;_DSA_DeleteItem @29 -;_DSA_Destroy @24 -;_DSA_DestroyCallback @57 -;_DSA_GetItem @25 -;_DSA_GetItemPtr @26 -;_DSA_InsertItem @27 -;_DSA_SetItem @28 -;_DestroyPropertySheetPage @20 -;_DrawStatusTextW @21 -;InitCapEdit -;_InitCommonControls @1 -;_InitCommonControlsEx @2 -;InitDateClasses -;InitProgressClass -;InitReBarClass -;InitStatusClass -;InitToolTipsClass -;InitToolbarClass -;InitTrackBar -;InitUpDownClass -;_InvertRect @22 -;_IsCommandBarMessage @13 -;_PropertySheetW @18 -;_StrToIntW @34 -;_Str_SetPtrW @33 -;Tab_Init diff --git a/reactos/lib/commctrl/commctrl.rc b/reactos/lib/commctrl/commctrl.rc deleted file mode 100644 index 5387acebe30..00000000000 --- a/reactos/lib/commctrl/commctrl.rc +++ /dev/null @@ -1,7 +0,0 @@ -/* $Id$ */ - -#define REACTOS_VERSION_DLL -#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WinCE Compatiblity Layer\0" -#define REACTOS_STR_INTERNAL_NAME "commctrl\0" -#define REACTOS_STR_ORIGINAL_FILENAME "commctrl.dll\0" -#include diff --git a/reactos/lib/commctrl/commctrl_main.c b/reactos/lib/commctrl/commctrl_main.c deleted file mode 100644 index eb2710b6fed..00000000000 --- a/reactos/lib/commctrl/commctrl_main.c +++ /dev/null @@ -1,68 +0,0 @@ -/* - * ReactOS-CE Common Controls - * - * Copyright 2004 Steven Edwards - * - * 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 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * TODO: - * ATM this is just a dummy forwarding dll for the WinCE API to Win32 API - * When you exit a simple WinCE app on Windows or on ReactOS it causes - * a program error or unhandled exception probl'y because we dont handle - * threading and process attaching/detaching like we should here. - * - * There will be some parts of the WinCE API that cant just be forwarded to - * the Win32 API as paramater names or types may differ. In that case you will - * need to copy the Win32 implementation and make the needed changes. - */ - -#include -#include "windows.h" - -BOOL STDCALL -DllMain(HANDLE hDll, - DWORD dwReason, - LPVOID lpReserved) -{ - return TRUE; -} - -BOOL STDCALL -_CommandBar_Create() -{ -DPRINT1("CommandBar_Create called\n"); - return TRUE; -} - -BOOL STDCALL -_CommandBar_Show() -{ -DPRINT1("CommandBar_Show called\n"); - return TRUE; -} - -BOOL STDCALL -_CommandBar_InsertMenubar() -{ -DPRINT1("CommandBar_InsertMenubar called\n"); - return TRUE; -} - -BOOL STDCALL -_CommandBar_AddAdornments() -{ -DPRINT1("CommandBar_AddAdornments called\n"); - return TRUE; -}