Mozilla.com

  1. MDC
  2. Main Page
  3. nsIServiceManager
  4. isServiceInstantiatedByContractID
Table of contents
  1. 1. Summary
  2. 2. Parameters
  3. 3. Return Values
Table of contents
  1. 1. Summary
  2. 2. Parameters
  3. 3. Return Values

« XPCOM API Reference

Summary

This method tests whether or not a XPCOM service, identified by ContractID, has been instantiated.

 boolean isServiceInstantiatedByContractID(
   in string aContractID,
   in nsIIDRef aIID
 );

Parameters

aContractID
[in] The ContractID of the service that is being tested.
aIID
[in] The interface type to be tested.

Return Values

This method returns true if the service has already been instantiated.

Page last modified 02:03, 24 Apr 2006 by Pmash

Files (0)