|
|
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992-2000. // // File: msuimw32.idl // // Contents: Win32 Layer interface definitions // // //--------------------------------------------------------------------------
cpp_quote("//=--------------------------------------------------------------------------=") cpp_quote("// msuimw32.h") cpp_quote("//=--------------------------------------------------------------------------=") cpp_quote("// (C) Copyright 1995-2000 Microsoft Corporation. All Rights Reserved.") cpp_quote("//") cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF") cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO") cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A") cpp_quote("// PARTICULAR PURPOSE.") cpp_quote("//=--------------------------------------------------------------------------=") cpp_quote("") cpp_quote("#pragma comment(lib,\"uuid.lib\")") cpp_quote("") cpp_quote("//--------------------------------------------------------------------------") cpp_quote("// Win32 Layer Semi Private Interfaces.") cpp_quote("")
#ifndef DO_NO_IMPORTS import "unknwn.idl"; import "msctf.idl"; import "aimmp.idl"; #endif
// // ACTIVE IME library defines below //
// {B2AA53DF-21AB-40f2-B386-ED048CFC1C9D} // static const GUID <<name>> = // { 0xB2AA53DF, 0x21AB, 0x40f2, { 0xB3, 0x86, 0xED, 0x04, 0x8C, 0xFC, 0x1C, 0x9D } };
cpp_quote("#if 0") cpp_quote("#endif")
[ local, object, uuid(B2AA53DF-21AB-40f2-B386-ED048CFC1C9D), pointer_default(unique) ] interface IAImeProfile : IUnknown { HRESULT Activate(void);
HRESULT Deactivate(void);
HRESULT ChangeCurrentKeyboardLayout(HKL hKL);
HRESULT GetLangId(LANGID* plid);
HRESULT GetCodePageA(UINT* puCodePage);
HRESULT GetKeyboardLayout(HKL* phkl);
HRESULT IsIME(HKL hKL);
HRESULT GetActiveLanguageProfile([in] HKL hKL, [in] GUID catid, [out] TF_LANGUAGEPROFILE* pLanguageProfile); }
// // ACTIVE IME context library //
// {5F5B4ACB-D55D-492c-B596-F6390E1AD798} // static const GUID <<name>> = // { 0x5F5B4ACB, 0xD55D, 0x492c, { 0xB5, 0x96, 0xF6, 0x39, 0x0E, 0x1A, 0xD7, 0x98 } };
cpp_quote("#if 0") cpp_quote("#endif")
[ local, object, uuid(5F5B4ACB-D55D-492c-B596-F6390E1AD798), pointer_default(unique) ] interface IAImeContext : IUnknown { HRESULT CreateAImeContext(HIMC hIMC, IActiveIME_Private* pActiveIME);
HRESULT DestroyAImeContext(HIMC hIMC);
HRESULT UpdateAImeContext(HIMC hIMC);
// HRESULT AssociateFocus(HIMC hIMC, BOOL fActive);
HRESULT MapAttributes(HIMC hIMC); HRESULT GetGuidAtom(HIMC hIMC, BYTE bAttr, TfGuidAtom* pGuidAtom); }
|