RLibrary Class Reference

class RLibrary : public RHandleBase

A handle to a dynamically loadable DLL.

The class is not intended for user derivation.

Inherits from

Public Member Functions
IMPORT_C voidClose()
IMPORT_C TFileNameFileName()
IMPORT_C TIntGetInfo(const TDesC &, TDes8 &)
IMPORT_C TIntGetInfoFromHeader(const TDesC8 &, TDes8 &)
IMPORT_C TIntGetRamSizes(TInt &, TInt &)
IMPORT_C TIntInit()
IMPORT_C TIntLoad(const TDesC &, const TUidType &)
IMPORT_C TIntLoad(const TDesC &, const TDesC &)
IMPORT_C TIntLoad(const TDesC &, const TDesC &, const TUidType &)
IMPORT_C TIntLoad(const TDesC &, const TDesC &, const TUidType &, TUint32)
IMPORT_C TIntLoadRomLibrary(const TDesC &, const TDesC &)
IMPORT_C TLibraryFunctionLookup(TInt)
IMPORT_C TUidTypeType()
Private Member Functions
TInt InitL()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RHandleBase::SetReturnedHandle(TInt)
RHandleBase::SetReturnedHandle(TInt,RHandleBase &)
Public Member Enumerations
enumTRequiredImageHeaderSize { KRequiredImageHeaderSize = 9*1024 }
Inherited Enumerations
RHandleBase:TAttributes
Public Member Type Definitions
typedef TPckgBuf< SInfo > SInfoBuf
typedef TPckgBuf< TInfo > TInfoBuf
typedef TPckgBuf< TInfoV2 > TInfoBufV2
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Close()

IMPORT_C voidClose()

FileName()

IMPORT_C TFileNameFileName()const

GetInfo(const TDesC &, TDes8 &)

IMPORT_C TIntGetInfo(const TDesC &aFileName,
TDes8 &aInfoBuf
)[static]

Parameters

const TDesC & aFileName
TDes8 & aInfoBuf

GetInfoFromHeader(const TDesC8 &, TDes8 &)

IMPORT_C TIntGetInfoFromHeader(const TDesC8 &aHeader,
TDes8 &aInfoBuf
)[static]

Parameters

const TDesC8 & aHeader
TDes8 & aInfoBuf

GetRamSizes(TInt &, TInt &)

IMPORT_C TIntGetRamSizes(TInt &aCodeSize,
TInt &aConstDataSize
)

Parameters

TInt & aCodeSize
TInt & aConstDataSize

Init()

IMPORT_C TIntInit()

InitL()

TInt InitL()[private]

Load(const TDesC &, const TUidType &)

IMPORT_C TIntLoad(const TDesC &aFileName,
const TUidType &aType
)

Parameters

const TDesC & aFileName
const TUidType & aType

Load(const TDesC &, const TDesC &)

IMPORT_C TIntLoad(const TDesC &aFileName,
const TDesC &aPath =  KNullDesC
)

Parameters

const TDesC & aFileName
const TDesC & aPath =  KNullDesC

Load(const TDesC &, const TDesC &, const TUidType &)

IMPORT_C TIntLoad(const TDesC &aFileName,
const TDesC &aPath,
const TUidType &aType
)

Parameters

const TDesC & aFileName
const TDesC & aPath
const TUidType & aType

Load(const TDesC &, const TDesC &, const TUidType &, TUint32)

IMPORT_C TIntLoad(const TDesC &aFileName,
const TDesC &aPath,
const TUidType &aType,
TUint32aModuleVersion
)

Parameters

const TDesC & aFileName
const TDesC & aPath
const TUidType & aType
TUint32 aModuleVersion

LoadRomLibrary(const TDesC &, const TDesC &)

IMPORT_C TIntLoadRomLibrary(const TDesC &aFileName,
const TDesC &aPath
)

Parameters

const TDesC & aFileName
const TDesC & aPath

Lookup(TInt)

IMPORT_C TLibraryFunctionLookup(TIntanOrdinal)const

Parameters

TInt anOrdinal

Type()

IMPORT_C TUidTypeType()const

Member Enumerations Documentation

Enum TRequiredImageHeaderSize

Enumerators

KRequiredImageHeaderSize = 9*1024

Member Type Definitions Documentation

Typedef SInfoBuf

typedef TPckgBuf< SInfo >SInfoBuf

Use TInfoBuf

Typedef TInfoBuf

typedef TPckgBuf< TInfo >TInfoBuf

Type representing a TInfo struct packaged as a descriptor.

Typedef TInfoBufV2

typedef TPckgBuf< TInfoV2 >TInfoBufV2

Type representing a TInfo struct packaged as a descriptor, version 2.