status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);
status = webShellContainer->QueryInterface(NS_GET_IID(nsIWebShellWindow), (void**)aWebShellWindow);
Test06_nsIPtr( nsIDOMWindow* aDOMWindow, nsIWebShellWindow** aWebShellWindow )		// m564, w220	{//		if ( !aDOMWindow )//			return NS_ERROR_NULL_POINTER;		nsIScriptGlobalObjectPtr scriptGlobalObject;		nsresult status = aDOMWindow->QueryInterface(kIScriptGlobalObjectIID, scriptGlobalObject.Query());		nsIWebShellPtr webShell;		if ( scriptGlobalObject.IsNotNull() )			scriptGlobalObject->GetWebShell( webShell.AssignPtr() );		nsIWebShellPtr rootWebShell;		if ( webShell.IsNotNull() )		//	status = webShell->GetRootWebShellEvenIfChrome( rootWebShell.AssignRef() );		nsIWebShellContainerPtr webShellContainer;		if ( rootWebShell.IsNotNull() )			status = rootWebShell->GetContainer( webShellContainer.AssignRef() );		if ( webShellContainer.IsNotNull() )			status = webShellContainer->QueryInterface(kIWebShellWindowIID, (void**)aWebShellWindow);		else			(*aWebShellWindow) = 0;//		return status;	}