NS_GET_IID(nsIDialogParamBlock),
nsIDialogParamBlock::GetIID(),
NS_IMETHODIMP nsCommonDialogs::Confirm(nsIDOMWindow *inParent, const PRUnichar *inWindowTitle, const PRUnichar *inMsg, PRBool *_retval){	nsresult rv;	nsIDialogParamBlock* block = NULL;	rv = nsComponentManager::CreateInstance( kDialogParamBlockCID,                                                      0,                                                      NS_GET_IID(nsIDialogParamBlock),                                                      (void**)&block );      	if ( NS_FAILED( rv ) )		return rv;	// Stuff in Parameters	block->SetInt( eNumberButtons,2 );	block->SetString( eMsg, inMsg );		block->SetString( eDialogTitle, inWindowTitle );   	nsString url; url.AssignWithConversion( kQuestionIconURL );	block->SetString( eIconURL, url.GetUnicode());		rv = DoDialog( inParent, block, kPromptURL );		PRInt32 buttonPressed = 0;	block->GetInt( eButtonPressed, &buttonPressed );	*_retval = buttonPressed ? PR_FALSE : PR_TRUE;	NS_IF_RELEASE( block );	return rv;}