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.

65 lines
1011 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxOutgoingArchive.cpp
  5. Abstract:
  6. Implementation of CFaxOutgoingArchive
  7. Author:
  8. Iv Garber (IvG) Apr, 2000
  9. Revision History:
  10. --*/
  11. #include "stdafx.h"
  12. #include "FaxComEx.h"
  13. #include "FaxOutgoingArchive.h"
  14. //
  15. //==================== INTERFACE SUPPORT ERROR INFO =====================
  16. //
  17. STDMETHODIMP
  18. CFaxOutgoingArchive::InterfaceSupportsErrorInfo(
  19. REFIID riid
  20. )
  21. /*++
  22. Routine name : CFaxOutgoingArchive::InterfaceSupportsErrorInfo
  23. Routine description:
  24. ATL's implementation of Interface Support Error Info
  25. Author:
  26. Iv Garber (IvG), Apr, 2000
  27. Arguments:
  28. riid [in] - Reference of the Interface
  29. Return Value:
  30. Standard HRESULT code
  31. --*/
  32. {
  33. static const IID* arr[] =
  34. {
  35. &IID_IFaxOutgoingArchive
  36. };
  37. for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
  38. {
  39. if (InlineIsEqualGUID(*arr[i],riid))
  40. return S_OK;
  41. }
  42. return S_FALSE;
  43. }