class TFindLibrary : public TFindHandleBase |
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.
Public Member Functions | |
---|---|
TFindLibrary() | |
TFindLibrary(const TDesC &) | |
IMPORT_C TInt | Next(TFullName &) |
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.
TFindLibrary | ( | const TDesC & | aMatch | ) | [inline] |
Constructs this object with the specified match pattern.
const TDesC & aMatch | The descriptor containing the match pattern. |
IMPORT_C TInt | 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.
TFullName & aResult | A 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. |
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.