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.

39 lines
930 B

  1. // Copyright (c) Microsoft Corporation
  2. // CBothThreaded.h : Declaration of the CCBothThreaded
  3. #ifndef CBOTHTHREADED_H_
  4. #define CBOTHTHREADED_H_
  5. #pragma once
  6. #include "resource.h" // main symbols
  7. #include "sxstest_idl.h"
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCBothThreaded
  10. class ATL_NO_VTABLE CCBothThreaded :
  11. public CComObjectRootEx<CComMultiThreadModel>,
  12. public CComCoClass<CCBothThreaded, &CLSID_CSxsTest_BothThreaded>,
  13. public ISxsTest_BothThreaded
  14. {
  15. public:
  16. CCBothThreaded()
  17. {
  18. PrintComctl32Path("CCBothThreaded");
  19. }
  20. DECLARE_REGISTRY_RESOURCEID(IDR_CBOTHTHREADED)
  21. DECLARE_AGGREGATABLE(CCBothThreaded)
  22. DECLARE_GET_CONTROLLING_UNKNOWN()
  23. DECLARE_PROTECT_FINAL_CONSTRUCT()
  24. BEGIN_COM_MAP(CCBothThreaded)
  25. COM_INTERFACE_ENTRY(ISxsTest_BothThreaded)
  26. END_COM_MAP()
  27. // ICBothThreaded
  28. public:
  29. };
  30. #endif //CBOTHTHREADED_H_