You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
This is the interface from which all other XPCOM interfaces inherit. It provides the foundation for XPCOM interface discovery and lifetime object management. The interface is partially scriptable.
Provides a mechanism for requesting interfaces to which a given object might provide access. This method is scriptable.
Syntax:void nsISupports::QueryInterface(in nsIIDRef uuid, [iid_is(uuid),retval] out nsQIResult result);
Increments the internal refcount of the interface. This method is included for completeness. When writing code, use of
Decrements the internal refcount of the interface. When the count reaches zero, the interface deletes itself. This method is included for completeness. When writing code, use of
| Written by:Ellen Evans | Comments, questions, complaints?