AGCSector.cpp 858 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*-------------------------------------------------------------------------
  2. * fedsrv\AGCSector.CPP
  3. *
  4. * Implementation of CAGCSector
  5. *
  6. * Owner:
  7. *
  8. * Copyright 1986-1999 Microsoft Corporation, All Rights Reserved
  9. *-----------------------------------------------------------------------*/
  10. #include "pch.h"
  11. #include "AGCSector.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CAGCSector
  14. TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCSector)
  15. /////////////////////////////////////////////////////////////////////////////
  16. // ISupportErrorInfo Interface Methods
  17. STDMETHODIMP CAGCSector::InterfaceSupportsErrorInfo(REFIID riid)
  18. {
  19. static const IID* arr[] =
  20. {
  21. &IID_IAGCSector
  22. };
  23. for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
  24. {
  25. if (InlineIsEqualGUID(*arr[i],riid))
  26. return S_OK;
  27. }
  28. return S_FALSE;
  29. }