start.cpp

来自「联通手机的宝典画面.用brew 平台编辑而成.」· C++ 代码 · 共 30 行

CPP
30
字号
// start.cpp
//

#include "start.h"
#include "MyApp.h"

extern "C"
{
	int AEEClsCreateInstance(AEECLSID ClsId,IShell * pIShell,IModule * po,void ** ppObj)
	{
		*ppObj = NULL;

		if(ClsId == CLASS_ID)
		{
			if(AEEApplet_New(sizeof(CMyApp), ClsId, pIShell, po, (IApplet**)ppObj,
				(AEEHANDLER)CMyApp::HandleEvent, NULL) == TRUE)
			{
				if(CMyApp::InitAppData((IApplet *) *ppObj))
				{
					return (AEE_SUCCESS);
				}
			}
		}

		return (EFAILED);
	}

}

⌨️ 快捷键说明

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