2008-05-25 15:22:09 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS
|
|
|
|
* PURPOSE: LPK Library
|
|
|
|
* PROGRAMMER: Magnus Olsen (greatlrd)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ros_lpk.h"
|
|
|
|
|
|
|
|
LPK_LPEDITCONTROL_LIST LpkEditControl = {EditCreate, EditIchToXY, EditMouseToIch, EditCchInWidth,
|
|
|
|
EditGetLineWidth, EditDrawText, EditHScroll, EditMoveSelection,
|
|
|
|
EditVerifyText, EditNextWord, EditSetMenu, EditProcessMenu,
|
|
|
|
EditCreateCaret, EditAdjustCaret};
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
WINAPI
|
|
|
|
DllMain (
|
|
|
|
HANDLE hDll,
|
|
|
|
DWORD dwReason,
|
|
|
|
LPVOID lpReserved)
|
|
|
|
{
|
|
|
|
|
2008-05-25 17:52:28 +00:00
|
|
|
return LpkDllInitialize(hDll,dwReason,lpReserved);
|
2008-05-25 15:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
WINAPI
|
|
|
|
LpkDllInitialize (
|
|
|
|
HANDLE hDll,
|
|
|
|
DWORD dwReason,
|
|
|
|
LPVOID lpReserved)
|
|
|
|
{
|
2008-05-25 17:52:28 +00:00
|
|
|
switch(dwReason)
|
|
|
|
{
|
|
|
|
case DLL_PROCESS_ATTACH:
|
|
|
|
DisableThreadLibraryCalls(hDll);
|
|
|
|
/* Tell usp10 it is activated usp10 */
|
2010-04-20 21:18:54 +00:00
|
|
|
//LpkPresent();
|
2008-05-25 17:52:28 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return TRUE;
|
2008-05-25 15:22:09 +00:00
|
|
|
}
|
2008-05-25 17:52:28 +00:00
|
|
|
|