Imported Olepro32 from WINE CVS-20040225.......

...I really want to get MFC working.

svn path=/trunk/; revision=8395
This commit is contained in:
Steven Edwards 2004-02-26 02:01:13 +00:00
parent d36d4e1f21
commit cf035ffc03
8 changed files with 178 additions and 0 deletions

View file

@ -0,0 +1,20 @@
*.coff
*.dll
*.d
*.a
*.o
*.sym
*.map
*.tmp
Makefile.ros
idb_hist_large.bmp
idb_hist_small.bmp
idb_std_small.bmp
idb_std_large.bmp
idb_view_large.bmp
idb_view_small.bmp
idc_divider.cur
idc_divideropen.cur
idi_dragarrow.ico
idt_check.bmp
comctl32.spec.def

View file

@ -0,0 +1,9 @@
# $Id: Makefile,v 1.1 2004/02/26 02:01:13 sedwards Exp $
PATH_TO_TOP = ../..
TARGET_TYPE = winedll
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View file

@ -0,0 +1,12 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = olepro32.dll
IMPORTS = oleaut32
C_SRCS = olepro32stubs.c
@MAKE_DLL_RULES@
### Dependencies:

View file

@ -0,0 +1,21 @@
# $Id: Makefile.ros-template,v 1.1 2004/02/26 02:01:13 sedwards Exp $
TARGET_NAME = olepro32
TARGET_OBJECTS = @C_SRCS@
TARGET_CFLAGS = @EXTRADEFS@
TARGET_SDKLIBS = @IMPORTS@ libwine.a wine_uuid.a ntdll.a oleaut32.a
TARGET_BASE = 0x77a50000
TARGET_RC_SRCS = @RC_SRCS@
TARGET_RC_BINSRC = @RC_BINSRC@
TARGET_RC_BINARIES = @RC_BINARIES@
default: all
DEP_OBJECTS = $(TARGET_OBJECTS)
include $(TOOLS_PATH)/depend.mk

View file

@ -0,0 +1,9 @@
29Nov99
Sean Langley
This library (OLEPRO32.DLL) is basically a sub-set of what is in OLEAUT32.DLL.
The main difference under Win32 is that OLEPRO32.DLL can be used
as a type library. There are two functions in this DLL which are already
implemented in Wine. They are OleCreateFontIndirect, and OleTranslateColor.
The spec file for both of these functions points to the functions in the
OLEAUT32.DLL.

View file

@ -0,0 +1,28 @@
/* Language neutral resources.
*
* Copyright 2003 Stefan Leichter
*
* 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
*/
#define WINE_FILEDESCRIPTION_STR "Wine Cabinet File API"
#define WINE_FILENAME_STR "cabinet.dll"
#define WINE_FILEVERSION 5,0,2147,1
#define WINE_FILEVERSION_STR "5.0.2147.1"
#define WINE_PRODUCTVERSION 5,0,2147,1
#define WINE_PRODUCTVERSION_STR "5.0"
#include "wine/wine_common_ver.rc"

View file

@ -0,0 +1,11 @@
248 stdcall OleIconToCursor(long long) oleaut32.OleIconToCursor
249 stdcall OleCreatePropertyFrameIndirect(ptr) oleaut32.OleCreatePropertyFrameIndirect
250 stdcall OleCreatePropertyFrame(ptr long long ptr long ptr long ptr ptr long ptr) oleaut32.OleCreatePropertyFrame
251 stdcall OleLoadPicture(ptr long long ptr ptr) oleaut32.OleLoadPicture
252 stdcall OleCreatePictureIndirect(ptr ptr long ptr) oleaut32.OleCreatePictureIndirect
253 stdcall OleCreateFontIndirect(ptr ptr ptr) oleaut32.OleCreateFontIndirect
254 stdcall OleTranslateColor(long long long) oleaut32.OleTranslateColor
@ stdcall -private DllCanUnloadNow() OLEPRO32_DllCanUnloadNow
@ stdcall -private DllGetClassObject( ptr ptr ptr ) OLEPRO32_DllGetClassObject
@ stdcall -private DllRegisterServer() OLEPRO32_DllRegisterServer
@ stdcall -private DllUnregisterServer() OLEPRO32_DllUnregisterServer

View file

@ -0,0 +1,68 @@
/*
* OlePro32 Stubs
*
* Copyright 1999 Corel Corporation
*
* Sean Langley
*
* 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
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "ole2.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
/***********************************************************************
* DllUnregisterServer (OLEPRO32.258)
*/
HRESULT WINAPI OLEPRO32_DllUnregisterServer()
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* DllRegisterServer (OLEPRO32.257)
*/
HRESULT WINAPI OLEPRO32_DllRegisterServer()
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* DllCanUnloadNow (OLEPRO32.255)
*/
HRESULT WINAPI OLEPRO32_DllCanUnloadNow( )
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* DllGetClassObject (OLEPRO32.256)
*/
HRESULT WINAPI OLEPRO32_DllGetClassObject( REFCLSID rclsid, REFIID riid, LPVOID* ppv )
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}