res = dialog->Confirm(nsnull, message.GetUnicode(), &retval);
res = dialog->Confirm(nsnull, message.get(), &retval);
Wallet_Confirm(PRUnichar * szMessage){  PRBool retval = PR_TRUE; /* default value */  nsresult res;    nsCOMPtr<nsIPrompt> dialog;  nsCOMPtr<nsIWindowWatcher> wwatch(do_GetService("@mozilla.org/embedcomp/window-watcher;1"));  if (wwatch)    wwatch->GetNewPrompter(0, getter_AddRefs(dialog));  if (!dialog) {    return NS_ERROR_FAILURE;  }  const nsAutoString message(szMessage);  retval = PR_FALSE; /* in case user exits dialog by clicking X */  res = dialog->Confirm(nsnull, message.GetUnicode(), &retval);  return retval;}