res = pService->NewChannelFromURI(nsnull, aURI, (nsILoadGroup *)nsnull, (nsIEventSinkGetter *)nsnull, aInstancePtrResult);
res = pService->NewChannelFromURI(nsnull, aURI, (nsILoadGroup *)nsnull, (nsIEventSinkGetter *)nsnull, (nsIURI *)nsnull, aInstancePtrResult);
NewChannel(nsIChannel **aInstancePtrResult, nsIURI *aURI){    nsresult res;  NS_WITH_SERVICE(nsIIOService, pService, kIOServiceCID, &res);  if (NS_FAILED(res))     return NS_ERROR_FAILURE;  res = pService->NewChannelFromURI(nsnull, aURI, (nsILoadGroup *)nsnull,                                     (nsIEventSinkGetter *)nsnull, aInstancePtrResult);  if (NS_FAILED(res))    return NS_ERROR_FAILURE;  else    return NS_OK;}