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.

47 lines
1.3 KiB

  1. // spttsengui.h : Declaration of SpTtsEngUI
  2. #ifndef __SPTTSENGUI_H_
  3. #define __SPTTSENGUI_H_
  4. #include "ms_entropicengine.h"
  5. #include "resource.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // SpTtsEngUI
  8. class ATL_NO_VTABLE SpTtsEngUI :
  9. public CComObjectRootEx<CComMultiThreadModel>,
  10. public CComCoClass<SpTtsEngUI, &CLSID_SpTtsEngUI>,
  11. public ISpTokenUI
  12. {
  13. public:
  14. SpTtsEngUI()
  15. {
  16. }
  17. DECLARE_REGISTRY_RESOURCEID(IDR_SPTTSENGUI)
  18. DECLARE_PROTECT_FINAL_CONSTRUCT()
  19. BEGIN_COM_MAP(SpTtsEngUI)
  20. COM_INTERFACE_ENTRY(ISpTokenUI)
  21. END_COM_MAP()
  22. // IMsasrUI
  23. public:
  24. //-- ISpTokenUI -----------------------------------------------------------
  25. STDMETHODIMP IsUISupported(
  26. const WCHAR * pszTypeOfUI,
  27. void * pvExtraData,
  28. ULONG cbExtraData,
  29. IUnknown * punkObject,
  30. BOOL *pfSupported);
  31. STDMETHODIMP DisplayUI(
  32. HWND hwndParent,
  33. const WCHAR * pszTitle,
  34. const WCHAR * pszTypeOfUI,
  35. void * pvExtraData,
  36. ULONG cbExtraData,
  37. ISpObjectToken * pToken,
  38. IUnknown * punkObject);
  39. };
  40. #endif //__SPTTSENGUI_H_