mguardscsvrmain.cpp

来自「symbian s60手机上的短信拦截源代码。」· C++ 代码 · 共 60 行

CPP
60
字号
/*
* ============================================================================
*  Name     : MGuardScSvrMain.cpp
*  Part of  : MGuardScSvr
*  Created  : 18.08.2007 by xueyw
*  Description:
*     Exe source file
*  Version  :
*  Copyright: 
* ============================================================================
*/


//  Include Files  
#include "MGuardScSvr.h"
#include <e32base.h>

// ========================== OTHER EXPORTED FUNCTIONS =========================

#ifdef __WINS__

// -----------------------------------------------------------------------------
// WinsMain()
// -----------------------------------------------------------------------------
//
IMPORT_C TInt WinsMain();
EXPORT_C TInt WinsMain()
{
	return reinterpret_cast<TInt>( &CMGuardScSvr::ThreadFunction );
}

// -----------------------------------------------------------------------------
// E32Dll()
// Entry point function for Symbian Apps.
// -----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
	return KErrNone;
}

#else  // __ARMI__

// -----------------------------------------------------------------------------
// E32Main()
// Provides the API for the operating system to start the executable.
// Returns the address of the function to be called.
// -----------------------------------------------------------------------------
//
TInt E32Main()
{
	return CMGuardScSvr::ThreadFunction( NULL );
}

#endif



// End of file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?