office-gobmx/extensions/source/activex/main/SOComWindowPeer.cpp

25 lines
537 B
C++
Raw Normal View History

2002-08-14 08:41:00 -05:00
// SOComWindowPeer.cpp : Implementation of CHelpApp and DLL registration.
#include "stdafx2.h"
#include "so_activex.h"
#include "SOComWindowPeer.h"
/////////////////////////////////////////////////////////////////////////////
//
STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
{
static const IID* arr[] =
{
&IID_ISOComWindowPeer,
};
for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
{
2002-09-05 09:22:57 -05:00
if (::InlineIsEqualGUID(*arr[i],riid))
2002-08-14 08:41:00 -05:00
return S_OK;
}
return S_FALSE;
}