mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
Sync to Wine-20050524:
Alexandre Julliard <[email protected]> - Added rules for building import libraries in the individual dll makefiles, and added support for building a .def.a static import library too. Vincent Beron <[email protected]> - Provide minimal API documentation in advapi/eventlog.c to silence some winapi_check output. - Move around functions in riched20, richedit and rpcrt4 to achieve the same goal. svn path=/trunk/; revision=15579
This commit is contained in:
@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = riched32.dll
|
||||
IMPORTLIB = libriched32.$(IMPLIBEXT)
|
||||
IMPORTS = riched20 user32 kernel32
|
||||
|
||||
C_SRCS = \
|
||||
|
||||
@@ -40,26 +40,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
|
||||
extern LRESULT WINAPI RichEdit10ANSIWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* DllGetVersion [RICHED32.2]
|
||||
*
|
||||
* Retrieves version information
|
||||
*/
|
||||
HRESULT WINAPI RICHED32_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;
|
||||
}
|
||||
|
||||
/* Unregisters the window class. */
|
||||
static BOOL RICHED32_Unregister(void)
|
||||
{
|
||||
@@ -104,3 +84,23 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* DllGetVersion [RICHED32.2]
|
||||
*
|
||||
* Retrieves version information
|
||||
*/
|
||||
HRESULT WINAPI RICHED32_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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user