return it->QueryInterface(kIPresContextIID, (void **) aInstancePtrResult);
return it->QueryInterface(NS_GET_IID(nsIPresContext), (void **) aInstancePtrResult);
NS_NewGalleyContext(nsIPresContext** aInstancePtrResult){  if (aInstancePtrResult == nsnull) {    return NS_ERROR_NULL_POINTER;  }  GalleyContext *it = new GalleyContext();  if (it == nsnull) {    return NS_ERROR_OUT_OF_MEMORY;  }  return it->QueryInterface(kIPresContextIID, (void **) aInstancePtrResult);}