NS_GET_IID(nsIAppShellComponent),
nsIAppShellComponent::GetIID(),
nsAppShellService::InitializeComponent( const nsCID &aComponentCID ) {    // Attempt to create instance of the component.    nsIAppShellComponent *component;    nsresult rv = nsComponentManager::CreateInstance( aComponentCID,                                                      0,                                                      NS_GET_IID(nsIAppShellComponent),                                                      (void**)&component );    if ( NS_SUCCEEDED( rv ) ) {        // Then tell it to initialize (it may RegisterService itself).        rv = component->Initialize( this, mCmdLineService );        #ifdef NS_DEBUG            char *name = aComponentCID.ToString();            printf( "Initialized app shell component %s, rv=0x%08X\n",                    name, (int)rv );            Recycle(name);        #endif        // Release it (will live on if it registered itself as service).        component->Release();    } else {        // Error creating component.        #ifdef NS_DEBUG            char *name = aComponentCID.ToString();            printf( "Error creating app shell component %s, rv=0x%08X\n",                    name, (int)rv );            Recycle(name);        #endif    }    return;}