0
|
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\x86\uc_dll.cpp
|
|
15 |
// This file contains the DLL entrypoint
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#include "u32std.h"
|
|
20 |
|
|
21 |
// include the static data definitions
|
|
22 |
#define __FLTUSED
|
|
23 |
#include "win32crt.h"
|
|
24 |
#include "nwdl.h"
|
|
25 |
|
|
26 |
|
|
27 |
extern "C" {
|
|
28 |
|
|
29 |
TInt _E32Dll_Body(TInt aReason)
|
|
30 |
{
|
|
31 |
if (aReason==KModuleEntryReasonProcessAttach)
|
|
32 |
constructStatics();
|
|
33 |
else if (aReason==KModuleEntryReasonProcessDetach)
|
|
34 |
destroyStatics();
|
|
35 |
return KErrNone;
|
|
36 |
}
|
|
37 |
|
|
38 |
void _fltused() {}
|
|
39 |
}
|