Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TFindLibrary Class Reference

Searches for DLLs whose full names match a specified pattern. More...

#include <e32std.h>

Inheritance diagram for TFindLibrary:
TFindHandleBase TFindHandle

Public Member Functions

 TFindLibrary ()
 Constructs this object with a default match pattern.
 
 TFindLibrary (const TDesC &aMatch)
 Constructs this object with the specified match pattern.
 
IMPORT_C TInt Next (TFullName &aResult)
 Finds the next DLL whose full name matches the match pattern.
 
- Public Member Functions inherited from TFindHandleBase
IMPORT_C TFindHandleBase ()
 Default constructor.
 
IMPORT_C TFindHandleBase (const TDesC &aMatch)
 Constructor with match pattern.
 
IMPORT_C void Find (const TDesC &aMatch)
 Sets a new match pattern.
 
- Public Member Functions inherited from TFindHandle
 TFindHandle ()
 
TInt Handle () const
 Gets the find-handle number associated with the Kernel object.
 

Additional Inherited Members

- Protected Member Functions inherited from TFindHandleBase
TInt NextObject (TFullName &aResult, TInt aObjectType)
 Implementation for TFindXxxxxxx::Next(TFullName &aResult) methods.
 
- Protected Member Functions inherited from TFindHandle
void Reset ()
 Resets the find handle to its initial state.
 

Detailed Description

Searches for DLLs whose full names match a specified pattern.

The match pattern is set at construction but can also be changed at any time after construction by using TFindHandleBase::Find().

After construction, use TFindLibrary::Next() to repeatedly find successive DLLs whose names match the current pattern. A successful call to TFindLibrary::Next() means that a matching DLL has been found.

API status
Published to all clients. Released API.

Definition at line 3238 of file e32std.h.

Constructor & Destructor Documentation

◆ TFindLibrary() [1/2]

TFindLibrary::TFindLibrary ( )
inline

Constructs this object with a default match pattern.

The default match pattern is the single character * and is implemented by the base class TFindHandleBase.

(generated from Symbian Developer Library)

◆ TFindLibrary() [2/2]

TFindLibrary::TFindLibrary ( const TDesC &  aMatch)
inline

Constructs this object with the specified match pattern.

Parameters
aMatchThe descriptor containing the match pattern.

(generated from Symbian Developer Library)

Member Function Documentation

◆ Next()

IMPORT_C TInt TFindLibrary::Next ( TFullName &  aResult)

Finds the next DLL whose full name matches the match pattern.

If a DLL with a matching name is found, the function copies the full name of the DLL into the descriptor aResult.

Parameters
aResultA buffer for the fullname of the DLL. This is a template specialisation of TBuf defining a modifiable buffer descriptor taking a maximum length of KMaxFullName. If no matching DLL is found, the descriptor length is set to zero.

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: