MM Developer's Guide
MM Interfaces | MM Methods | MM Types and Misc API
Interface ID: IID_IMoaMmTerminator
Pointer type:
PIMoaMmTerminator
Inheritance: IMoaUnknown
Header file: mmiservc.h
Terminate()
method is called; the class is released. This allows Xtras to
perform their own shut- down and global clean-up. The corresponding
start-up interface is IMoaMmInterrogator
. IMoaMmInterrogator
and IMoaMmTerminator
only when absolutely necessary to make your Xtra work. Using these
interfaces means that your Xtra is always called at start-up and
shutdown, which eliminates the benefits of having an Xtra registry. IMoaMmTerminator
for
it to be instantiated at shutdown. You do this by calling AddRegistryEntry()
with the class and interface in
the Register()
method
of your Xtra's registsration class. IMoaMmInterrogator
and IMoaMmTerminator
on the same class, two instances are created--one at start-up
and one at shut-down.
- Terminate(PIMoaMmTerminatorThis)
This
IMoaMmTerminator
interfacevoid