0
|
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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// f32test\loader\exetifc.h
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#ifndef __EXETIFC_H__
|
|
19 |
#define __EXETIFC_H__
|
|
20 |
#include <e32base.h>
|
|
21 |
#include "dlltifc.h"
|
|
22 |
|
|
23 |
class RLoaderTest : public RSessionBase
|
|
24 |
{
|
|
25 |
public:
|
|
26 |
enum TMessage
|
|
27 |
{
|
|
28 |
EMsgLoadDll,
|
|
29 |
EMsgGetExeDepList,
|
|
30 |
EMsgCloseDll,
|
|
31 |
EMsgCallBlkI,
|
|
32 |
EMsgCallRBlkI,
|
|
33 |
EMsgGetCDList,
|
|
34 |
EMsgCheckReadable,
|
|
35 |
EMsgExit,
|
|
36 |
};
|
|
37 |
public:
|
|
38 |
TInt Connect(TInt aExeNum);
|
|
39 |
TInt Connect(TInt aExeNum, TInt aSuffix);
|
|
40 |
TInt GetExeDepList(SDllInfo* aInfo);
|
|
41 |
TInt GetCDList(SDllInfo* aInfo);
|
|
42 |
TInt LoadDll(TInt aDllNum, SDllInfo* aInfo);
|
|
43 |
TInt CallBlkI(TInt aHandle, TInt aIn);
|
|
44 |
TInt CallRBlkI(TInt aHandle, TInt aIn);
|
|
45 |
TInt CloseDll(TInt aHandle);
|
|
46 |
TInt CheckReadable(TLinAddr aAddr);
|
|
47 |
TInt Exit();
|
|
48 |
};
|
|
49 |
|
|
50 |
GLREF_C TInt LoadExe(TInt aModuleNum, TInt aSuffix, RProcess& aProcess);
|
|
51 |
|
|
52 |
#endif
|