kernel/eka/euser/epoc/win32/uc_utl.cpp
branchanywhere
changeset 28 9642313072c3
parent 25 57330c35d3d7
child 50 999bb78c71ac
equal deleted inserted replaced
27:cf41e127747a 28:9642313072c3
    97 
    97 
    98    
    98    
    99 EXPORT_C void BootEpoc(TBool aAutoRun)
    99 EXPORT_C void BootEpoc(TBool aAutoRun)
   100 	{
   100 	{
   101 	//SL:
   101 	//SL:
   102 	HINSTANCE epoc = LoadLibraryA("ekern.dll");
   102 	//HINSTANCE epoc = LoadLibraryA("ekern.dll");
   103 	//HINSTANCE epoc = LoadLibraryA("ekern.exe");
   103 	HINSTANCE epoc = LoadLibraryA("ekern.exe");
   104 	if (epoc)
   104 	if (epoc)
   105 		{
   105 		{
   106 		TBootEpoc ep = (TBootEpoc)GetProcAddress(epoc, "_E32Startup");
   106 		TBootEpoc ep = (TBootEpoc)GetProcAddress(epoc, "_E32Startup");
   107 		if (ep)
   107 		if (ep)
   108 			ep(aAutoRun);
   108 			ep(aAutoRun);