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.

27 lines
669 B

  1. /////////////////////////////////////////////////////////////////////////////////////
  2. // DVBTLocator.cpp : Implementation of CDVBTLocator
  3. // Copyright (c) Microsoft Corporation 1999-2000.
  4. #include "stdafx.h"
  5. #include "Tuner.h"
  6. #include "DVBTLocator.h"
  7. DEFINE_EXTERN_OBJECT_ENTRY(CLSID_DVBTLocator, CDVBTLocator)
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDVBTLocator
  10. STDMETHODIMP CDVBTLocator::InterfaceSupportsErrorInfo(REFIID riid)
  11. {
  12. static const IID* arr[] =
  13. {
  14. &IID_IDVBTLocator
  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. }