windows-nt/Source/XPSP1/NT/base/fs/hsm/rms/server/rmstmplt.cpp
2020-09-26 16:20:57 +08:00

53 lines
749 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
© 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;
}