Leaked source code of windows server 2003
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.

27 lines
696 B

  1. /////////////////////////////////////////////////////////////////////////////////////
  2. // ATSCLocator.cpp : Implementation of CATSCLocator
  3. // Copyright (c) Microsoft Corporation 1999-2000.
  4. #include "stdafx.h"
  5. #include "Tuner.h"
  6. #include "ATSCLocator.h"
  7. DEFINE_EXTERN_OBJECT_ENTRY(CLSID_ATSCLocator, CATSCLocator)
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CATSCLocator
  10. STDMETHODIMP CATSCLocator::InterfaceSupportsErrorInfo(REFIID riid)
  11. {
  12. static const IID* arr[] =
  13. {
  14. &IID_IATSCLocator
  15. };
  16. for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
  17. {
  18. if (InlineIsEqualGUID(*arr[i],riid))
  19. return S_OK;
  20. }
  21. return S_FALSE;
  22. }