mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Sync to Wine-20050524:
Alexandre Julliard <julliard@winehq.org> - 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 <vberon@mecano.gme.usherb.ca> - 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:
parent
9a3e5b9dad
commit
0474d63d02
2 changed files with 21 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue