Back to index

lightning-sunbird  0.9+nobinonly
nsXPCDispTestNoIDispatch.cpp
Go to the documentation of this file.
00001 // nsXPCDispTestNoIDispatch.cpp : Implementation of CXPCIDispatchTestApp and DLL registration.
00002 
00003 #include "stdafx.h"
00004 #include "XPCIDispatchTest.h"
00005 #include "nsXPCDispTestNoIDispatch.h"
00006 
00008 //
00009 
00010 STDMETHODIMP nsXPCDispTestNoIDispatch::InterfaceSupportsErrorInfo(REFIID riid)
00011 {
00012     static const IID* arr[] = 
00013     {
00014         &IID_nsIXPCDispTestNoIDispatch,
00015     };
00016 
00017     for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
00018     {
00019         if (InlineIsEqualGUID(*arr[i],riid))
00020             return S_OK;
00021     }
00022     return S_FALSE;
00023 }