« XPCOM API Reference

Summary

This utility class simplifies managing XPCOM interface references from C++ code.

  #include "nsCOMPtr.h"

Remarks

Consult Using nsCOMPtr for more info.

To use this class, you must link your component or application against the XPCOM glue library. The class itself and the supporting functions that are used with it are not frozen, but they are available as part of the XPCOM glue library for easy reuse.