Rename richedit to riched32 and lzexpand to lz32

svn path=/trunk/; revision=22780
This commit is contained in:
Hervé Poussineau 2006-07-02 21:33:02 +00:00
parent 327a05db0f
commit b4a471a78a
9 changed files with 193 additions and 6 deletions

View file

@ -166,7 +166,7 @@ dll\win32\imm32\imm32.dll 1
dll\win32\iphlpapi\iphlpapi.dll 1
dll\win32\kernel32\kernel32.dll 1
dll\win32\lsasrv\lsasrv.dll 1
dll\win32\lzexpand\lz32.dll 1
dll\win32\lz32\lz32.dll 1
dll\win32\mapi32\mapi32.dll 1
dll\win32\winmm\midimap\midimap.dll 1
dll\win32\mmdrv\mmdrv.dll 1
@ -194,7 +194,7 @@ dll\win32\opengl32\opengl32.dll 1
dll\win32\psapi\psapi.dll 1
dll\win32\powrprof\powrprof.dll 1
dll\win32\riched20\riched20.dll 1
dll\win32\richedit\riched32.dll 1
dll\win32\riched32\riched32.dll 1
dll\win32\rpcrt4\rpcrt4.dll 1
dll\win32\samlib\samlib.dll 1
dll\win32\samsrv\samsrv.dll 1

View file

@ -0,0 +1,19 @@
; File generated automatically from lzexpand/lz32.spec; do not edit!
LIBRARY lz32.dll
EXPORTS
CopyLZFile@8=KERNEL32.CopyLZFile
GetExpandedNameA@8=KERNEL32.GetExpandedNameA
GetExpandedNameW@8=KERNEL32.GetExpandedNameW
LZClose@4=KERNEL32.LZClose
;LZCloseFile
LZCopy@8=KERNEL32.LZCopy
;LZCreateFileW
LZDone@0=KERNEL32.LZDone
LZInit@4=KERNEL32.LZInit
LZOpenFileA@12=KERNEL32.LZOpenFileA
LZOpenFileW@12=KERNEL32.LZOpenFileW
LZRead@12=KERNEL32.LZRead
LZSeek@12=KERNEL32.LZSeek
LZStart@0=KERNEL32.LZStart

View file

@ -0,0 +1,10 @@
<module name="lz32" type="win32dll" baseaddress="${BASEADDRESS_LZ32}" installbase="system32" installname="lz32.dll">
<importlibrary definition="lz32.def" />
<include base="lz32">.</include>
<define name="_DISABLE_TIDENTS" />
<define name="__USE_W32API" />
<library>ntdll</library>
<library>kernel32</library>
<file>lzexpand_main.c</file>
<file>lz32.rc</file>
</module>

View file

@ -0,0 +1,5 @@
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Lempel-Ziv Expander\0"
#define REACTOS_STR_INTERNAL_NAME "lz32\0"
#define REACTOS_STR_ORIGINAL_FILENAME "lz32.dll\0"
#include <reactos/version.rc>

View file

@ -0,0 +1,29 @@
/*
* LZ Decompression functions
*
* Copyright 1996 Marcus Meissner
*
* 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
*/
#include "windows.h"
BOOL STDCALL
DllMain(HANDLE hDll,
DWORD dwReason,
LPVOID lpReserved)
{
return TRUE;
}

View file

@ -0,0 +1,17 @@
<module name="riched32" type="win32dll" baseaddress="${BASEADDRESS_RICHED32}" installbase="system32" installname="riched32.dll">
<importlibrary definition="riched32.spec.def" />
<include base="riched32">.</include>
<include base="ReactOS">include/reactos/wine</include>
<define name="__REACTOS__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<define name="WINVER">0x501</define>
<library>wine</library>
<library>ntdll</library>
<library>kernel32</library>
<library>user32</library>
<library>riched20</library>
<file>richedit.c</file>
<file>riched32.spec</file>
</module>

View file

@ -0,0 +1 @@
2 stdcall -private DllGetVersion (ptr)

View file

@ -0,0 +1,106 @@
/*
* RichEdit32 functions
*
* This module is a simple wrapper for the RichEdit 2.0 control
*
* Copyright 2000 by Jean-Claude Batista
* Copyright 2005 Mike McCormack
*
* 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
*/
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winreg.h"
#include "winerror.h"
#include "winuser.h"
#include "richedit.h"
#include "shlwapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(richedit);
/* Window procedure of the RichEdit 1.0 control in riched20.dll */
extern LRESULT WINAPI RichEdit10ANSIWndProc(HWND, UINT, WPARAM, LPARAM);
/* Unregisters the window class. */
static BOOL RICHED32_Unregister(void)
{
TRACE("\n");
UnregisterClassA(RICHEDIT_CLASS10A, NULL);
return TRUE;
}
/* Registers the window class. */
static BOOL RICHED32_Register(void)
{
WNDCLASSA wndClass;
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
wndClass.lpfnWndProc = RichEdit10ANSIWndProc;
wndClass.cbClsExtra = 0;
wndClass.cbWndExtra = 4;
wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW);
wndClass.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wndClass.lpszClassName = RICHEDIT_CLASS10A; /* WC_RICHED32A; */
RegisterClassA(&wndClass);
return TRUE;
}
/* Initialization function */
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("\n");
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
return RICHED32_Register();
case DLL_PROCESS_DETACH:
return RICHED32_Unregister();
}
return TRUE;
}
/***********************************************************************
* DllGetVersion [RICHED32.2]
*
* Retrieves version information
*/
HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
{
TRACE("\n");
if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
return E_INVALIDARG;
pdvi->dwMajorVersion = 4;
pdvi->dwMinorVersion = 0;
pdvi->dwBuildNumber = 0;
pdvi->dwPlatformID = 0;
return S_OK;
}

View file

@ -91,8 +91,8 @@
<directory name="lsasrv">
<xi:include href="lsasrv/lsasrv.rbuild" />
</directory>
<directory name="lzexpand">
<xi:include href="lzexpand/lz32.rbuild" />
<directory name="lz32">
<xi:include href="lz32/lz32.rbuild" />
</directory>
<directory name="mapi32">
<xi:include href="mapi32/mapi32.rbuild" />
@ -172,8 +172,8 @@
<directory name="riched20">
<xi:include href="riched20/riched20.rbuild" />
</directory>
<directory name="richedit">
<xi:include href="richedit/riched32.rbuild" />
<directory name="riched32">
<xi:include href="riched32/riched32.rbuild" />
</directory>
<directory name="rpcrt4">
<xi:include href="rpcrt4/rpcrt4.rbuild" />