Location:
msvreg.h
Link against:
msgs.lib
CMtmDllInfo
Support
Supported from 5.0
Description
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
.
In pre-Unicode versions this class had the import library ment.lib.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CMtmDllInfo | Encapsulates the registration data for a single concrete MTM component |
|
Defined in CMtmDllInfo
:
HumanReadableName()
, NewL()
, SetHumanReadableNameL()
, iEntryPointOrdinalNumber
, iUidType
, iVersion
Inherited from CBase
:
operator new()
static CMtmDllInfo* NewL(const TDesC& aHumanReadableName,const TUidType& aUidType,TInt aEntryPointOrdinalNumber,const TVersion aVersion);
Description
Creates a new CMtmDllInfo
and initialises it with values describing an MTM component.
Parameters
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.
UID3: identifies this concrete MTM uniquely
|
TInt aEntryPointOrdinalNumber
|
Ordinal of factory function for the MTM
|
const TVersion aVersion
|
Version information for the MTM component
|
|
Return value
CMtmDllInfo*
|
New CMtmDllInfo initialises with passed values
|
|
Leave codes
KErrNoMemory
|
A memory allocation failed
|
|
See also:
TPtrC HumanReadableName() const;
Description
Gets the descriptive name of the MTM component for which the object holds registration data.
Return value
TPtrC
|
Descriptor holding the descriptive name of the MTM component
|
|
void SetHumanReadableNameL(const TDesC& aHumanReadableName);
Description
Sets the descriptive name of the MTM component for which the object holds registration data.
Parameters
const TDesC& aHumanReadableName
|
Descriptor holding a descriptive name for the MTM component
|
|
TUidType iUidType
Description
Group of UIDs for the MTM. See NewL()
for details.
TInt iEntryPointOrdinalNumber
Description
Ordinal of factory function for the MTM component
TVersion iVersion
Description
Version information for the MTM component