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.

50 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000.
  5. //
  6. // File: E V T D I A G . H
  7. //
  8. // Contents: Eventing manager diagnostic class
  9. //
  10. // Notes:
  11. //
  12. // Author: danielwe 2000/10/2
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "uhres.h" // main symbols
  17. #include "upnphost.h"
  18. #include "hostp.h"
  19. // Typedefs
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CUPnPEventingManagerDiag
  22. class ATL_NO_VTABLE CUPnPEventingManagerDiag :
  23. public CComObjectRootEx<CComMultiThreadModel>,
  24. public CComCoClass<CUPnPEventingManagerDiag, &CLSID_UPnPEventingManagerDiag>,
  25. public IUPnPEventingManagerDiag
  26. {
  27. public:
  28. CUPnPEventingManagerDiag() {}
  29. ~CUPnPEventingManagerDiag() {}
  30. DECLARE_NOT_AGGREGATABLE(CUPnPEventingManagerDiag)
  31. DECLARE_CLASSFACTORY_SINGLETON(CUPnPEventingManagerDiag)
  32. DECLARE_REGISTRY_RESOURCEID(IDR_EVENTING_MANAGER_DIAG)
  33. BEGIN_COM_MAP(CUPnPEventingManagerDiag)
  34. COM_INTERFACE_ENTRY(IUPnPEventingManagerDiag)
  35. END_COM_MAP()
  36. public:
  37. // IUPnPEventingManagerDiag
  38. HRESULT STDMETHODCALLTYPE GetEventSourceInfo(
  39. /* [out] */ DWORD *pces,
  40. /* [size_is][size_is][out] */ UDH_EVTSRC_INFO **rgesInfo);
  41. };