Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendllmain.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS 00004 * PURPOSE: LPK Library 00005 * PROGRAMMER: Magnus Olsen (greatlrd) 00006 * 00007 */ 00008 00009 #include "ros_lpk.h" 00010 00011 LPK_LPEDITCONTROL_LIST LpkEditControl = {EditCreate, EditIchToXY, EditMouseToIch, EditCchInWidth, 00012 EditGetLineWidth, EditDrawText, EditHScroll, EditMoveSelection, 00013 EditVerifyText, EditNextWord, EditSetMenu, EditProcessMenu, 00014 EditCreateCaret, EditAdjustCaret}; 00015 00016 BOOL 00017 WINAPI 00018 DllMain ( 00019 HANDLE hDll, 00020 DWORD dwReason, 00021 LPVOID lpReserved) 00022 { 00023 00024 return LpkDllInitialize(hDll,dwReason,lpReserved); 00025 } 00026 00027 BOOL 00028 WINAPI 00029 LpkDllInitialize ( 00030 HANDLE hDll, 00031 DWORD dwReason, 00032 LPVOID lpReserved) 00033 { 00034 switch(dwReason) 00035 { 00036 case DLL_PROCESS_ATTACH: 00037 DisableThreadLibraryCalls(hDll); 00038 /* Tell usp10 it is activated usp10 */ 00039 //LpkPresent(); 00040 break; 00041 00042 default: 00043 break; 00044 } 00045 00046 return TRUE; 00047 } 00048 Generated on Sat May 26 2012 04:21:09 for ReactOS by
1.7.6.1
|