mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Import and merge Wine-20041201
svn path=/trunk/; revision=12587
This commit is contained in:
parent
9bc23e307d
commit
0069d808c0
7 changed files with 158 additions and 0 deletions
9
reactos/lib/olepro32/Makefile
Normal file
9
reactos/lib/olepro32/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
# $Id: Makefile 8395 2004-02-26 02:01:13Z sedwards $
|
||||
|
||||
PATH_TO_TOP = ../..
|
||||
|
||||
TARGET_TYPE = winedll
|
||||
|
||||
include $(PATH_TO_TOP)/rules.mak
|
||||
|
||||
include $(TOOLS_PATH)/helper.mk
|
12
reactos/lib/olepro32/Makefile.in
Normal file
12
reactos/lib/olepro32/Makefile.in
Normal 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:
|
21
reactos/lib/olepro32/Makefile.ros-template
Normal file
21
reactos/lib/olepro32/Makefile.ros-template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $Id: Makefile.ros-template 11910 2004-12-03 23:37:44Z blight $
|
||||
|
||||
TARGET_NAME = olepro32
|
||||
|
||||
TARGET_OBJECTS = @C_SRCS@
|
||||
|
||||
TARGET_CFLAGS = @EXTRADEFS@
|
||||
|
||||
TARGET_SDKLIBS = @IMPORTS@ wine.a wine_uuid.a ntdll.a oleaut32.a
|
||||
|
||||
TARGET_BASE = $(TARGET_BASE_LIB_OLEPRO32)
|
||||
|
||||
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
|
9
reactos/lib/olepro32/README
Normal file
9
reactos/lib/olepro32/README
Normal 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.
|
28
reactos/lib/olepro32/olepro32.rc
Normal file
28
reactos/lib/olepro32/olepro32.rc
Normal 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"
|
11
reactos/lib/olepro32/olepro32.spec
Normal file
11
reactos/lib/olepro32/olepro32.spec
Normal 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
|
68
reactos/lib/olepro32/olepro32stubs.c
Normal file
68
reactos/lib/olepro32/olepro32stubs.c
Normal 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(void)
|
||||
{
|
||||
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;
|
||||
}
|
Loading…
Reference in a new issue