|
||
Writers of MTMs need to inform the message server of the properties
of the MTM by supplying a registration file. This is a compiled resource file,
placed in \system\mtm\
(pre-v9.0) or
\resource\messaging\mtm\
(from v9.0). The resource file should
define the MTM's properties using the resource structures
MTM_INFO_FILE
,
MTM_CAPABILITIES
, and from v9.0,
also
MTM_SECURITY_CAPABILITY_SET
.
To install an MTM that is not in ROM on to a target phone, you must
take an additional step of calling the Message Server, through
CMsvSession::InstallMtmGroup()
, to notify it that a new MTM is
available. When this is done, all running Message Server client processes are
also notified that the new MTM is available. A program to do this would
typically be run at the end of installation.
Uninstallation also requires a call to the Message Server. Running clients are then dynamically notified that the MTM is no longer available.