nsresult rv = NS_ERROR_NULL_POINTER;  if (!message) return rv;  NS_WITH_SERVICE(nsIRDFService, rdfService, kRDFServiceCID, &rv); if(NS_SUCCEEDED(rv)) { nsCOMPtr<nsIRDFResource> msgResource; if(NS_SUCCEEDED(rdfService->GetResource(m_messageUri, getter_AddRefs(msgResource)))) rv = msgResource->QueryInterface(NS_GET_IID(nsIMessage), (void**)message); } return rv;
return GetMsgDBHdrFromURI(m_messageUri, message);
nsFolderCompactState::GetMessage(nsIMessage **message){  nsresult rv = NS_ERROR_NULL_POINTER;  if (!message) return rv;	NS_WITH_SERVICE(nsIRDFService, rdfService, kRDFServiceCID, &rv); 	if(NS_SUCCEEDED(rv))	{		nsCOMPtr<nsIRDFResource> msgResource;		if(NS_SUCCEEDED(rdfService->GetResource(m_messageUri,                                            getter_AddRefs(msgResource))))			rv = msgResource->QueryInterface(NS_GET_IID(nsIMessage),                                       (void**)message);	}  return rv;}