First public contribution.
1 // Copyright (c) 1999-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // f32test\loader\dlltifc.h
22 #define DLLNUMOFFSET 43
23 #define INC_BLOCK_SZ 1024
25 inline TInt BlkIValue(TInt aDllNum, TInt aIn)
26 {return (aDllNum+DLLNUMOFFSET)*INC_BLOCK_SZ+aIn;}
28 #ifndef TMODULEHANDLE_DEFINED
29 #define TMODULEHANDLE_DEFINED
30 class TModuleHandle_dummy_class;
31 typedef TModuleHandle_dummy_class* TModuleHandle;
37 TInt iEntryPointAddress; // entry point address
38 TModuleHandle iModuleHandle;
44 virtual TBool IsPresent(const SDllInfo& aInfo)=0;
45 virtual TInt Add(const SDllInfo& aInfo)=0;
46 virtual void MoveToEnd(TInt aPos)=0;
49 typedef TInt (*TInitFunction)(MDllList&);
50 typedef TInt (*TChkCFunction)();
51 typedef TInt (*TBlkIFunction)(TInt);
52 typedef TInt (*TGetGenFunction)();
53 typedef TInt (*TRBlkIFunction)(TInt, TInt);
54 typedef void (*TSetCloseLibFunction)(TInt);
58 #define INIT_ORDINAL 1
59 #define CHECK_CONSTRUCTORS_ORDINAL 2
60 #define BLOCK_INC_ORDINAL 3
61 #define GENERATION_ORDINAL 4
62 #define REC_BLOCK_INC_ORDINAL 5
63 #define SET_CLOSE_LIB_ORDINAL 6