update dev300-m58
[ooovba.git] / extensions / source / activex / main / SOActionsApproval.cpp
blob3fb7722de371a82b3b65a390a46c46bbc3f0243d
1 // SOActionsApproval.cpp : Implementation of CHelpApp and DLL registration.
3 #include "stdafx2.h"
5 #include "so_activex.h"
6 #include "SOActionsApproval.h"
8 /////////////////////////////////////////////////////////////////////////////
9 //
11 STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid)
13 static const IID* arr[] =
15 &IID_ISOActionsApproval,
18 for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
20 #if defined(_MSC_VER) && (_MSC_VER >= 1300)
21 if (InlineIsEqualGUID(*arr[i],riid))
22 #else
23 if (::ATL::InlineIsEqualGUID(*arr[i],riid))
24 #endif
25 return S_OK;
27 return S_FALSE;