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.

38 lines
635 B

  1. /*
  2. */
  3. #pragma once
  4. #include "ihost.h"
  5. class __declspec(uuid(CLSID_CSxApwHost_declspec_uuid))
  6. CSxApwHost
  7. :
  8. public ATL::CComObjectRootEx<CComSingleThreadModel>,
  9. public ATL::CComCoClass<CSxApwHost, &__uuidof(CSxApwHost)>,
  10. public ISxApwHost
  11. {
  12. public:
  13. CSxApwHost() { }
  14. BEGIN_COM_MAP(CSxApwHost)
  15. COM_INTERFACE_ENTRY(ISxApwHost)
  16. END_COM_MAP()
  17. DECLARE_NO_REGISTRY();
  18. STDMETHODIMP
  19. EstimateRowCount(
  20. int
  21. );
  22. STDMETHODIMP
  23. OnNextRow(
  24. int nColumns,
  25. const PCWSTR columns[]
  26. );
  27. HRESULT Main();
  28. typedef std::vector<CSxApwComPtr<ISxApwUiView> > Views_t;
  29. Views_t m_views;
  30. };