os/kernelhwsrv/kernel/eka/euser/epoc/symc/uc_dll.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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_dll.cpp
    15 // This file contains the DLL entrypoint
    16 // 
    17 //
    18 
    19 #include "u32std.h"
    20 
    21 typedef void* HANDLE;
    22 
    23 #ifdef __VC32__
    24 #define __FLTUSED
    25 #endif //__VC32__
    26 
    27 
    28 #define WIN32_LEAN_AND_MEAN
    29 #include <windows.h>
    30 
    31 // DLL entry point
    32 /*
    33 extern "C"
    34 BOOL WINAPI DllMain(HINSTANCE, DWORD fdwReason, LPVOID)
    35 	{
    36 		return 1;
    37 	}
    38 */
    39 
    40 // include the static data definitions
    41 //#include "win32crt.h"
    42 
    43 // include compiler helpers
    44 //#include "x86hlp.inl"
    45 
    46 extern "C"
    47 EXPORT_C TInt _E32Dll(TInt aReason)
    48 	{
    49 	if (aReason==KModuleEntryReasonProcessAttach)
    50 		{
    51 		//constructStatics();
    52 		}
    53 	if (aReason==KModuleEntryReasonProcessDetach)
    54 		{
    55 		//destroyStatics();
    56 		}
    57 	return KErrNone;
    58 	}