|
|
|
|
Location:
e32std.h
Link against: euser.lib
class RLibrary : public RHandleBase;
A handle to a dynamically loadable DLL.
The class is not intended for user derivation.
RHandleBase - A handle to an object
RLibrary - A handle to a dynamically loadable DLL
Defined in RLibrary:
Close(), FileName(), GetRamSizes(), Load(), Load(), Load(), Load(), Lookup(), Type()
Inherited from RHandleBase:
Attributes(),
Duplicate(),
FullName(),
Handle(),
HandleInfo(),
Name(),
Open(),
SetHandle(),
SetHandleNC(),
SetReturnedHandle(),
iHandle
IMPORT_C void Close();
Closes the DLL.
The function decrements the usage count by one.
This handle must have been used to load the DLL using one of the Load() functions.
IMPORT_C TInt Load(const TDesC &aFileName, const TUidType &aType);
Loads the named DLL which matches the specified UID type.
If successful, the function increments the usage count by one. No additional search paths can be specified with this function.
|
|
IMPORT_C TInt Load(const TDesC &aFileName, const TDesC &aPath=KNullDesC);
Loads the named DLL.
If successful, the function increments the usage count by one.
|
|
IMPORT_C TInt Load(const TDesC &aFileName, const TDesC &aPath, const TUidType &aType);
Loads the named DLL that matches the specified UID type.
If successful, the function increments the usage count by one.
|
|
IMPORT_C TInt Load(const TDesC &aFileName, const TDesC &aPath, const TUidType &aType, TUint32 aModuleVersion);
Loads the named DLL that matches the specified UID type and version.
If successful, the function increments the usage count by one.
|
|
IMPORT_C TLibraryFunction Lookup(TInt anOrdinal) const;
Gets a pointer to the function at the specified ordinal within this DLL.
|
|
|
IMPORT_C TUidType Type() const;
Gets this DLL's UID type.
The UID type is a property of a Symbian OS file; for a DLL, its value is set during the building of that DLL.
|
IMPORT_C TFileName FileName() const;
Gets the name of the DLL's file.
|
IMPORT_C TInt GetRamSizes(TInt &aCodeSize, TInt &aConstDataSize);
Gets the current size of the code and the const data for this DLL.
This function can be called on a RAM loaded DLL or a ROM based DLL.
|
|