nsDummyBufferStream::QueryInterface(REFNSIID aIID, void** result)
nsDummyBufferStream::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsDummyBufferStream::QueryInterface(REFNSIID aIID, void** result){    if (!result) return NS_ERROR_NULL_POINTER;    *result = nsnull;    if (aIID.Equals(nsIInputStream::GetIID()))        *result = NS_STATIC_CAST(nsIInputStream*, this);    if (*result)    {        AddRef();        return NS_OK;    }    return NS_ERROR_NO_INTERFACE;}