Back to index

lightning-sunbird  0.9+nobinonly
nsXPCDispTestScriptOff.cpp
Go to the documentation of this file.
00001 // nsXPCDispTestScriptOff.cpp : Implementation of CXPCIDispatchTestApp and DLL registration.
00002 
00003 #include "stdafx.h"
00004 #include "XPCIDispatchTest.h"
00005 #include "nsXPCDispTestScriptOff.h"
00006 
00008 //
00009 
00010 STDMETHODIMP nsXPCDispTestScriptOff::InterfaceSupportsErrorInfo(REFIID riid)
00011 {
00012     static const IID* arr[] = 
00013     {
00014         &IID_nsIXPCDispTestScriptOff,
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 }