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.

66 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2001, Microsoft Corporation
  3. Module Name:
  4. csaupdate.h
  5. Abstract:
  6. Declarations for CSharedAccessUpdate -- notification sink for
  7. configuration changes.
  8. Author:
  9. Jonathan Burstein (jonburs) 20 April 2001
  10. Revision History:
  11. --*/
  12. #pragma once
  13. #include <atlbase.h>
  14. extern CComModule _Module;
  15. #include <atlcom.h>
  16. #include "saupdate.h"
  17. class ATL_NO_VTABLE CSharedAccessUpdate :
  18. public CComObjectRootEx<CComMultiThreadModelNoCS>,
  19. public CComCoClass<CSharedAccessUpdate, &CLSID_SAUpdate>,
  20. public ISharedAccessUpdate
  21. {
  22. public:
  23. DECLARE_NO_REGISTRY()
  24. DECLARE_NOT_AGGREGATABLE(CSharedAccessUpdate)
  25. DECLARE_PROTECT_FINAL_CONSTRUCT()
  26. BEGIN_COM_MAP(CSharedAccessUpdate)
  27. COM_INTERFACE_ENTRY(ISharedAccessUpdate)
  28. END_COM_MAP()
  29. CSharedAccessUpdate()
  30. {
  31. };
  32. STDMETHODIMP
  33. ConnectionPortMappingChanged(
  34. GUID *pConnectionGuid,
  35. GUID *pPortMappingGuid,
  36. BOOLEAN fProtocolChanged
  37. );
  38. STDMETHODIMP
  39. PortMappingListChanged();
  40. private:
  41. BOOLEAN
  42. IsH323Protocol(
  43. UCHAR ucProtocol,
  44. USHORT usPort
  45. );
  46. };