windows-nt/Source/XPSP1/NT/base/fs/hsm/rms/server/rmstmplt.cpp

53 lines
749 B
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
<EFBFBD> 1998 Seagate Software, Inc. All rights reserved
Module Name:
RmsTmplt.cpp
Abstract:
Implementation of CRmsTemplate
Author:
Brian Dodd [brian] 15-Nov-1996
Revision History:
--*/
#include "stdafx.h"
#include "RmsTmplt.h"
/////////////////////////////////////////////////////////////////////////////
// CRmsTemplate Implementation
STDMETHODIMP
CRmsTemplate::InterfaceSupportsErrorInfo(
REFIID riid
)
/*++
Implements:
ISupportsErrorInfo::InterfaceSupportsErrorInfo
--*/
{
static const IID* arr[] =
{
&IID_IRmsTemplate,
};
for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
{
if (InlineIsEqualGUID(*arr[i],riid))
return S_OK;
}
return S_FALSE;
}