![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behavior |
msvreg.h
ment.lib
This class encapsulates the registration data for a single concrete MTM component. It is used in the creation of registration data for an MTM group. Typically, an application gathers a number of CMtmDllInfo objects into an CMtmDllInfoArray.
static CMtmDllInfo* NewL(const TDesC& aHumanReadableName,const TUidType& aUidType,TInt aEntryPointOrdinalNumber,const TVersion aVersion);
Use this function to create a new CMtmDllInfo and initialise it with values describing an MTM component.
const TDesC& aHumanReadableName |
Descriptor holding a descriptive name for the MTM component |
const TUidType& aUidType |
Group of UIDs for the MTM. The UIDs should be as follows: UID1: always KDynamicLibraryUid UID2: identifies whether the MTM component is a Client-side MTM, User Interface MTM, UI Data MTM, or Server-side MTM. See MTM component type UIDs. UID3: identifies this concrete MTM uniquely |
TInt aEntryPointOrdinalNumber |
Ordinal of factory function for the MTM |
const TVersion aVersion |
Version information for the MTM component |
CMtmDllInfo* |
New CMtmDllInfo initialises with passed values |
KErrNoMemory |
A memory allocation failed |
TPtrC HumanReadableName() const;
Use this function to get the descriptive name of the MTM component for which the object holds registration data.
TPtrC |
Descriptor holding the descriptive name of the MTM component |
void SetHumanReadableNameL(const TDesC& aHumanReadableName);
Use this function to set the descriptive name of the MTM component for which the object holds registration data.
const TDesC& aHumanReadableName |
Descriptor holding a descriptive name for the MTM component |
Registration data values can also be accessed through the following data members:
TUidType iUidType |
Group of UIDs for the MTM. See NewL() for details. |
TInt iEntryPointOrdinalNumber |
Ordinal of factory function for the MTM component |
TVersion iVersion |
Version information for the MTM component |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |