rv = NS_InitXPCOM(NULL, NULL, NULL);
rv = NS_InitXPCOM(NULL, NULL);
NS_GetGlobalComponentManager(nsIComponentManager* *result){    nsresult rv = NS_OK;    if (nsComponentManagerImpl::gComponentManager == NULL)    {        // XPCOM needs initialization.        rv = NS_InitXPCOM(NULL, NULL, NULL);    }    if (NS_SUCCEEDED(rv))    {        // NO ADDREF since this is never intended to be released.        *result = nsComponentManagerImpl::gComponentManager;    }    return rv;}