status = webShellContainer->QueryInterface(nsIWebShellWindow::GetIID(), (void**)aWebShellWindow);
status = webShellContainer->QueryInterface(NS_GET_IID(nsIWebShellWindow), (void**)aWebShellWindow);
Test06_nsCOMPtr02( nsIDOMWindow* aDOMWindow, nsIWebShellWindow** aWebShellWindow )		// m320, w187/184	{//		if ( !aDOMWindow )//			return NS_ERROR_NULL_POINTER;		(*aWebShellWindow) = 0;		nsresult status;		nsCOMPtr<nsIScriptGlobalObject> scriptGlobalObject = do_QueryInterface(aDOMWindow, &status);		if ( scriptGlobalObject )			{				nsIWebShell* temp0;				scriptGlobalObject->GetWebShell(&temp0);				nsCOMPtr<nsIWebShell> webShell = dont_AddRef(temp0);				if ( webShell )					{					//	status = webShell->GetRootWebShellEvenIfChrome(temp0);						nsCOMPtr<nsIWebShell> rootWebShell = dont_AddRef(temp0);						if ( rootWebShell )							{								nsIWebShellContainer* temp1;								status = rootWebShell->GetContainer(temp1);								nsCOMPtr<nsIWebShellContainer> webShellContainer = dont_AddRef(temp1);								if ( webShellContainer )									status = webShellContainer->QueryInterface(nsIWebShellWindow::GetIID(), (void**)aWebShellWindow);							}					}			}//		return status;	}