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
720 B

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