merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / activex / main / SOComWindowPeer.cpp
blob7b9e60d8e15ef12b03ad85f70f35a50af1a5f76d
1 // SOComWindowPeer.cpp : Implementation of CHelpApp and DLL registration.
3 #include "stdafx2.h"
4 #include "so_activex.h"
5 #include "SOComWindowPeer.h"
7 /////////////////////////////////////////////////////////////////////////////
8 //
10 STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
12 static const IID* arr[] =
14 &IID_ISOComWindowPeer,
17 for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
19 #if defined(_MSC_VER) && (_MSC_VER >= 1300)
20 if (InlineIsEqualGUID(*arr[i],riid))
21 #else
22 if (::ATL::InlineIsEqualGUID(*arr[i],riid))
23 #endif
24 return S_OK;
26 return S_FALSE;