Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
749 B

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved
  3. Module Name:
  4. RmsTmplt.cpp
  5. Abstract:
  6. Implementation of CRmsTemplate
  7. Author:
  8. Brian Dodd [brian] 15-Nov-1996
  9. Revision History:
  10. --*/
  11. #include "stdafx.h"
  12. #include "RmsTmplt.h"
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CRmsTemplate Implementation
  15. STDMETHODIMP
  16. CRmsTemplate::InterfaceSupportsErrorInfo(
  17. REFIID riid
  18. )
  19. /*++
  20. Implements:
  21. ISupportsErrorInfo::InterfaceSupportsErrorInfo
  22. --*/
  23. {
  24. static const IID* arr[] =
  25. {
  26. &IID_IRmsTemplate,
  27. };
  28. for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
  29. {
  30. if (InlineIsEqualGUID(*arr[i],riid))
  31. return S_OK;
  32. }
  33. return S_FALSE;
  34. }