os/kernelhwsrv/kernel/eka/euser/epoc/win32/uc_stub.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\euser\epoc\win32\uc_stub.cpp
    15 // 
    16 //
    17 
    18 #include <e32std.h>
    19 #include <e32std_private.h>
    20 #include <e32wins.h>
    21 
    22 extern "C"
    23 GLDEF_C TInt _E32Startup()
    24 //
    25 // Unused in the stub
    26 //
    27 	{
    28 	return KErrNone;
    29 	}
    30 
    31 #ifndef __SYMC__
    32 
    33 GLDEF_C void __stdcall _E32Bootstrap()
    34 //
    35 // stub for bootstrapping EPOC
    36 //
    37 	{
    38 	BootEpoc(EFalse);
    39 	}
    40 
    41 
    42 #else
    43 
    44 //
    45 #include <windows.h>
    46 
    47 int CALLBACK _E32Bootstrap(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
    48 	{
    49 	BootEpoc(EFalse);
    50 	return 0;
    51 	};
    52 
    53 #endif