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.

99 lines
2.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-1997.
  5. //
  6. // File: aimmex.idl
  7. //
  8. // Contents: ActiveIMMEx interface definitions
  9. //
  10. //
  11. //--------------------------------------------------------------------------
  12. cpp_quote("//=--------------------------------------------------------------------------=")
  13. cpp_quote("// aimmex.h")
  14. cpp_quote("//=--------------------------------------------------------------------------=")
  15. cpp_quote("// (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.")
  16. cpp_quote("//")
  17. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  18. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  19. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  20. cpp_quote("// PARTICULAR PURPOSE.")
  21. cpp_quote("//=--------------------------------------------------------------------------=")
  22. cpp_quote("")
  23. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  24. cpp_quote("")
  25. cpp_quote("//--------------------------------------------------------------------------")
  26. cpp_quote("// IActiveIMMEx Interfaces.")
  27. cpp_quote("")
  28. #ifndef DO_NO_IMPORTS
  29. import "unknwn.idl";
  30. import "oaidl.idl";
  31. import "aimm12.idl";
  32. import "msctf.idl";
  33. #endif
  34. //
  35. // IActiveIMMAppEx
  36. //
  37. [
  38. local,
  39. object,
  40. uuid(D7A6F58A-D478-44ab-86C9-591C23A26534),
  41. pointer_default(unique)
  42. ]
  43. interface IActiveIMMAppEx : IActiveIMMApp
  44. {
  45. HRESULT FilterClientWindowsEx([in] HWND hWnd, [in] BOOL fGuidMap);
  46. HRESULT FilterClientWindowsGUIDMap([in] ATOM *aaClassList, [in] UINT uSize, [in] BOOL *aaGildMap);
  47. HRESULT GetGuidAtom([in] HIMC hImc, [in] BYTE bAttr, [out] TfGuidAtom *pGuidAtom);
  48. HRESULT UnfilterClientWindowsEx([in] HWND hWnd);
  49. }
  50. //
  51. // IAImmFnDocFeed
  52. //
  53. cpp_quote("EXTERN_C const CLSID CLSID_CAImmLayer;")
  54. [
  55. local,
  56. object,
  57. uuid(6e098993-9577-499a-a830-52344f3e200d),
  58. pointer_default(unique)
  59. ]
  60. interface IAImmFnDocFeed : IUnknown
  61. {
  62. HRESULT DocFeed();
  63. HRESULT ClearDocFeedBuffer();
  64. HRESULT StartReconvert();
  65. HRESULT StartUndoCompositionString();
  66. }
  67. //
  68. // IAImmThreadCompartment
  69. //
  70. [
  71. local,
  72. object,
  73. uuid(d251a968-2b44-4da5-a549-c1249ef01711),
  74. pointer_default(unique)
  75. ]
  76. interface IAImmThreadCompartment : IUnknown
  77. {
  78. HRESULT SetThreadCompartmentValue([in] REFGUID rguid, [in] VARIANT *pvar);
  79. HRESULT GetThreadCompartmentValue([in] REFGUID rguid, [out] VARIANT *pvar);
  80. }