*uri = nsXPIDLCString::Copy("rdf:window-mediator");
*uri = nsCRT::strdup("rdf:window-mediator");
  NS_IMETHOD GetURI(char* *uri)  {    NS_PRECONDITION(uri != nsnull, "null ptr");    if (! uri)      return NS_ERROR_NULL_POINTER;    *uri = nsXPIDLCString::Copy("rdf:window-mediator");    if (! *uri)      return NS_ERROR_OUT_OF_MEMORY;    return NS_OK;  }