RLoader Class Reference
class RLoader : public RSessionBase |
Public Member Functions |
---|
IMPORT_C TInt | CancelLazyDllUnload() |
IMPORT_C TInt | CheckLibraryHash(const TDesC &, TBool) |
IMPORT_C TInt | Connect() |
IMPORT_C TInt | DebugFunction(TInt, TInt, TInt, TInt) |
IMPORT_C TInt | Delete(const TDesC &) |
IMPORT_C TInt | GetInfo(const TDesC &, TDes8 &) |
TInt
| GetInfoFromHeader(const TDesC8 &, TDes8 &) |
TInt
| LoadDeviceDriver(const TDesC &, TInt) |
IMPORT_C TInt | LoadLibrary(TInt &, const TDesC &, const TDesC &, const TUidType &, TUint32) |
TInt
| LoadLocale(const TDesC &, TLibraryFunction *) |
TInt
| LoadProcess(TInt &, const TDesC &, const TDesC &, const TUidType &, TOwnerType) |
TInt
| LoadProcess(TInt &, const TDesC &, const TDesC &, const TUidType &, TInt, TOwnerType) |
TVersion
| Version() |
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::Close() |
| 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) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Member Functions Documentation
CancelLazyDllUnload()
IMPORT_C TInt | CancelLazyDllUnload | ( | ) | |
CheckLibraryHash(const TDesC &, TBool)
IMPORT_C TInt | CheckLibraryHash | ( | const TDesC & | aFileName, |
| TBool | aValidateHash = EFalse |
| ) | |
Check if the hash for the given library exists and optionally validate it.
Parameters
const TDesC & aFileName | the same as for RLoader::LoadLibrary |
TBool aValidateHash = EFalse | if ETrue this function will validate library hash if it exists. Requires fully specified aFileName. |
DebugFunction(TInt, TInt, TInt, TInt)
Delete(const TDesC &)
Ask the loader to delete a file. This function should be used instead of RFs::Delete where the supplied file may be a paged executable, although it can be used for any file. A file that is currently paged may be moved by the system, and deleted later, when the file is no longer needed. This means that using this function may not immediately release the disk space associated with the file.
-
capability
- Tcb
-
capability
- AllFiles
Parameters
const TDesC & aFileName | Fully-qualified filename. |
GetInfo(const TDesC &, TDes8 &)
GetInfoFromHeader(const TDesC8 &, TDes8 &)
LoadDeviceDriver(const TDesC &, TInt)
LoadLibrary(TInt &, const TDesC &, const TDesC &, const TUidType &, TUint32)
LoadLocale(const TDesC &, TLibraryFunction *)
LoadProcess(TInt &, const TDesC &, const TDesC &, const TUidType &, TOwnerType)
LoadProcess(TInt &, const TDesC &, const TDesC &, const TUidType &, TInt, TOwnerType)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.