MM Developer's Guide
MM Interfaces | MM Methods | MM Types and Misc API
IMoaMmInterrogator
Interface ID: IID_IMoaMmInterrogator
Pointer type: PIMoaMmInterrogator
Inheritance: IMoaUnknown
Header file: mmiservc.h
Description
-
All classes supporting this interface are instantiated at start-up,
after all Xtras have been registered. The IMoaMmInterrogator::Interrogate() method of each class is called immediately. This allows
Xtras to perform their own start-up and global initialization.
The instances are released before the application quits. However,
for notification when the application quits, implement the complementary IMoaMmTerminator interface
in the same class. You shouldn't rely on the class's MoaDestroy function being called when the application quits.
Implement 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,
which eliminates the benefits of having an Xtra registry.
Important: You must register any class that implements IMoaMmInterrogatorfor
it to be instantiated at startup. You do this by calling AddRegistryEntry() with the class and interface in the Register() method of your Xtra's registsration class.
If you support both IMoaMmInterrogator and IMoaMmTerminator on the same class, two instances are created--one at start-up
and one at shut-down.
Methods
-
- Interrogate()
Syntax
-
- Interrogate(PIMoaMmInterrogatorThis)
Parameters
-
This
- Pointer to the
IMoaMmInterrogator
interface
Returns
-
- void
Description
-
- This method is called at application startup on any Xtra that registers this interface.
Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.