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.

87 lines
2.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-2001.
  5. //
  6. // File: ctfspui.idl
  7. //
  8. // Contents: Speech UI declarations.
  9. //
  10. //--------------------------------------------------------------------------
  11. cpp_quote("//=--------------------------------------------------------------------------=")
  12. cpp_quote("// ctfspui.h")
  13. cpp_quote("")
  14. cpp_quote("")
  15. cpp_quote("// Speech UI declarations.")
  16. cpp_quote("")
  17. cpp_quote("//=--------------------------------------------------------------------------=")
  18. cpp_quote("// (C) Copyright 1995-2001 Microsoft Corporation. All Rights Reserved.")
  19. cpp_quote("//")
  20. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  21. cpp_quote("// ANY KIND, EITHER EXPRESSED OR TFPLIED, INCLUDING BUT NOT LIMITED TO")
  22. cpp_quote("// THE TFPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  23. cpp_quote("// PARTICULAR PURPOSE.")
  24. cpp_quote("//=--------------------------------------------------------------------------=")
  25. cpp_quote("")
  26. cpp_quote("#ifndef CTFSPUI_DEFINED")
  27. cpp_quote("#define CTFSPUI_DEFINED")
  28. cpp_quote("")
  29. cpp_quote("#include <windows.h>")
  30. cpp_quote("")
  31. cpp_quote("#ifdef __cplusplus")
  32. cpp_quote("extern \"C\" {")
  33. cpp_quote("#endif /* __cplusplus */")
  34. cpp_quote("")
  35. cpp_quote("#ifdef __cplusplus")
  36. cpp_quote("}")
  37. cpp_quote("#endif /* __cplusplus */")
  38. import "oaidl.idl";
  39. import "ocidl.idl";
  40. import "msctf.idl";
  41. //
  42. // exported CLSID
  43. //
  44. cpp_quote("EXTERN_C const CLSID CLSID_SpeechUIServer;")
  45. //
  46. // ITfSpeechUIServer
  47. //
  48. // Implemented by TIP.
  49. //
  50. [
  51. object,
  52. uuid(90e9a944-9244-489f-a78f-de67afc013a7),
  53. pointer_default(unique)
  54. ]
  55. interface ITfSpeechUIServer : IUnknown
  56. {
  57. HRESULT Initialize();
  58. HRESULT ShowUI([in] BOOL fShow);
  59. HRESULT UpdateBalloon([in] TfLBBalloonStyle style,
  60. [in, size_is(cch)] const WCHAR *pch,
  61. [in] ULONG cch);
  62. }
  63. // =-------------------------------------------------------------------------=
  64. //
  65. // C L S I D / I I D D E F I N I T I O N
  66. //
  67. // =-------------------------------------------------------------------------=
  68. cpp_quote("")
  69. cpp_quote("DEFINE_GUID(IID_ITfSpeechUIServer, 0x90e9a944, 0x9244, 0x489f, 0xa7, 0x8f, 0xde, 0x67, 0xaf, 0xc0, 0x13, 0xa7 );")
  70. cpp_quote("")
  71. cpp_quote("#endif // CTFSPUI_DEFINED")