2010-10-12 08:57:08 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
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,
|
|
|
|
};
|
|
|
|
|
2010-10-18 08:31:16 -05:00
|
|
|
for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
|
2002-08-14 08:41:00 -05:00
|
|
|
{
|
2003-05-22 03:24:32 -05:00
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
|
|
|
|
if (InlineIsEqualGUID(*arr[i],riid))
|
|
|
|
#else
|
2002-09-05 09:42:12 -05:00
|
|
|
if (::ATL::InlineIsEqualGUID(*arr[i],riid))
|
2003-05-22 03:24:32 -05:00
|
|
|
#endif
|
2002-08-14 08:41:00 -05:00
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
return S_FALSE;
|
|
|
|
}
|
|
|
|
|
2010-10-12 08:57:08 -05:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|