ReactOS 0.4.17-dev-934-g091855f
msftedit_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "winuser.h"
#include "richedit.h"
#include "imm.h"
#include "shlwapi.h"
#include "oleidl.h"
#include "initguid.h"
#include "textserv.h"
#include "wine/debug.h"
Include dependency graph for msftedit_main.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msftedit)
 
BOOL WINAPI DllMain (HINSTANCE inst, DWORD reason, LPVOID reserved)
 
HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *info)
 

Function Documentation

◆ DllGetVersion()

HRESULT WINAPI DllGetVersion ( DLLVERSIONINFO *  info)

Definition at line 64 of file msftedit_main.c.

65{
66 if (info->cbSize != sizeof(DLLVERSIONINFO)) FIXME("support DLLVERSIONINFO2\n");
67
68 /* this is what WINXP SP2 reports */
69 info->dwMajorVersion = 41;
70 info->dwMinorVersion = 15;
71 info->dwBuildNumber = 1507;
72 info->dwPlatformID = 1;
73 return NOERROR;
74}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define NOERROR
Definition: winerror.h:3448

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  inst,
DWORD  reason,
LPVOID  reserved 
)

Definition at line 43 of file msftedit_main.c.

44{
45 static HMODULE richedit;
46
47 switch(reason)
48 {
50 /* explicitly load riched20 since it creates the window classes at dll attach time */
51 richedit = LoadLibraryW( L"riched20.dll" );
53 break;
55 FreeLibrary( richedit );
56 break;
57 }
58 return TRUE;
59}
#define TRUE
Definition: types.h:120
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1971
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define FreeLibrary(x)
Definition: compat.h:748
#define LoadLibraryW(x)
Definition: compat.h:747
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define L(x)
Definition: resources.c:13

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msftedit  )