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.

26 lines
751 B

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