1 // SOActionsApproval.cpp : Implementation of CHelpApp and DLL registration. 2 3 #include "stdafx2.h" 4 5 #include "so_activex.h" 6 #include "SOActionsApproval.h" 7 8 ///////////////////////////////////////////////////////////////////////////// 9 // 10 11 STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid) 12 { 13 static const IID* arr[] = 14 { 15 &IID_ISOActionsApproval, 16 }; 17 18 for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++) 19 { 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; 26 } 27 return S_FALSE; 28 } 29 30