home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
com
/
dcom
/
drawctl
/
draw.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-02
|
484b
|
21 lines
// Draw.cpp : Implementation of CDrawCtl
#include "stdafx.h"
#include "Draw.h"
/////////////////////////////////////////////////////////////////////////////
// CDrawCtl
STDMETHODIMP CDrawCtl::InterfaceSupportsErrorInfo(REFIID riid)
{
static const IID* arr[] =
{
&__uuidof(IDrawCtl),
};
for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
{
if (InlineIsEqualGUID(*arr[i],riid))
return S_OK;
}
return S_FALSE;
}