mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
implement LpkDllInitialize for lpk
svn path=/trunk/; revision=33701
This commit is contained in:
parent
b2744bf34b
commit
b5ab26f7a3
|
@ -21,7 +21,7 @@ DllMain (
|
|||
LPVOID lpReserved)
|
||||
{
|
||||
|
||||
return TRUE;
|
||||
return LpkDllInitialize(hDll,dwReason,lpReserved);
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
@ -31,5 +31,18 @@ LpkDllInitialize (
|
|||
DWORD dwReason,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
return DllMain(hDll,dwReason,lpReserved);
|
||||
switch(dwReason)
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hDll);
|
||||
/* Tell usp10 it is activated usp10 */
|
||||
LpkPresent();
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
#include <windows.h>
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
/* FIXME USP10 api that does not have prototype in any include file */
|
||||
VOID WINAPI LpkPresent();
|
||||
|
||||
/* FIXME move _LPK_LPEDITCONTROL_LIST to global place so user32 can access it */
|
||||
typedef struct _LPK_LPEDITCONTROL_LIST
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue