Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Creates an instance of a component.
NS_NOINTERFACE - Interface not accessible. NS_ERROR* - Method failure.
The IID of the interface being requested in the component which is being currently created.
[out] Pointer to the newly created instance, if successful.
Generated using TypeDoc
A class factory allows the creation of nsISupports derived components without specifying a concrete base class.