www.pudn.com > 智能内码识别,支持屏幕取词翻译的程序.zip > CSKERNEL.CPP


//汉化主函数 
 
#include	"stdafx.h" 
 
HINSTANCE	hCsKernel ;		//标识该DLL 
 
#ifdef __cplusplus 
extern "C" { 
#endif 
 
int	FAR	PASCAL	LibMain( HINSTANCE hInst , WORD wDataSeg , 
						 WORD wHeapSize , LPSTR lpszCmdLine ) ; 
//int FAR PASCAL WEP(int) ; 
 
int	FAR	PASCAL	LibMain( HINSTANCE hInst , WORD wDataSeg , 
						 WORD wHeapSize , LPSTR lpszCmdLine ) 
{ 
	hCsKernel	=hInst ; 
	return 1 ; 
} 
 
/* 
int FAR PASCAL WEP(int) 
{   
	return 1; 
}*/ 
 
#ifdef __cplusplus 
} 
#endif