Dimm.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:206k
源码类别:

模拟服务器

开发平台:

C/C++

  1.             /* [out] */ UINT *puCopied) = 0;
  2.         
  3.         virtual HRESULT STDMETHODCALLTYPE GetDescriptionW( 
  4.             /* [in] */ HKL hKL,
  5.             /* [in] */ UINT uBufLen,
  6.             /* [out] */ LPWSTR szDescription,
  7.             /* [out] */ UINT *puCopied) = 0;
  8.         
  9.         virtual HRESULT STDMETHODCALLTYPE GetGuideLineA( 
  10.             /* [in] */ HIMC hIMC,
  11.             /* [in] */ DWORD dwIndex,
  12.             /* [in] */ DWORD dwBufLen,
  13.             /* [out] */ LPSTR pBuf,
  14.             /* [out] */ DWORD *pdwResult) = 0;
  15.         
  16.         virtual HRESULT STDMETHODCALLTYPE GetGuideLineW( 
  17.             /* [in] */ HIMC hIMC,
  18.             /* [in] */ DWORD dwIndex,
  19.             /* [in] */ DWORD dwBufLen,
  20.             /* [out] */ LPWSTR pBuf,
  21.             /* [out] */ DWORD *pdwResult) = 0;
  22.         
  23.         virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameA( 
  24.             /* [in] */ HKL hKL,
  25.             /* [in] */ UINT uBufLen,
  26.             /* [out] */ LPSTR szFileName,
  27.             /* [out] */ UINT *puCopied) = 0;
  28.         
  29.         virtual HRESULT STDMETHODCALLTYPE GetIMEFileNameW( 
  30.             /* [in] */ HKL hKL,
  31.             /* [in] */ UINT uBufLen,
  32.             /* [out] */ LPWSTR szFileName,
  33.             /* [out] */ UINT *puCopied) = 0;
  34.         
  35.         virtual HRESULT STDMETHODCALLTYPE GetOpenStatus( 
  36.             /* [in] */ HIMC hIMC) = 0;
  37.         
  38.         virtual HRESULT STDMETHODCALLTYPE GetProperty( 
  39.             /* [in] */ HKL hKL,
  40.             /* [in] */ DWORD fdwIndex,
  41.             /* [out] */ DWORD *pdwProperty) = 0;
  42.         
  43.         virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleA( 
  44.             /* [in] */ HKL hKL,
  45.             /* [in] */ UINT nItem,
  46.             /* [out] */ STYLEBUFA *pStyleBuf,
  47.             /* [out] */ UINT *puCopied) = 0;
  48.         
  49.         virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyleW( 
  50.             /* [in] */ HKL hKL,
  51.             /* [in] */ UINT nItem,
  52.             /* [out] */ STYLEBUFW *pStyleBuf,
  53.             /* [out] */ UINT *puCopied) = 0;
  54.         
  55.         virtual HRESULT STDMETHODCALLTYPE GetStatusWindowPos( 
  56.             /* [in] */ HIMC hIMC,
  57.             /* [out] */ POINT *pptPos) = 0;
  58.         
  59.         virtual HRESULT STDMETHODCALLTYPE GetVirtualKey( 
  60.             /* [in] */ HWND hWnd,
  61.             /* [out] */ UINT *puVirtualKey) = 0;
  62.         
  63.         virtual HRESULT STDMETHODCALLTYPE InstallIMEA( 
  64.             /* [in] */ LPSTR szIMEFileName,
  65.             /* [in] */ LPSTR szLayoutText,
  66.             /* [out] */ HKL *phKL) = 0;
  67.         
  68.         virtual HRESULT STDMETHODCALLTYPE InstallIMEW( 
  69.             /* [in] */ LPWSTR szIMEFileName,
  70.             /* [in] */ LPWSTR szLayoutText,
  71.             /* [out] */ HKL *phKL) = 0;
  72.         
  73.         virtual HRESULT STDMETHODCALLTYPE IsIME( 
  74.             /* [in] */ HKL hKL) = 0;
  75.         
  76.         virtual HRESULT STDMETHODCALLTYPE IsUIMessageA( 
  77.             /* [in] */ HWND hWndIME,
  78.             /* [in] */ UINT msg,
  79.             /* [in] */ WPARAM wParam,
  80.             /* [in] */ LPARAM lParam) = 0;
  81.         
  82.         virtual HRESULT STDMETHODCALLTYPE IsUIMessageW( 
  83.             /* [in] */ HWND hWndIME,
  84.             /* [in] */ UINT msg,
  85.             /* [in] */ WPARAM wParam,
  86.             /* [in] */ LPARAM lParam) = 0;
  87.         
  88.         virtual HRESULT STDMETHODCALLTYPE NotifyIME( 
  89.             /* [in] */ HIMC hIMC,
  90.             /* [in] */ DWORD dwAction,
  91.             /* [in] */ DWORD dwIndex,
  92.             /* [in] */ DWORD dwValue) = 0;
  93.         
  94.         virtual HRESULT STDMETHODCALLTYPE RegisterWordA( 
  95.             /* [in] */ HKL hKL,
  96.             /* [in] */ LPSTR szReading,
  97.             /* [in] */ DWORD dwStyle,
  98.             /* [in] */ LPSTR szRegister) = 0;
  99.         
  100.         virtual HRESULT STDMETHODCALLTYPE RegisterWordW( 
  101.             /* [in] */ HKL hKL,
  102.             /* [in] */ LPWSTR szReading,
  103.             /* [in] */ DWORD dwStyle,
  104.             /* [in] */ LPWSTR szRegister) = 0;
  105.         
  106.         virtual HRESULT STDMETHODCALLTYPE ReleaseContext( 
  107.             /* [in] */ HWND hWnd,
  108.             /* [in] */ HIMC hIMC) = 0;
  109.         
  110.         virtual HRESULT STDMETHODCALLTYPE SetCandidateWindow( 
  111.             /* [in] */ HIMC hIMC,
  112.             /* [in] */ CANDIDATEFORM *pCandidate) = 0;
  113.         
  114.         virtual HRESULT STDMETHODCALLTYPE SetCompositionFontA( 
  115.             /* [in] */ HIMC hIMC,
  116.             /* [in] */ LOGFONTA *plf) = 0;
  117.         
  118.         virtual HRESULT STDMETHODCALLTYPE SetCompositionFontW( 
  119.             /* [in] */ HIMC hIMC,
  120.             /* [in] */ LOGFONTW *plf) = 0;
  121.         
  122.         virtual HRESULT STDMETHODCALLTYPE SetCompositionStringA( 
  123.             /* [in] */ HIMC hIMC,
  124.             /* [in] */ DWORD dwIndex,
  125.             /* [in] */ LPVOID pComp,
  126.             /* [in] */ DWORD dwCompLen,
  127.             /* [in] */ LPVOID pRead,
  128.             /* [in] */ DWORD dwReadLen) = 0;
  129.         
  130.         virtual HRESULT STDMETHODCALLTYPE SetCompositionStringW( 
  131.             /* [in] */ HIMC hIMC,
  132.             /* [in] */ DWORD dwIndex,
  133.             /* [in] */ LPVOID pComp,
  134.             /* [in] */ DWORD dwCompLen,
  135.             /* [in] */ LPVOID pRead,
  136.             /* [in] */ DWORD dwReadLen) = 0;
  137.         
  138.         virtual HRESULT STDMETHODCALLTYPE SetCompositionWindow( 
  139.             /* [in] */ HIMC hIMC,
  140.             /* [in] */ COMPOSITIONFORM *pCompForm) = 0;
  141.         
  142.         virtual HRESULT STDMETHODCALLTYPE SetConversionStatus( 
  143.             /* [in] */ HIMC hIMC,
  144.             /* [in] */ DWORD fdwConversion,
  145.             /* [in] */ DWORD fdwSentence) = 0;
  146.         
  147.         virtual HRESULT STDMETHODCALLTYPE SetOpenStatus( 
  148.             /* [in] */ HIMC hIMC,
  149.             /* [in] */ BOOL fOpen) = 0;
  150.         
  151.         virtual HRESULT STDMETHODCALLTYPE SetStatusWindowPos( 
  152.             /* [in] */ HIMC hIMC,
  153.             /* [in] */ POINT *pptPos) = 0;
  154.         
  155.         virtual HRESULT STDMETHODCALLTYPE SimulateHotKey( 
  156.             /* [in] */ HWND hWnd,
  157.             /* [in] */ DWORD dwHotKeyID) = 0;
  158.         
  159.         virtual HRESULT STDMETHODCALLTYPE UnregisterWordA( 
  160.             /* [in] */ HKL hKL,
  161.             /* [in] */ LPSTR szReading,
  162.             /* [in] */ DWORD dwStyle,
  163.             /* [in] */ LPSTR szUnregister) = 0;
  164.         
  165.         virtual HRESULT STDMETHODCALLTYPE UnregisterWordW( 
  166.             /* [in] */ HKL hKL,
  167.             /* [in] */ LPWSTR szReading,
  168.             /* [in] */ DWORD dwStyle,
  169.             /* [in] */ LPWSTR szUnregister) = 0;
  170.         
  171.         virtual HRESULT STDMETHODCALLTYPE GenerateMessage( 
  172.             /* [in] */ HIMC hIMC) = 0;
  173.         
  174.         virtual HRESULT STDMETHODCALLTYPE LockIMC( 
  175.             /* [in] */ HIMC hIMC,
  176.             /* [out] */ INPUTCONTEXT **ppIMC) = 0;
  177.         
  178.         virtual HRESULT STDMETHODCALLTYPE UnlockIMC( 
  179.             /* [in] */ HIMC hIMC) = 0;
  180.         
  181.         virtual HRESULT STDMETHODCALLTYPE GetIMCLockCount( 
  182.             /* [in] */ HIMC hIMC,
  183.             /* [out] */ DWORD *pdwLockCount) = 0;
  184.         
  185.         virtual HRESULT STDMETHODCALLTYPE CreateIMCC( 
  186.             /* [in] */ DWORD dwSize,
  187.             /* [out] */ HIMCC *phIMCC) = 0;
  188.         
  189.         virtual HRESULT STDMETHODCALLTYPE DestroyIMCC( 
  190.             /* [in] */ HIMCC hIMCC) = 0;
  191.         
  192.         virtual HRESULT STDMETHODCALLTYPE LockIMCC( 
  193.             /* [in] */ HIMCC hIMCC,
  194.             /* [out] */ void **ppv) = 0;
  195.         
  196.         virtual HRESULT STDMETHODCALLTYPE UnlockIMCC( 
  197.             /* [in] */ HIMCC hIMCC) = 0;
  198.         
  199.         virtual HRESULT STDMETHODCALLTYPE ReSizeIMCC( 
  200.             /* [in] */ HIMCC hIMCC,
  201.             /* [in] */ DWORD dwSize,
  202.             /* [out] */ HIMCC *phIMCC) = 0;
  203.         
  204.         virtual HRESULT STDMETHODCALLTYPE GetIMCCSize( 
  205.             /* [in] */ HIMCC hIMCC,
  206.             /* [out] */ DWORD *pdwSize) = 0;
  207.         
  208.         virtual HRESULT STDMETHODCALLTYPE GetIMCCLockCount( 
  209.             /* [in] */ HIMCC hIMCC,
  210.             /* [out] */ DWORD *pdwLockCount) = 0;
  211.         
  212.         virtual HRESULT STDMETHODCALLTYPE GetHotKey( 
  213.             /* [in] */ DWORD dwHotKeyID,
  214.             /* [out] */ UINT *puModifiers,
  215.             /* [out] */ UINT *puVKey,
  216.             /* [out] */ HKL *phKL) = 0;
  217.         
  218.         virtual HRESULT STDMETHODCALLTYPE SetHotKey( 
  219.             /* [in] */ DWORD dwHotKeyID,
  220.             /* [in] */ UINT uModifiers,
  221.             /* [in] */ UINT uVKey,
  222.             /* [in] */ HKL hKL) = 0;
  223.         
  224.         virtual HRESULT STDMETHODCALLTYPE CreateSoftKeyboard( 
  225.             /* [in] */ UINT uType,
  226.             /* [in] */ HWND hOwner,
  227.             /* [in] */ int x,
  228.             /* [in] */ int y,
  229.             /* [out] */ HWND *phSoftKbdWnd) = 0;
  230.         
  231.         virtual HRESULT STDMETHODCALLTYPE DestroySoftKeyboard( 
  232.             /* [in] */ HWND hSoftKbdWnd) = 0;
  233.         
  234.         virtual HRESULT STDMETHODCALLTYPE ShowSoftKeyboard( 
  235.             /* [in] */ HWND hSoftKbdWnd,
  236.             /* [in] */ int nCmdShow) = 0;
  237.         
  238.         virtual HRESULT STDMETHODCALLTYPE GetCodePageA( 
  239.             /* [in] */ HKL hKL,
  240.             /* [out] */ UINT *uCodePage) = 0;
  241.         
  242.         virtual HRESULT STDMETHODCALLTYPE GetLangId( 
  243.             /* [in] */ HKL hKL,
  244.             /* [out] */ LANGID *plid) = 0;
  245.         
  246.         virtual HRESULT STDMETHODCALLTYPE KeybdEvent( 
  247.             /* [in] */ LANGID lgidIME,
  248.             /* [in] */ BYTE bVk,
  249.             /* [in] */ BYTE bScan,
  250.             /* [in] */ DWORD dwFlags,
  251.             /* [in] */ DWORD dwExtraInfo) = 0;
  252.         
  253.         virtual HRESULT STDMETHODCALLTYPE LockModal( void) = 0;
  254.         
  255.         virtual HRESULT STDMETHODCALLTYPE UnlockModal( void) = 0;
  256.         
  257.         virtual HRESULT STDMETHODCALLTYPE AssociateContextEx( 
  258.             /* [in] */ HWND hWnd,
  259.             /* [in] */ HIMC hIMC,
  260.             /* [in] */ DWORD dwFlags) = 0;
  261.         
  262.         virtual HRESULT STDMETHODCALLTYPE DisableIME( 
  263.             /* [in] */ DWORD idThread) = 0;
  264.         
  265.         virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsA( 
  266.             /* [in] */ HIMC hIMC,
  267.             /* [in] */ DWORD dwFlags,
  268.             /* [in] */ DWORD dwType,
  269.             /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  270.             /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  271.             /* [in] */ DWORD dwSize,
  272.             /* [out] */ DWORD *pdwResult) = 0;
  273.         
  274.         virtual HRESULT STDMETHODCALLTYPE GetImeMenuItemsW( 
  275.             /* [in] */ HIMC hIMC,
  276.             /* [in] */ DWORD dwFlags,
  277.             /* [in] */ DWORD dwType,
  278.             /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  279.             /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  280.             /* [in] */ DWORD dwSize,
  281.             /* [out] */ DWORD *pdwResult) = 0;
  282.         
  283.         virtual HRESULT STDMETHODCALLTYPE EnumInputContext( 
  284.             /* [in] */ DWORD idThread,
  285.             /* [out] */ IEnumInputContext **ppEnum) = 0;
  286.         
  287.         virtual HRESULT STDMETHODCALLTYPE RequestMessageA( 
  288.             /* [in] */ HIMC hIMC,
  289.             /* [in] */ WPARAM wParam,
  290.             /* [in] */ LPARAM lParam,
  291.             /* [out] */ LRESULT *plResult) = 0;
  292.         
  293.         virtual HRESULT STDMETHODCALLTYPE RequestMessageW( 
  294.             /* [in] */ HIMC hIMC,
  295.             /* [in] */ WPARAM wParam,
  296.             /* [in] */ LPARAM lParam,
  297.             /* [out] */ LRESULT *plResult) = 0;
  298.         
  299.         virtual HRESULT STDMETHODCALLTYPE SendIMCA( 
  300.             /* [in] */ HWND hWnd,
  301.             /* [in] */ UINT uMsg,
  302.             /* [in] */ WPARAM wParam,
  303.             /* [in] */ LPARAM lParam,
  304.             /* [out] */ LRESULT *plResult) = 0;
  305.         
  306.         virtual HRESULT STDMETHODCALLTYPE SendIMCW( 
  307.             /* [in] */ HWND hWnd,
  308.             /* [in] */ UINT uMsg,
  309.             /* [in] */ WPARAM wParam,
  310.             /* [in] */ LPARAM lParam,
  311.             /* [out] */ LRESULT *plResult) = 0;
  312.         
  313.         virtual HRESULT STDMETHODCALLTYPE IsSleeping( void) = 0;
  314.         
  315.     };
  316.     
  317. #else  /* C style interface */
  318.     typedef struct IActiveIMMIMEVtbl
  319.     {
  320.         BEGIN_INTERFACE
  321.         
  322.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  323.             IActiveIMMIME * This,
  324.             /* [in] */ REFIID riid,
  325.             /* [iid_is][out] */ void **ppvObject);
  326.         
  327.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  328.             IActiveIMMIME * This);
  329.         
  330.         ULONG ( STDMETHODCALLTYPE *Release )( 
  331.             IActiveIMMIME * This);
  332.         
  333.         HRESULT ( STDMETHODCALLTYPE *AssociateContext )( 
  334.             IActiveIMMIME * This,
  335.             /* [in] */ HWND hWnd,
  336.             /* [in] */ HIMC hIME,
  337.             /* [out] */ HIMC *phPrev);
  338.         
  339.         HRESULT ( STDMETHODCALLTYPE *ConfigureIMEA )( 
  340.             IActiveIMMIME * This,
  341.             /* [in] */ HKL hKL,
  342.             /* [in] */ HWND hWnd,
  343.             /* [in] */ DWORD dwMode,
  344.             /* [in] */ REGISTERWORDA *pData);
  345.         
  346.         HRESULT ( STDMETHODCALLTYPE *ConfigureIMEW )( 
  347.             IActiveIMMIME * This,
  348.             /* [in] */ HKL hKL,
  349.             /* [in] */ HWND hWnd,
  350.             /* [in] */ DWORD dwMode,
  351.             /* [in] */ REGISTERWORDW *pData);
  352.         
  353.         HRESULT ( STDMETHODCALLTYPE *CreateContext )( 
  354.             IActiveIMMIME * This,
  355.             /* [out] */ HIMC *phIMC);
  356.         
  357.         HRESULT ( STDMETHODCALLTYPE *DestroyContext )( 
  358.             IActiveIMMIME * This,
  359.             /* [in] */ HIMC hIME);
  360.         
  361.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordA )( 
  362.             IActiveIMMIME * This,
  363.             /* [in] */ HKL hKL,
  364.             /* [in] */ LPSTR szReading,
  365.             /* [in] */ DWORD dwStyle,
  366.             /* [in] */ LPSTR szRegister,
  367.             /* [in] */ LPVOID pData,
  368.             /* [out] */ IEnumRegisterWordA **pEnum);
  369.         
  370.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWordW )( 
  371.             IActiveIMMIME * This,
  372.             /* [in] */ HKL hKL,
  373.             /* [in] */ LPWSTR szReading,
  374.             /* [in] */ DWORD dwStyle,
  375.             /* [in] */ LPWSTR szRegister,
  376.             /* [in] */ LPVOID pData,
  377.             /* [out] */ IEnumRegisterWordW **pEnum);
  378.         
  379.         HRESULT ( STDMETHODCALLTYPE *EscapeA )( 
  380.             IActiveIMMIME * This,
  381.             /* [in] */ HKL hKL,
  382.             /* [in] */ HIMC hIMC,
  383.             /* [in] */ UINT uEscape,
  384.             /* [out][in] */ LPVOID pData,
  385.             /* [out] */ LRESULT *plResult);
  386.         
  387.         HRESULT ( STDMETHODCALLTYPE *EscapeW )( 
  388.             IActiveIMMIME * This,
  389.             /* [in] */ HKL hKL,
  390.             /* [in] */ HIMC hIMC,
  391.             /* [in] */ UINT uEscape,
  392.             /* [out][in] */ LPVOID pData,
  393.             /* [out] */ LRESULT *plResult);
  394.         
  395.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListA )( 
  396.             IActiveIMMIME * This,
  397.             /* [in] */ HIMC hIMC,
  398.             /* [in] */ DWORD dwIndex,
  399.             /* [in] */ UINT uBufLen,
  400.             /* [out] */ CANDIDATELIST *pCandList,
  401.             /* [out] */ UINT *puCopied);
  402.         
  403.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListW )( 
  404.             IActiveIMMIME * This,
  405.             /* [in] */ HIMC hIMC,
  406.             /* [in] */ DWORD dwIndex,
  407.             /* [in] */ UINT uBufLen,
  408.             /* [out] */ CANDIDATELIST *pCandList,
  409.             /* [out] */ UINT *puCopied);
  410.         
  411.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountA )( 
  412.             IActiveIMMIME * This,
  413.             /* [in] */ HIMC hIMC,
  414.             /* [out] */ DWORD *pdwListSize,
  415.             /* [out] */ DWORD *pdwBufLen);
  416.         
  417.         HRESULT ( STDMETHODCALLTYPE *GetCandidateListCountW )( 
  418.             IActiveIMMIME * This,
  419.             /* [in] */ HIMC hIMC,
  420.             /* [out] */ DWORD *pdwListSize,
  421.             /* [out] */ DWORD *pdwBufLen);
  422.         
  423.         HRESULT ( STDMETHODCALLTYPE *GetCandidateWindow )( 
  424.             IActiveIMMIME * This,
  425.             /* [in] */ HIMC hIMC,
  426.             /* [in] */ DWORD dwIndex,
  427.             /* [out] */ CANDIDATEFORM *pCandidate);
  428.         
  429.         HRESULT ( STDMETHODCALLTYPE *GetCompositionFontA )( 
  430.             IActiveIMMIME * This,
  431.             /* [in] */ HIMC hIMC,
  432.             /* [out] */ LOGFONTA *plf);
  433.         
  434.         HRESULT ( STDMETHODCALLTYPE *GetCompositionFontW )( 
  435.             IActiveIMMIME * This,
  436.             /* [in] */ HIMC hIMC,
  437.             /* [out] */ LOGFONTW *plf);
  438.         
  439.         HRESULT ( STDMETHODCALLTYPE *GetCompositionStringA )( 
  440.             IActiveIMMIME * This,
  441.             /* [in] */ HIMC hIMC,
  442.             /* [in] */ DWORD dwIndex,
  443.             /* [in] */ DWORD dwBufLen,
  444.             /* [out] */ LONG *plCopied,
  445.             /* [out] */ LPVOID pBuf);
  446.         
  447.         HRESULT ( STDMETHODCALLTYPE *GetCompositionStringW )( 
  448.             IActiveIMMIME * This,
  449.             /* [in] */ HIMC hIMC,
  450.             /* [in] */ DWORD dwIndex,
  451.             /* [in] */ DWORD dwBufLen,
  452.             /* [out] */ LONG *plCopied,
  453.             /* [out] */ LPVOID pBuf);
  454.         
  455.         HRESULT ( STDMETHODCALLTYPE *GetCompositionWindow )( 
  456.             IActiveIMMIME * This,
  457.             /* [in] */ HIMC hIMC,
  458.             /* [out] */ COMPOSITIONFORM *pCompForm);
  459.         
  460.         HRESULT ( STDMETHODCALLTYPE *GetContext )( 
  461.             IActiveIMMIME * This,
  462.             /* [in] */ HWND hWnd,
  463.             /* [out] */ HIMC *phIMC);
  464.         
  465.         HRESULT ( STDMETHODCALLTYPE *GetConversionListA )( 
  466.             IActiveIMMIME * This,
  467.             /* [in] */ HKL hKL,
  468.             /* [in] */ HIMC hIMC,
  469.             /* [in] */ LPSTR pSrc,
  470.             /* [in] */ UINT uBufLen,
  471.             /* [in] */ UINT uFlag,
  472.             /* [out] */ CANDIDATELIST *pDst,
  473.             /* [out] */ UINT *puCopied);
  474.         
  475.         HRESULT ( STDMETHODCALLTYPE *GetConversionListW )( 
  476.             IActiveIMMIME * This,
  477.             /* [in] */ HKL hKL,
  478.             /* [in] */ HIMC hIMC,
  479.             /* [in] */ LPWSTR pSrc,
  480.             /* [in] */ UINT uBufLen,
  481.             /* [in] */ UINT uFlag,
  482.             /* [out] */ CANDIDATELIST *pDst,
  483.             /* [out] */ UINT *puCopied);
  484.         
  485.         HRESULT ( STDMETHODCALLTYPE *GetConversionStatus )( 
  486.             IActiveIMMIME * This,
  487.             /* [in] */ HIMC hIMC,
  488.             /* [out] */ DWORD *pfdwConversion,
  489.             /* [out] */ DWORD *pfdwSentence);
  490.         
  491.         HRESULT ( STDMETHODCALLTYPE *GetDefaultIMEWnd )( 
  492.             IActiveIMMIME * This,
  493.             /* [in] */ HWND hWnd,
  494.             /* [out] */ HWND *phDefWnd);
  495.         
  496.         HRESULT ( STDMETHODCALLTYPE *GetDescriptionA )( 
  497.             IActiveIMMIME * This,
  498.             /* [in] */ HKL hKL,
  499.             /* [in] */ UINT uBufLen,
  500.             /* [out] */ LPSTR szDescription,
  501.             /* [out] */ UINT *puCopied);
  502.         
  503.         HRESULT ( STDMETHODCALLTYPE *GetDescriptionW )( 
  504.             IActiveIMMIME * This,
  505.             /* [in] */ HKL hKL,
  506.             /* [in] */ UINT uBufLen,
  507.             /* [out] */ LPWSTR szDescription,
  508.             /* [out] */ UINT *puCopied);
  509.         
  510.         HRESULT ( STDMETHODCALLTYPE *GetGuideLineA )( 
  511.             IActiveIMMIME * This,
  512.             /* [in] */ HIMC hIMC,
  513.             /* [in] */ DWORD dwIndex,
  514.             /* [in] */ DWORD dwBufLen,
  515.             /* [out] */ LPSTR pBuf,
  516.             /* [out] */ DWORD *pdwResult);
  517.         
  518.         HRESULT ( STDMETHODCALLTYPE *GetGuideLineW )( 
  519.             IActiveIMMIME * This,
  520.             /* [in] */ HIMC hIMC,
  521.             /* [in] */ DWORD dwIndex,
  522.             /* [in] */ DWORD dwBufLen,
  523.             /* [out] */ LPWSTR pBuf,
  524.             /* [out] */ DWORD *pdwResult);
  525.         
  526.         HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameA )( 
  527.             IActiveIMMIME * This,
  528.             /* [in] */ HKL hKL,
  529.             /* [in] */ UINT uBufLen,
  530.             /* [out] */ LPSTR szFileName,
  531.             /* [out] */ UINT *puCopied);
  532.         
  533.         HRESULT ( STDMETHODCALLTYPE *GetIMEFileNameW )( 
  534.             IActiveIMMIME * This,
  535.             /* [in] */ HKL hKL,
  536.             /* [in] */ UINT uBufLen,
  537.             /* [out] */ LPWSTR szFileName,
  538.             /* [out] */ UINT *puCopied);
  539.         
  540.         HRESULT ( STDMETHODCALLTYPE *GetOpenStatus )( 
  541.             IActiveIMMIME * This,
  542.             /* [in] */ HIMC hIMC);
  543.         
  544.         HRESULT ( STDMETHODCALLTYPE *GetProperty )( 
  545.             IActiveIMMIME * This,
  546.             /* [in] */ HKL hKL,
  547.             /* [in] */ DWORD fdwIndex,
  548.             /* [out] */ DWORD *pdwProperty);
  549.         
  550.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleA )( 
  551.             IActiveIMMIME * This,
  552.             /* [in] */ HKL hKL,
  553.             /* [in] */ UINT nItem,
  554.             /* [out] */ STYLEBUFA *pStyleBuf,
  555.             /* [out] */ UINT *puCopied);
  556.         
  557.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyleW )( 
  558.             IActiveIMMIME * This,
  559.             /* [in] */ HKL hKL,
  560.             /* [in] */ UINT nItem,
  561.             /* [out] */ STYLEBUFW *pStyleBuf,
  562.             /* [out] */ UINT *puCopied);
  563.         
  564.         HRESULT ( STDMETHODCALLTYPE *GetStatusWindowPos )( 
  565.             IActiveIMMIME * This,
  566.             /* [in] */ HIMC hIMC,
  567.             /* [out] */ POINT *pptPos);
  568.         
  569.         HRESULT ( STDMETHODCALLTYPE *GetVirtualKey )( 
  570.             IActiveIMMIME * This,
  571.             /* [in] */ HWND hWnd,
  572.             /* [out] */ UINT *puVirtualKey);
  573.         
  574.         HRESULT ( STDMETHODCALLTYPE *InstallIMEA )( 
  575.             IActiveIMMIME * This,
  576.             /* [in] */ LPSTR szIMEFileName,
  577.             /* [in] */ LPSTR szLayoutText,
  578.             /* [out] */ HKL *phKL);
  579.         
  580.         HRESULT ( STDMETHODCALLTYPE *InstallIMEW )( 
  581.             IActiveIMMIME * This,
  582.             /* [in] */ LPWSTR szIMEFileName,
  583.             /* [in] */ LPWSTR szLayoutText,
  584.             /* [out] */ HKL *phKL);
  585.         
  586.         HRESULT ( STDMETHODCALLTYPE *IsIME )( 
  587.             IActiveIMMIME * This,
  588.             /* [in] */ HKL hKL);
  589.         
  590.         HRESULT ( STDMETHODCALLTYPE *IsUIMessageA )( 
  591.             IActiveIMMIME * This,
  592.             /* [in] */ HWND hWndIME,
  593.             /* [in] */ UINT msg,
  594.             /* [in] */ WPARAM wParam,
  595.             /* [in] */ LPARAM lParam);
  596.         
  597.         HRESULT ( STDMETHODCALLTYPE *IsUIMessageW )( 
  598.             IActiveIMMIME * This,
  599.             /* [in] */ HWND hWndIME,
  600.             /* [in] */ UINT msg,
  601.             /* [in] */ WPARAM wParam,
  602.             /* [in] */ LPARAM lParam);
  603.         
  604.         HRESULT ( STDMETHODCALLTYPE *NotifyIME )( 
  605.             IActiveIMMIME * This,
  606.             /* [in] */ HIMC hIMC,
  607.             /* [in] */ DWORD dwAction,
  608.             /* [in] */ DWORD dwIndex,
  609.             /* [in] */ DWORD dwValue);
  610.         
  611.         HRESULT ( STDMETHODCALLTYPE *RegisterWordA )( 
  612.             IActiveIMMIME * This,
  613.             /* [in] */ HKL hKL,
  614.             /* [in] */ LPSTR szReading,
  615.             /* [in] */ DWORD dwStyle,
  616.             /* [in] */ LPSTR szRegister);
  617.         
  618.         HRESULT ( STDMETHODCALLTYPE *RegisterWordW )( 
  619.             IActiveIMMIME * This,
  620.             /* [in] */ HKL hKL,
  621.             /* [in] */ LPWSTR szReading,
  622.             /* [in] */ DWORD dwStyle,
  623.             /* [in] */ LPWSTR szRegister);
  624.         
  625.         HRESULT ( STDMETHODCALLTYPE *ReleaseContext )( 
  626.             IActiveIMMIME * This,
  627.             /* [in] */ HWND hWnd,
  628.             /* [in] */ HIMC hIMC);
  629.         
  630.         HRESULT ( STDMETHODCALLTYPE *SetCandidateWindow )( 
  631.             IActiveIMMIME * This,
  632.             /* [in] */ HIMC hIMC,
  633.             /* [in] */ CANDIDATEFORM *pCandidate);
  634.         
  635.         HRESULT ( STDMETHODCALLTYPE *SetCompositionFontA )( 
  636.             IActiveIMMIME * This,
  637.             /* [in] */ HIMC hIMC,
  638.             /* [in] */ LOGFONTA *plf);
  639.         
  640.         HRESULT ( STDMETHODCALLTYPE *SetCompositionFontW )( 
  641.             IActiveIMMIME * This,
  642.             /* [in] */ HIMC hIMC,
  643.             /* [in] */ LOGFONTW *plf);
  644.         
  645.         HRESULT ( STDMETHODCALLTYPE *SetCompositionStringA )( 
  646.             IActiveIMMIME * This,
  647.             /* [in] */ HIMC hIMC,
  648.             /* [in] */ DWORD dwIndex,
  649.             /* [in] */ LPVOID pComp,
  650.             /* [in] */ DWORD dwCompLen,
  651.             /* [in] */ LPVOID pRead,
  652.             /* [in] */ DWORD dwReadLen);
  653.         
  654.         HRESULT ( STDMETHODCALLTYPE *SetCompositionStringW )( 
  655.             IActiveIMMIME * This,
  656.             /* [in] */ HIMC hIMC,
  657.             /* [in] */ DWORD dwIndex,
  658.             /* [in] */ LPVOID pComp,
  659.             /* [in] */ DWORD dwCompLen,
  660.             /* [in] */ LPVOID pRead,
  661.             /* [in] */ DWORD dwReadLen);
  662.         
  663.         HRESULT ( STDMETHODCALLTYPE *SetCompositionWindow )( 
  664.             IActiveIMMIME * This,
  665.             /* [in] */ HIMC hIMC,
  666.             /* [in] */ COMPOSITIONFORM *pCompForm);
  667.         
  668.         HRESULT ( STDMETHODCALLTYPE *SetConversionStatus )( 
  669.             IActiveIMMIME * This,
  670.             /* [in] */ HIMC hIMC,
  671.             /* [in] */ DWORD fdwConversion,
  672.             /* [in] */ DWORD fdwSentence);
  673.         
  674.         HRESULT ( STDMETHODCALLTYPE *SetOpenStatus )( 
  675.             IActiveIMMIME * This,
  676.             /* [in] */ HIMC hIMC,
  677.             /* [in] */ BOOL fOpen);
  678.         
  679.         HRESULT ( STDMETHODCALLTYPE *SetStatusWindowPos )( 
  680.             IActiveIMMIME * This,
  681.             /* [in] */ HIMC hIMC,
  682.             /* [in] */ POINT *pptPos);
  683.         
  684.         HRESULT ( STDMETHODCALLTYPE *SimulateHotKey )( 
  685.             IActiveIMMIME * This,
  686.             /* [in] */ HWND hWnd,
  687.             /* [in] */ DWORD dwHotKeyID);
  688.         
  689.         HRESULT ( STDMETHODCALLTYPE *UnregisterWordA )( 
  690.             IActiveIMMIME * This,
  691.             /* [in] */ HKL hKL,
  692.             /* [in] */ LPSTR szReading,
  693.             /* [in] */ DWORD dwStyle,
  694.             /* [in] */ LPSTR szUnregister);
  695.         
  696.         HRESULT ( STDMETHODCALLTYPE *UnregisterWordW )( 
  697.             IActiveIMMIME * This,
  698.             /* [in] */ HKL hKL,
  699.             /* [in] */ LPWSTR szReading,
  700.             /* [in] */ DWORD dwStyle,
  701.             /* [in] */ LPWSTR szUnregister);
  702.         
  703.         HRESULT ( STDMETHODCALLTYPE *GenerateMessage )( 
  704.             IActiveIMMIME * This,
  705.             /* [in] */ HIMC hIMC);
  706.         
  707.         HRESULT ( STDMETHODCALLTYPE *LockIMC )( 
  708.             IActiveIMMIME * This,
  709.             /* [in] */ HIMC hIMC,
  710.             /* [out] */ INPUTCONTEXT **ppIMC);
  711.         
  712.         HRESULT ( STDMETHODCALLTYPE *UnlockIMC )( 
  713.             IActiveIMMIME * This,
  714.             /* [in] */ HIMC hIMC);
  715.         
  716.         HRESULT ( STDMETHODCALLTYPE *GetIMCLockCount )( 
  717.             IActiveIMMIME * This,
  718.             /* [in] */ HIMC hIMC,
  719.             /* [out] */ DWORD *pdwLockCount);
  720.         
  721.         HRESULT ( STDMETHODCALLTYPE *CreateIMCC )( 
  722.             IActiveIMMIME * This,
  723.             /* [in] */ DWORD dwSize,
  724.             /* [out] */ HIMCC *phIMCC);
  725.         
  726.         HRESULT ( STDMETHODCALLTYPE *DestroyIMCC )( 
  727.             IActiveIMMIME * This,
  728.             /* [in] */ HIMCC hIMCC);
  729.         
  730.         HRESULT ( STDMETHODCALLTYPE *LockIMCC )( 
  731.             IActiveIMMIME * This,
  732.             /* [in] */ HIMCC hIMCC,
  733.             /* [out] */ void **ppv);
  734.         
  735.         HRESULT ( STDMETHODCALLTYPE *UnlockIMCC )( 
  736.             IActiveIMMIME * This,
  737.             /* [in] */ HIMCC hIMCC);
  738.         
  739.         HRESULT ( STDMETHODCALLTYPE *ReSizeIMCC )( 
  740.             IActiveIMMIME * This,
  741.             /* [in] */ HIMCC hIMCC,
  742.             /* [in] */ DWORD dwSize,
  743.             /* [out] */ HIMCC *phIMCC);
  744.         
  745.         HRESULT ( STDMETHODCALLTYPE *GetIMCCSize )( 
  746.             IActiveIMMIME * This,
  747.             /* [in] */ HIMCC hIMCC,
  748.             /* [out] */ DWORD *pdwSize);
  749.         
  750.         HRESULT ( STDMETHODCALLTYPE *GetIMCCLockCount )( 
  751.             IActiveIMMIME * This,
  752.             /* [in] */ HIMCC hIMCC,
  753.             /* [out] */ DWORD *pdwLockCount);
  754.         
  755.         HRESULT ( STDMETHODCALLTYPE *GetHotKey )( 
  756.             IActiveIMMIME * This,
  757.             /* [in] */ DWORD dwHotKeyID,
  758.             /* [out] */ UINT *puModifiers,
  759.             /* [out] */ UINT *puVKey,
  760.             /* [out] */ HKL *phKL);
  761.         
  762.         HRESULT ( STDMETHODCALLTYPE *SetHotKey )( 
  763.             IActiveIMMIME * This,
  764.             /* [in] */ DWORD dwHotKeyID,
  765.             /* [in] */ UINT uModifiers,
  766.             /* [in] */ UINT uVKey,
  767.             /* [in] */ HKL hKL);
  768.         
  769.         HRESULT ( STDMETHODCALLTYPE *CreateSoftKeyboard )( 
  770.             IActiveIMMIME * This,
  771.             /* [in] */ UINT uType,
  772.             /* [in] */ HWND hOwner,
  773.             /* [in] */ int x,
  774.             /* [in] */ int y,
  775.             /* [out] */ HWND *phSoftKbdWnd);
  776.         
  777.         HRESULT ( STDMETHODCALLTYPE *DestroySoftKeyboard )( 
  778.             IActiveIMMIME * This,
  779.             /* [in] */ HWND hSoftKbdWnd);
  780.         
  781.         HRESULT ( STDMETHODCALLTYPE *ShowSoftKeyboard )( 
  782.             IActiveIMMIME * This,
  783.             /* [in] */ HWND hSoftKbdWnd,
  784.             /* [in] */ int nCmdShow);
  785.         
  786.         HRESULT ( STDMETHODCALLTYPE *GetCodePageA )( 
  787.             IActiveIMMIME * This,
  788.             /* [in] */ HKL hKL,
  789.             /* [out] */ UINT *uCodePage);
  790.         
  791.         HRESULT ( STDMETHODCALLTYPE *GetLangId )( 
  792.             IActiveIMMIME * This,
  793.             /* [in] */ HKL hKL,
  794.             /* [out] */ LANGID *plid);
  795.         
  796.         HRESULT ( STDMETHODCALLTYPE *KeybdEvent )( 
  797.             IActiveIMMIME * This,
  798.             /* [in] */ LANGID lgidIME,
  799.             /* [in] */ BYTE bVk,
  800.             /* [in] */ BYTE bScan,
  801.             /* [in] */ DWORD dwFlags,
  802.             /* [in] */ DWORD dwExtraInfo);
  803.         
  804.         HRESULT ( STDMETHODCALLTYPE *LockModal )( 
  805.             IActiveIMMIME * This);
  806.         
  807.         HRESULT ( STDMETHODCALLTYPE *UnlockModal )( 
  808.             IActiveIMMIME * This);
  809.         
  810.         HRESULT ( STDMETHODCALLTYPE *AssociateContextEx )( 
  811.             IActiveIMMIME * This,
  812.             /* [in] */ HWND hWnd,
  813.             /* [in] */ HIMC hIMC,
  814.             /* [in] */ DWORD dwFlags);
  815.         
  816.         HRESULT ( STDMETHODCALLTYPE *DisableIME )( 
  817.             IActiveIMMIME * This,
  818.             /* [in] */ DWORD idThread);
  819.         
  820.         HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsA )( 
  821.             IActiveIMMIME * This,
  822.             /* [in] */ HIMC hIMC,
  823.             /* [in] */ DWORD dwFlags,
  824.             /* [in] */ DWORD dwType,
  825.             /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  826.             /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  827.             /* [in] */ DWORD dwSize,
  828.             /* [out] */ DWORD *pdwResult);
  829.         
  830.         HRESULT ( STDMETHODCALLTYPE *GetImeMenuItemsW )( 
  831.             IActiveIMMIME * This,
  832.             /* [in] */ HIMC hIMC,
  833.             /* [in] */ DWORD dwFlags,
  834.             /* [in] */ DWORD dwType,
  835.             /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  836.             /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  837.             /* [in] */ DWORD dwSize,
  838.             /* [out] */ DWORD *pdwResult);
  839.         
  840.         HRESULT ( STDMETHODCALLTYPE *EnumInputContext )( 
  841.             IActiveIMMIME * This,
  842.             /* [in] */ DWORD idThread,
  843.             /* [out] */ IEnumInputContext **ppEnum);
  844.         
  845.         HRESULT ( STDMETHODCALLTYPE *RequestMessageA )( 
  846.             IActiveIMMIME * This,
  847.             /* [in] */ HIMC hIMC,
  848.             /* [in] */ WPARAM wParam,
  849.             /* [in] */ LPARAM lParam,
  850.             /* [out] */ LRESULT *plResult);
  851.         
  852.         HRESULT ( STDMETHODCALLTYPE *RequestMessageW )( 
  853.             IActiveIMMIME * This,
  854.             /* [in] */ HIMC hIMC,
  855.             /* [in] */ WPARAM wParam,
  856.             /* [in] */ LPARAM lParam,
  857.             /* [out] */ LRESULT *plResult);
  858.         
  859.         HRESULT ( STDMETHODCALLTYPE *SendIMCA )( 
  860.             IActiveIMMIME * This,
  861.             /* [in] */ HWND hWnd,
  862.             /* [in] */ UINT uMsg,
  863.             /* [in] */ WPARAM wParam,
  864.             /* [in] */ LPARAM lParam,
  865.             /* [out] */ LRESULT *plResult);
  866.         
  867.         HRESULT ( STDMETHODCALLTYPE *SendIMCW )( 
  868.             IActiveIMMIME * This,
  869.             /* [in] */ HWND hWnd,
  870.             /* [in] */ UINT uMsg,
  871.             /* [in] */ WPARAM wParam,
  872.             /* [in] */ LPARAM lParam,
  873.             /* [out] */ LRESULT *plResult);
  874.         
  875.         HRESULT ( STDMETHODCALLTYPE *IsSleeping )( 
  876.             IActiveIMMIME * This);
  877.         
  878.         END_INTERFACE
  879.     } IActiveIMMIMEVtbl;
  880.     interface IActiveIMMIME
  881.     {
  882.         CONST_VTBL struct IActiveIMMIMEVtbl *lpVtbl;
  883.     };
  884.     
  885. #ifdef COBJMACROS
  886. #define IActiveIMMIME_QueryInterface(This,riid,ppvObject)
  887.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  888. #define IActiveIMMIME_AddRef(This)
  889.     (This)->lpVtbl -> AddRef(This)
  890. #define IActiveIMMIME_Release(This)
  891.     (This)->lpVtbl -> Release(This)
  892. #define IActiveIMMIME_AssociateContext(This,hWnd,hIME,phPrev)
  893.     (This)->lpVtbl -> AssociateContext(This,hWnd,hIME,phPrev)
  894. #define IActiveIMMIME_ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  895.     (This)->lpVtbl -> ConfigureIMEA(This,hKL,hWnd,dwMode,pData)
  896. #define IActiveIMMIME_ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  897.     (This)->lpVtbl -> ConfigureIMEW(This,hKL,hWnd,dwMode,pData)
  898. #define IActiveIMMIME_CreateContext(This,phIMC)
  899.     (This)->lpVtbl -> CreateContext(This,phIMC)
  900. #define IActiveIMMIME_DestroyContext(This,hIME)
  901.     (This)->lpVtbl -> DestroyContext(This,hIME)
  902. #define IActiveIMMIME_EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  903.     (This)->lpVtbl -> EnumRegisterWordA(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  904. #define IActiveIMMIME_EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  905.     (This)->lpVtbl -> EnumRegisterWordW(This,hKL,szReading,dwStyle,szRegister,pData,pEnum)
  906. #define IActiveIMMIME_EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  907.     (This)->lpVtbl -> EscapeA(This,hKL,hIMC,uEscape,pData,plResult)
  908. #define IActiveIMMIME_EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  909.     (This)->lpVtbl -> EscapeW(This,hKL,hIMC,uEscape,pData,plResult)
  910. #define IActiveIMMIME_GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  911.     (This)->lpVtbl -> GetCandidateListA(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  912. #define IActiveIMMIME_GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  913.     (This)->lpVtbl -> GetCandidateListW(This,hIMC,dwIndex,uBufLen,pCandList,puCopied)
  914. #define IActiveIMMIME_GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  915.     (This)->lpVtbl -> GetCandidateListCountA(This,hIMC,pdwListSize,pdwBufLen)
  916. #define IActiveIMMIME_GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  917.     (This)->lpVtbl -> GetCandidateListCountW(This,hIMC,pdwListSize,pdwBufLen)
  918. #define IActiveIMMIME_GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  919.     (This)->lpVtbl -> GetCandidateWindow(This,hIMC,dwIndex,pCandidate)
  920. #define IActiveIMMIME_GetCompositionFontA(This,hIMC,plf)
  921.     (This)->lpVtbl -> GetCompositionFontA(This,hIMC,plf)
  922. #define IActiveIMMIME_GetCompositionFontW(This,hIMC,plf)
  923.     (This)->lpVtbl -> GetCompositionFontW(This,hIMC,plf)
  924. #define IActiveIMMIME_GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  925.     (This)->lpVtbl -> GetCompositionStringA(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  926. #define IActiveIMMIME_GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  927.     (This)->lpVtbl -> GetCompositionStringW(This,hIMC,dwIndex,dwBufLen,plCopied,pBuf)
  928. #define IActiveIMMIME_GetCompositionWindow(This,hIMC,pCompForm)
  929.     (This)->lpVtbl -> GetCompositionWindow(This,hIMC,pCompForm)
  930. #define IActiveIMMIME_GetContext(This,hWnd,phIMC)
  931.     (This)->lpVtbl -> GetContext(This,hWnd,phIMC)
  932. #define IActiveIMMIME_GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  933.     (This)->lpVtbl -> GetConversionListA(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  934. #define IActiveIMMIME_GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  935.     (This)->lpVtbl -> GetConversionListW(This,hKL,hIMC,pSrc,uBufLen,uFlag,pDst,puCopied)
  936. #define IActiveIMMIME_GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  937.     (This)->lpVtbl -> GetConversionStatus(This,hIMC,pfdwConversion,pfdwSentence)
  938. #define IActiveIMMIME_GetDefaultIMEWnd(This,hWnd,phDefWnd)
  939.     (This)->lpVtbl -> GetDefaultIMEWnd(This,hWnd,phDefWnd)
  940. #define IActiveIMMIME_GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  941.     (This)->lpVtbl -> GetDescriptionA(This,hKL,uBufLen,szDescription,puCopied)
  942. #define IActiveIMMIME_GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  943.     (This)->lpVtbl -> GetDescriptionW(This,hKL,uBufLen,szDescription,puCopied)
  944. #define IActiveIMMIME_GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  945.     (This)->lpVtbl -> GetGuideLineA(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  946. #define IActiveIMMIME_GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  947.     (This)->lpVtbl -> GetGuideLineW(This,hIMC,dwIndex,dwBufLen,pBuf,pdwResult)
  948. #define IActiveIMMIME_GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  949.     (This)->lpVtbl -> GetIMEFileNameA(This,hKL,uBufLen,szFileName,puCopied)
  950. #define IActiveIMMIME_GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  951.     (This)->lpVtbl -> GetIMEFileNameW(This,hKL,uBufLen,szFileName,puCopied)
  952. #define IActiveIMMIME_GetOpenStatus(This,hIMC)
  953.     (This)->lpVtbl -> GetOpenStatus(This,hIMC)
  954. #define IActiveIMMIME_GetProperty(This,hKL,fdwIndex,pdwProperty)
  955.     (This)->lpVtbl -> GetProperty(This,hKL,fdwIndex,pdwProperty)
  956. #define IActiveIMMIME_GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  957.     (This)->lpVtbl -> GetRegisterWordStyleA(This,hKL,nItem,pStyleBuf,puCopied)
  958. #define IActiveIMMIME_GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  959.     (This)->lpVtbl -> GetRegisterWordStyleW(This,hKL,nItem,pStyleBuf,puCopied)
  960. #define IActiveIMMIME_GetStatusWindowPos(This,hIMC,pptPos)
  961.     (This)->lpVtbl -> GetStatusWindowPos(This,hIMC,pptPos)
  962. #define IActiveIMMIME_GetVirtualKey(This,hWnd,puVirtualKey)
  963.     (This)->lpVtbl -> GetVirtualKey(This,hWnd,puVirtualKey)
  964. #define IActiveIMMIME_InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  965.     (This)->lpVtbl -> InstallIMEA(This,szIMEFileName,szLayoutText,phKL)
  966. #define IActiveIMMIME_InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  967.     (This)->lpVtbl -> InstallIMEW(This,szIMEFileName,szLayoutText,phKL)
  968. #define IActiveIMMIME_IsIME(This,hKL)
  969.     (This)->lpVtbl -> IsIME(This,hKL)
  970. #define IActiveIMMIME_IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  971.     (This)->lpVtbl -> IsUIMessageA(This,hWndIME,msg,wParam,lParam)
  972. #define IActiveIMMIME_IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  973.     (This)->lpVtbl -> IsUIMessageW(This,hWndIME,msg,wParam,lParam)
  974. #define IActiveIMMIME_NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  975.     (This)->lpVtbl -> NotifyIME(This,hIMC,dwAction,dwIndex,dwValue)
  976. #define IActiveIMMIME_RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  977.     (This)->lpVtbl -> RegisterWordA(This,hKL,szReading,dwStyle,szRegister)
  978. #define IActiveIMMIME_RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  979.     (This)->lpVtbl -> RegisterWordW(This,hKL,szReading,dwStyle,szRegister)
  980. #define IActiveIMMIME_ReleaseContext(This,hWnd,hIMC)
  981.     (This)->lpVtbl -> ReleaseContext(This,hWnd,hIMC)
  982. #define IActiveIMMIME_SetCandidateWindow(This,hIMC,pCandidate)
  983.     (This)->lpVtbl -> SetCandidateWindow(This,hIMC,pCandidate)
  984. #define IActiveIMMIME_SetCompositionFontA(This,hIMC,plf)
  985.     (This)->lpVtbl -> SetCompositionFontA(This,hIMC,plf)
  986. #define IActiveIMMIME_SetCompositionFontW(This,hIMC,plf)
  987.     (This)->lpVtbl -> SetCompositionFontW(This,hIMC,plf)
  988. #define IActiveIMMIME_SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  989.     (This)->lpVtbl -> SetCompositionStringA(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  990. #define IActiveIMMIME_SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  991.     (This)->lpVtbl -> SetCompositionStringW(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  992. #define IActiveIMMIME_SetCompositionWindow(This,hIMC,pCompForm)
  993.     (This)->lpVtbl -> SetCompositionWindow(This,hIMC,pCompForm)
  994. #define IActiveIMMIME_SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  995.     (This)->lpVtbl -> SetConversionStatus(This,hIMC,fdwConversion,fdwSentence)
  996. #define IActiveIMMIME_SetOpenStatus(This,hIMC,fOpen)
  997.     (This)->lpVtbl -> SetOpenStatus(This,hIMC,fOpen)
  998. #define IActiveIMMIME_SetStatusWindowPos(This,hIMC,pptPos)
  999.     (This)->lpVtbl -> SetStatusWindowPos(This,hIMC,pptPos)
  1000. #define IActiveIMMIME_SimulateHotKey(This,hWnd,dwHotKeyID)
  1001.     (This)->lpVtbl -> SimulateHotKey(This,hWnd,dwHotKeyID)
  1002. #define IActiveIMMIME_UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1003.     (This)->lpVtbl -> UnregisterWordA(This,hKL,szReading,dwStyle,szUnregister)
  1004. #define IActiveIMMIME_UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1005.     (This)->lpVtbl -> UnregisterWordW(This,hKL,szReading,dwStyle,szUnregister)
  1006. #define IActiveIMMIME_GenerateMessage(This,hIMC)
  1007.     (This)->lpVtbl -> GenerateMessage(This,hIMC)
  1008. #define IActiveIMMIME_LockIMC(This,hIMC,ppIMC)
  1009.     (This)->lpVtbl -> LockIMC(This,hIMC,ppIMC)
  1010. #define IActiveIMMIME_UnlockIMC(This,hIMC)
  1011.     (This)->lpVtbl -> UnlockIMC(This,hIMC)
  1012. #define IActiveIMMIME_GetIMCLockCount(This,hIMC,pdwLockCount)
  1013.     (This)->lpVtbl -> GetIMCLockCount(This,hIMC,pdwLockCount)
  1014. #define IActiveIMMIME_CreateIMCC(This,dwSize,phIMCC)
  1015.     (This)->lpVtbl -> CreateIMCC(This,dwSize,phIMCC)
  1016. #define IActiveIMMIME_DestroyIMCC(This,hIMCC)
  1017.     (This)->lpVtbl -> DestroyIMCC(This,hIMCC)
  1018. #define IActiveIMMIME_LockIMCC(This,hIMCC,ppv)
  1019.     (This)->lpVtbl -> LockIMCC(This,hIMCC,ppv)
  1020. #define IActiveIMMIME_UnlockIMCC(This,hIMCC)
  1021.     (This)->lpVtbl -> UnlockIMCC(This,hIMCC)
  1022. #define IActiveIMMIME_ReSizeIMCC(This,hIMCC,dwSize,phIMCC)
  1023.     (This)->lpVtbl -> ReSizeIMCC(This,hIMCC,dwSize,phIMCC)
  1024. #define IActiveIMMIME_GetIMCCSize(This,hIMCC,pdwSize)
  1025.     (This)->lpVtbl -> GetIMCCSize(This,hIMCC,pdwSize)
  1026. #define IActiveIMMIME_GetIMCCLockCount(This,hIMCC,pdwLockCount)
  1027.     (This)->lpVtbl -> GetIMCCLockCount(This,hIMCC,pdwLockCount)
  1028. #define IActiveIMMIME_GetHotKey(This,dwHotKeyID,puModifiers,puVKey,phKL)
  1029.     (This)->lpVtbl -> GetHotKey(This,dwHotKeyID,puModifiers,puVKey,phKL)
  1030. #define IActiveIMMIME_SetHotKey(This,dwHotKeyID,uModifiers,uVKey,hKL)
  1031.     (This)->lpVtbl -> SetHotKey(This,dwHotKeyID,uModifiers,uVKey,hKL)
  1032. #define IActiveIMMIME_CreateSoftKeyboard(This,uType,hOwner,x,y,phSoftKbdWnd)
  1033.     (This)->lpVtbl -> CreateSoftKeyboard(This,uType,hOwner,x,y,phSoftKbdWnd)
  1034. #define IActiveIMMIME_DestroySoftKeyboard(This,hSoftKbdWnd)
  1035.     (This)->lpVtbl -> DestroySoftKeyboard(This,hSoftKbdWnd)
  1036. #define IActiveIMMIME_ShowSoftKeyboard(This,hSoftKbdWnd,nCmdShow)
  1037.     (This)->lpVtbl -> ShowSoftKeyboard(This,hSoftKbdWnd,nCmdShow)
  1038. #define IActiveIMMIME_GetCodePageA(This,hKL,uCodePage)
  1039.     (This)->lpVtbl -> GetCodePageA(This,hKL,uCodePage)
  1040. #define IActiveIMMIME_GetLangId(This,hKL,plid)
  1041.     (This)->lpVtbl -> GetLangId(This,hKL,plid)
  1042. #define IActiveIMMIME_KeybdEvent(This,lgidIME,bVk,bScan,dwFlags,dwExtraInfo)
  1043.     (This)->lpVtbl -> KeybdEvent(This,lgidIME,bVk,bScan,dwFlags,dwExtraInfo)
  1044. #define IActiveIMMIME_LockModal(This)
  1045.     (This)->lpVtbl -> LockModal(This)
  1046. #define IActiveIMMIME_UnlockModal(This)
  1047.     (This)->lpVtbl -> UnlockModal(This)
  1048. #define IActiveIMMIME_AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1049.     (This)->lpVtbl -> AssociateContextEx(This,hWnd,hIMC,dwFlags)
  1050. #define IActiveIMMIME_DisableIME(This,idThread)
  1051.     (This)->lpVtbl -> DisableIME(This,idThread)
  1052. #define IActiveIMMIME_GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1053.     (This)->lpVtbl -> GetImeMenuItemsA(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1054. #define IActiveIMMIME_GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1055.     (This)->lpVtbl -> GetImeMenuItemsW(This,hIMC,dwFlags,dwType,pImeParentMenu,pImeMenu,dwSize,pdwResult)
  1056. #define IActiveIMMIME_EnumInputContext(This,idThread,ppEnum)
  1057.     (This)->lpVtbl -> EnumInputContext(This,idThread,ppEnum)
  1058. #define IActiveIMMIME_RequestMessageA(This,hIMC,wParam,lParam,plResult)
  1059.     (This)->lpVtbl -> RequestMessageA(This,hIMC,wParam,lParam,plResult)
  1060. #define IActiveIMMIME_RequestMessageW(This,hIMC,wParam,lParam,plResult)
  1061.     (This)->lpVtbl -> RequestMessageW(This,hIMC,wParam,lParam,plResult)
  1062. #define IActiveIMMIME_SendIMCA(This,hWnd,uMsg,wParam,lParam,plResult)
  1063.     (This)->lpVtbl -> SendIMCA(This,hWnd,uMsg,wParam,lParam,plResult)
  1064. #define IActiveIMMIME_SendIMCW(This,hWnd,uMsg,wParam,lParam,plResult)
  1065.     (This)->lpVtbl -> SendIMCW(This,hWnd,uMsg,wParam,lParam,plResult)
  1066. #define IActiveIMMIME_IsSleeping(This)
  1067.     (This)->lpVtbl -> IsSleeping(This)
  1068. #endif /* COBJMACROS */
  1069. #endif  /* C style interface */
  1070. HRESULT STDMETHODCALLTYPE IActiveIMMIME_AssociateContext_Proxy( 
  1071.     IActiveIMMIME * This,
  1072.     /* [in] */ HWND hWnd,
  1073.     /* [in] */ HIMC hIME,
  1074.     /* [out] */ HIMC *phPrev);
  1075. void __RPC_STUB IActiveIMMIME_AssociateContext_Stub(
  1076.     IRpcStubBuffer *This,
  1077.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1078.     PRPC_MESSAGE _pRpcMessage,
  1079.     DWORD *_pdwStubPhase);
  1080. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ConfigureIMEA_Proxy( 
  1081.     IActiveIMMIME * This,
  1082.     /* [in] */ HKL hKL,
  1083.     /* [in] */ HWND hWnd,
  1084.     /* [in] */ DWORD dwMode,
  1085.     /* [in] */ REGISTERWORDA *pData);
  1086. void __RPC_STUB IActiveIMMIME_ConfigureIMEA_Stub(
  1087.     IRpcStubBuffer *This,
  1088.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1089.     PRPC_MESSAGE _pRpcMessage,
  1090.     DWORD *_pdwStubPhase);
  1091. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ConfigureIMEW_Proxy( 
  1092.     IActiveIMMIME * This,
  1093.     /* [in] */ HKL hKL,
  1094.     /* [in] */ HWND hWnd,
  1095.     /* [in] */ DWORD dwMode,
  1096.     /* [in] */ REGISTERWORDW *pData);
  1097. void __RPC_STUB IActiveIMMIME_ConfigureIMEW_Stub(
  1098.     IRpcStubBuffer *This,
  1099.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1100.     PRPC_MESSAGE _pRpcMessage,
  1101.     DWORD *_pdwStubPhase);
  1102. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateContext_Proxy( 
  1103.     IActiveIMMIME * This,
  1104.     /* [out] */ HIMC *phIMC);
  1105. void __RPC_STUB IActiveIMMIME_CreateContext_Stub(
  1106.     IRpcStubBuffer *This,
  1107.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1108.     PRPC_MESSAGE _pRpcMessage,
  1109.     DWORD *_pdwStubPhase);
  1110. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroyContext_Proxy( 
  1111.     IActiveIMMIME * This,
  1112.     /* [in] */ HIMC hIME);
  1113. void __RPC_STUB IActiveIMMIME_DestroyContext_Stub(
  1114.     IRpcStubBuffer *This,
  1115.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1116.     PRPC_MESSAGE _pRpcMessage,
  1117.     DWORD *_pdwStubPhase);
  1118. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumRegisterWordA_Proxy( 
  1119.     IActiveIMMIME * This,
  1120.     /* [in] */ HKL hKL,
  1121.     /* [in] */ LPSTR szReading,
  1122.     /* [in] */ DWORD dwStyle,
  1123.     /* [in] */ LPSTR szRegister,
  1124.     /* [in] */ LPVOID pData,
  1125.     /* [out] */ IEnumRegisterWordA **pEnum);
  1126. void __RPC_STUB IActiveIMMIME_EnumRegisterWordA_Stub(
  1127.     IRpcStubBuffer *This,
  1128.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1129.     PRPC_MESSAGE _pRpcMessage,
  1130.     DWORD *_pdwStubPhase);
  1131. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumRegisterWordW_Proxy( 
  1132.     IActiveIMMIME * This,
  1133.     /* [in] */ HKL hKL,
  1134.     /* [in] */ LPWSTR szReading,
  1135.     /* [in] */ DWORD dwStyle,
  1136.     /* [in] */ LPWSTR szRegister,
  1137.     /* [in] */ LPVOID pData,
  1138.     /* [out] */ IEnumRegisterWordW **pEnum);
  1139. void __RPC_STUB IActiveIMMIME_EnumRegisterWordW_Stub(
  1140.     IRpcStubBuffer *This,
  1141.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1142.     PRPC_MESSAGE _pRpcMessage,
  1143.     DWORD *_pdwStubPhase);
  1144. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EscapeA_Proxy( 
  1145.     IActiveIMMIME * This,
  1146.     /* [in] */ HKL hKL,
  1147.     /* [in] */ HIMC hIMC,
  1148.     /* [in] */ UINT uEscape,
  1149.     /* [out][in] */ LPVOID pData,
  1150.     /* [out] */ LRESULT *plResult);
  1151. void __RPC_STUB IActiveIMMIME_EscapeA_Stub(
  1152.     IRpcStubBuffer *This,
  1153.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1154.     PRPC_MESSAGE _pRpcMessage,
  1155.     DWORD *_pdwStubPhase);
  1156. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EscapeW_Proxy( 
  1157.     IActiveIMMIME * This,
  1158.     /* [in] */ HKL hKL,
  1159.     /* [in] */ HIMC hIMC,
  1160.     /* [in] */ UINT uEscape,
  1161.     /* [out][in] */ LPVOID pData,
  1162.     /* [out] */ LRESULT *plResult);
  1163. void __RPC_STUB IActiveIMMIME_EscapeW_Stub(
  1164.     IRpcStubBuffer *This,
  1165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1166.     PRPC_MESSAGE _pRpcMessage,
  1167.     DWORD *_pdwStubPhase);
  1168. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListA_Proxy( 
  1169.     IActiveIMMIME * This,
  1170.     /* [in] */ HIMC hIMC,
  1171.     /* [in] */ DWORD dwIndex,
  1172.     /* [in] */ UINT uBufLen,
  1173.     /* [out] */ CANDIDATELIST *pCandList,
  1174.     /* [out] */ UINT *puCopied);
  1175. void __RPC_STUB IActiveIMMIME_GetCandidateListA_Stub(
  1176.     IRpcStubBuffer *This,
  1177.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1178.     PRPC_MESSAGE _pRpcMessage,
  1179.     DWORD *_pdwStubPhase);
  1180. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListW_Proxy( 
  1181.     IActiveIMMIME * This,
  1182.     /* [in] */ HIMC hIMC,
  1183.     /* [in] */ DWORD dwIndex,
  1184.     /* [in] */ UINT uBufLen,
  1185.     /* [out] */ CANDIDATELIST *pCandList,
  1186.     /* [out] */ UINT *puCopied);
  1187. void __RPC_STUB IActiveIMMIME_GetCandidateListW_Stub(
  1188.     IRpcStubBuffer *This,
  1189.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1190.     PRPC_MESSAGE _pRpcMessage,
  1191.     DWORD *_pdwStubPhase);
  1192. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListCountA_Proxy( 
  1193.     IActiveIMMIME * This,
  1194.     /* [in] */ HIMC hIMC,
  1195.     /* [out] */ DWORD *pdwListSize,
  1196.     /* [out] */ DWORD *pdwBufLen);
  1197. void __RPC_STUB IActiveIMMIME_GetCandidateListCountA_Stub(
  1198.     IRpcStubBuffer *This,
  1199.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1200.     PRPC_MESSAGE _pRpcMessage,
  1201.     DWORD *_pdwStubPhase);
  1202. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateListCountW_Proxy( 
  1203.     IActiveIMMIME * This,
  1204.     /* [in] */ HIMC hIMC,
  1205.     /* [out] */ DWORD *pdwListSize,
  1206.     /* [out] */ DWORD *pdwBufLen);
  1207. void __RPC_STUB IActiveIMMIME_GetCandidateListCountW_Stub(
  1208.     IRpcStubBuffer *This,
  1209.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1210.     PRPC_MESSAGE _pRpcMessage,
  1211.     DWORD *_pdwStubPhase);
  1212. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCandidateWindow_Proxy( 
  1213.     IActiveIMMIME * This,
  1214.     /* [in] */ HIMC hIMC,
  1215.     /* [in] */ DWORD dwIndex,
  1216.     /* [out] */ CANDIDATEFORM *pCandidate);
  1217. void __RPC_STUB IActiveIMMIME_GetCandidateWindow_Stub(
  1218.     IRpcStubBuffer *This,
  1219.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1220.     PRPC_MESSAGE _pRpcMessage,
  1221.     DWORD *_pdwStubPhase);
  1222. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionFontA_Proxy( 
  1223.     IActiveIMMIME * This,
  1224.     /* [in] */ HIMC hIMC,
  1225.     /* [out] */ LOGFONTA *plf);
  1226. void __RPC_STUB IActiveIMMIME_GetCompositionFontA_Stub(
  1227.     IRpcStubBuffer *This,
  1228.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1229.     PRPC_MESSAGE _pRpcMessage,
  1230.     DWORD *_pdwStubPhase);
  1231. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionFontW_Proxy( 
  1232.     IActiveIMMIME * This,
  1233.     /* [in] */ HIMC hIMC,
  1234.     /* [out] */ LOGFONTW *plf);
  1235. void __RPC_STUB IActiveIMMIME_GetCompositionFontW_Stub(
  1236.     IRpcStubBuffer *This,
  1237.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1238.     PRPC_MESSAGE _pRpcMessage,
  1239.     DWORD *_pdwStubPhase);
  1240. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionStringA_Proxy( 
  1241.     IActiveIMMIME * This,
  1242.     /* [in] */ HIMC hIMC,
  1243.     /* [in] */ DWORD dwIndex,
  1244.     /* [in] */ DWORD dwBufLen,
  1245.     /* [out] */ LONG *plCopied,
  1246.     /* [out] */ LPVOID pBuf);
  1247. void __RPC_STUB IActiveIMMIME_GetCompositionStringA_Stub(
  1248.     IRpcStubBuffer *This,
  1249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1250.     PRPC_MESSAGE _pRpcMessage,
  1251.     DWORD *_pdwStubPhase);
  1252. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionStringW_Proxy( 
  1253.     IActiveIMMIME * This,
  1254.     /* [in] */ HIMC hIMC,
  1255.     /* [in] */ DWORD dwIndex,
  1256.     /* [in] */ DWORD dwBufLen,
  1257.     /* [out] */ LONG *plCopied,
  1258.     /* [out] */ LPVOID pBuf);
  1259. void __RPC_STUB IActiveIMMIME_GetCompositionStringW_Stub(
  1260.     IRpcStubBuffer *This,
  1261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1262.     PRPC_MESSAGE _pRpcMessage,
  1263.     DWORD *_pdwStubPhase);
  1264. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCompositionWindow_Proxy( 
  1265.     IActiveIMMIME * This,
  1266.     /* [in] */ HIMC hIMC,
  1267.     /* [out] */ COMPOSITIONFORM *pCompForm);
  1268. void __RPC_STUB IActiveIMMIME_GetCompositionWindow_Stub(
  1269.     IRpcStubBuffer *This,
  1270.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1271.     PRPC_MESSAGE _pRpcMessage,
  1272.     DWORD *_pdwStubPhase);
  1273. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetContext_Proxy( 
  1274.     IActiveIMMIME * This,
  1275.     /* [in] */ HWND hWnd,
  1276.     /* [out] */ HIMC *phIMC);
  1277. void __RPC_STUB IActiveIMMIME_GetContext_Stub(
  1278.     IRpcStubBuffer *This,
  1279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1280.     PRPC_MESSAGE _pRpcMessage,
  1281.     DWORD *_pdwStubPhase);
  1282. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionListA_Proxy( 
  1283.     IActiveIMMIME * This,
  1284.     /* [in] */ HKL hKL,
  1285.     /* [in] */ HIMC hIMC,
  1286.     /* [in] */ LPSTR pSrc,
  1287.     /* [in] */ UINT uBufLen,
  1288.     /* [in] */ UINT uFlag,
  1289.     /* [out] */ CANDIDATELIST *pDst,
  1290.     /* [out] */ UINT *puCopied);
  1291. void __RPC_STUB IActiveIMMIME_GetConversionListA_Stub(
  1292.     IRpcStubBuffer *This,
  1293.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1294.     PRPC_MESSAGE _pRpcMessage,
  1295.     DWORD *_pdwStubPhase);
  1296. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionListW_Proxy( 
  1297.     IActiveIMMIME * This,
  1298.     /* [in] */ HKL hKL,
  1299.     /* [in] */ HIMC hIMC,
  1300.     /* [in] */ LPWSTR pSrc,
  1301.     /* [in] */ UINT uBufLen,
  1302.     /* [in] */ UINT uFlag,
  1303.     /* [out] */ CANDIDATELIST *pDst,
  1304.     /* [out] */ UINT *puCopied);
  1305. void __RPC_STUB IActiveIMMIME_GetConversionListW_Stub(
  1306.     IRpcStubBuffer *This,
  1307.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1308.     PRPC_MESSAGE _pRpcMessage,
  1309.     DWORD *_pdwStubPhase);
  1310. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetConversionStatus_Proxy( 
  1311.     IActiveIMMIME * This,
  1312.     /* [in] */ HIMC hIMC,
  1313.     /* [out] */ DWORD *pfdwConversion,
  1314.     /* [out] */ DWORD *pfdwSentence);
  1315. void __RPC_STUB IActiveIMMIME_GetConversionStatus_Stub(
  1316.     IRpcStubBuffer *This,
  1317.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1318.     PRPC_MESSAGE _pRpcMessage,
  1319.     DWORD *_pdwStubPhase);
  1320. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDefaultIMEWnd_Proxy( 
  1321.     IActiveIMMIME * This,
  1322.     /* [in] */ HWND hWnd,
  1323.     /* [out] */ HWND *phDefWnd);
  1324. void __RPC_STUB IActiveIMMIME_GetDefaultIMEWnd_Stub(
  1325.     IRpcStubBuffer *This,
  1326.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1327.     PRPC_MESSAGE _pRpcMessage,
  1328.     DWORD *_pdwStubPhase);
  1329. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDescriptionA_Proxy( 
  1330.     IActiveIMMIME * This,
  1331.     /* [in] */ HKL hKL,
  1332.     /* [in] */ UINT uBufLen,
  1333.     /* [out] */ LPSTR szDescription,
  1334.     /* [out] */ UINT *puCopied);
  1335. void __RPC_STUB IActiveIMMIME_GetDescriptionA_Stub(
  1336.     IRpcStubBuffer *This,
  1337.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1338.     PRPC_MESSAGE _pRpcMessage,
  1339.     DWORD *_pdwStubPhase);
  1340. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetDescriptionW_Proxy( 
  1341.     IActiveIMMIME * This,
  1342.     /* [in] */ HKL hKL,
  1343.     /* [in] */ UINT uBufLen,
  1344.     /* [out] */ LPWSTR szDescription,
  1345.     /* [out] */ UINT *puCopied);
  1346. void __RPC_STUB IActiveIMMIME_GetDescriptionW_Stub(
  1347.     IRpcStubBuffer *This,
  1348.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1349.     PRPC_MESSAGE _pRpcMessage,
  1350.     DWORD *_pdwStubPhase);
  1351. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetGuideLineA_Proxy( 
  1352.     IActiveIMMIME * This,
  1353.     /* [in] */ HIMC hIMC,
  1354.     /* [in] */ DWORD dwIndex,
  1355.     /* [in] */ DWORD dwBufLen,
  1356.     /* [out] */ LPSTR pBuf,
  1357.     /* [out] */ DWORD *pdwResult);
  1358. void __RPC_STUB IActiveIMMIME_GetGuideLineA_Stub(
  1359.     IRpcStubBuffer *This,
  1360.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1361.     PRPC_MESSAGE _pRpcMessage,
  1362.     DWORD *_pdwStubPhase);
  1363. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetGuideLineW_Proxy( 
  1364.     IActiveIMMIME * This,
  1365.     /* [in] */ HIMC hIMC,
  1366.     /* [in] */ DWORD dwIndex,
  1367.     /* [in] */ DWORD dwBufLen,
  1368.     /* [out] */ LPWSTR pBuf,
  1369.     /* [out] */ DWORD *pdwResult);
  1370. void __RPC_STUB IActiveIMMIME_GetGuideLineW_Stub(
  1371.     IRpcStubBuffer *This,
  1372.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1373.     PRPC_MESSAGE _pRpcMessage,
  1374.     DWORD *_pdwStubPhase);
  1375. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMEFileNameA_Proxy( 
  1376.     IActiveIMMIME * This,
  1377.     /* [in] */ HKL hKL,
  1378.     /* [in] */ UINT uBufLen,
  1379.     /* [out] */ LPSTR szFileName,
  1380.     /* [out] */ UINT *puCopied);
  1381. void __RPC_STUB IActiveIMMIME_GetIMEFileNameA_Stub(
  1382.     IRpcStubBuffer *This,
  1383.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1384.     PRPC_MESSAGE _pRpcMessage,
  1385.     DWORD *_pdwStubPhase);
  1386. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMEFileNameW_Proxy( 
  1387.     IActiveIMMIME * This,
  1388.     /* [in] */ HKL hKL,
  1389.     /* [in] */ UINT uBufLen,
  1390.     /* [out] */ LPWSTR szFileName,
  1391.     /* [out] */ UINT *puCopied);
  1392. void __RPC_STUB IActiveIMMIME_GetIMEFileNameW_Stub(
  1393.     IRpcStubBuffer *This,
  1394.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1395.     PRPC_MESSAGE _pRpcMessage,
  1396.     DWORD *_pdwStubPhase);
  1397. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetOpenStatus_Proxy( 
  1398.     IActiveIMMIME * This,
  1399.     /* [in] */ HIMC hIMC);
  1400. void __RPC_STUB IActiveIMMIME_GetOpenStatus_Stub(
  1401.     IRpcStubBuffer *This,
  1402.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1403.     PRPC_MESSAGE _pRpcMessage,
  1404.     DWORD *_pdwStubPhase);
  1405. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetProperty_Proxy( 
  1406.     IActiveIMMIME * This,
  1407.     /* [in] */ HKL hKL,
  1408.     /* [in] */ DWORD fdwIndex,
  1409.     /* [out] */ DWORD *pdwProperty);
  1410. void __RPC_STUB IActiveIMMIME_GetProperty_Stub(
  1411.     IRpcStubBuffer *This,
  1412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1413.     PRPC_MESSAGE _pRpcMessage,
  1414.     DWORD *_pdwStubPhase);
  1415. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetRegisterWordStyleA_Proxy( 
  1416.     IActiveIMMIME * This,
  1417.     /* [in] */ HKL hKL,
  1418.     /* [in] */ UINT nItem,
  1419.     /* [out] */ STYLEBUFA *pStyleBuf,
  1420.     /* [out] */ UINT *puCopied);
  1421. void __RPC_STUB IActiveIMMIME_GetRegisterWordStyleA_Stub(
  1422.     IRpcStubBuffer *This,
  1423.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1424.     PRPC_MESSAGE _pRpcMessage,
  1425.     DWORD *_pdwStubPhase);
  1426. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetRegisterWordStyleW_Proxy( 
  1427.     IActiveIMMIME * This,
  1428.     /* [in] */ HKL hKL,
  1429.     /* [in] */ UINT nItem,
  1430.     /* [out] */ STYLEBUFW *pStyleBuf,
  1431.     /* [out] */ UINT *puCopied);
  1432. void __RPC_STUB IActiveIMMIME_GetRegisterWordStyleW_Stub(
  1433.     IRpcStubBuffer *This,
  1434.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1435.     PRPC_MESSAGE _pRpcMessage,
  1436.     DWORD *_pdwStubPhase);
  1437. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetStatusWindowPos_Proxy( 
  1438.     IActiveIMMIME * This,
  1439.     /* [in] */ HIMC hIMC,
  1440.     /* [out] */ POINT *pptPos);
  1441. void __RPC_STUB IActiveIMMIME_GetStatusWindowPos_Stub(
  1442.     IRpcStubBuffer *This,
  1443.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1444.     PRPC_MESSAGE _pRpcMessage,
  1445.     DWORD *_pdwStubPhase);
  1446. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetVirtualKey_Proxy( 
  1447.     IActiveIMMIME * This,
  1448.     /* [in] */ HWND hWnd,
  1449.     /* [out] */ UINT *puVirtualKey);
  1450. void __RPC_STUB IActiveIMMIME_GetVirtualKey_Stub(
  1451.     IRpcStubBuffer *This,
  1452.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1453.     PRPC_MESSAGE _pRpcMessage,
  1454.     DWORD *_pdwStubPhase);
  1455. HRESULT STDMETHODCALLTYPE IActiveIMMIME_InstallIMEA_Proxy( 
  1456.     IActiveIMMIME * This,
  1457.     /* [in] */ LPSTR szIMEFileName,
  1458.     /* [in] */ LPSTR szLayoutText,
  1459.     /* [out] */ HKL *phKL);
  1460. void __RPC_STUB IActiveIMMIME_InstallIMEA_Stub(
  1461.     IRpcStubBuffer *This,
  1462.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1463.     PRPC_MESSAGE _pRpcMessage,
  1464.     DWORD *_pdwStubPhase);
  1465. HRESULT STDMETHODCALLTYPE IActiveIMMIME_InstallIMEW_Proxy( 
  1466.     IActiveIMMIME * This,
  1467.     /* [in] */ LPWSTR szIMEFileName,
  1468.     /* [in] */ LPWSTR szLayoutText,
  1469.     /* [out] */ HKL *phKL);
  1470. void __RPC_STUB IActiveIMMIME_InstallIMEW_Stub(
  1471.     IRpcStubBuffer *This,
  1472.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1473.     PRPC_MESSAGE _pRpcMessage,
  1474.     DWORD *_pdwStubPhase);
  1475. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsIME_Proxy( 
  1476.     IActiveIMMIME * This,
  1477.     /* [in] */ HKL hKL);
  1478. void __RPC_STUB IActiveIMMIME_IsIME_Stub(
  1479.     IRpcStubBuffer *This,
  1480.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1481.     PRPC_MESSAGE _pRpcMessage,
  1482.     DWORD *_pdwStubPhase);
  1483. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsUIMessageA_Proxy( 
  1484.     IActiveIMMIME * This,
  1485.     /* [in] */ HWND hWndIME,
  1486.     /* [in] */ UINT msg,
  1487.     /* [in] */ WPARAM wParam,
  1488.     /* [in] */ LPARAM lParam);
  1489. void __RPC_STUB IActiveIMMIME_IsUIMessageA_Stub(
  1490.     IRpcStubBuffer *This,
  1491.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1492.     PRPC_MESSAGE _pRpcMessage,
  1493.     DWORD *_pdwStubPhase);
  1494. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsUIMessageW_Proxy( 
  1495.     IActiveIMMIME * This,
  1496.     /* [in] */ HWND hWndIME,
  1497.     /* [in] */ UINT msg,
  1498.     /* [in] */ WPARAM wParam,
  1499.     /* [in] */ LPARAM lParam);
  1500. void __RPC_STUB IActiveIMMIME_IsUIMessageW_Stub(
  1501.     IRpcStubBuffer *This,
  1502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1503.     PRPC_MESSAGE _pRpcMessage,
  1504.     DWORD *_pdwStubPhase);
  1505. HRESULT STDMETHODCALLTYPE IActiveIMMIME_NotifyIME_Proxy( 
  1506.     IActiveIMMIME * This,
  1507.     /* [in] */ HIMC hIMC,
  1508.     /* [in] */ DWORD dwAction,
  1509.     /* [in] */ DWORD dwIndex,
  1510.     /* [in] */ DWORD dwValue);
  1511. void __RPC_STUB IActiveIMMIME_NotifyIME_Stub(
  1512.     IRpcStubBuffer *This,
  1513.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1514.     PRPC_MESSAGE _pRpcMessage,
  1515.     DWORD *_pdwStubPhase);
  1516. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RegisterWordA_Proxy( 
  1517.     IActiveIMMIME * This,
  1518.     /* [in] */ HKL hKL,
  1519.     /* [in] */ LPSTR szReading,
  1520.     /* [in] */ DWORD dwStyle,
  1521.     /* [in] */ LPSTR szRegister);
  1522. void __RPC_STUB IActiveIMMIME_RegisterWordA_Stub(
  1523.     IRpcStubBuffer *This,
  1524.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1525.     PRPC_MESSAGE _pRpcMessage,
  1526.     DWORD *_pdwStubPhase);
  1527. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RegisterWordW_Proxy( 
  1528.     IActiveIMMIME * This,
  1529.     /* [in] */ HKL hKL,
  1530.     /* [in] */ LPWSTR szReading,
  1531.     /* [in] */ DWORD dwStyle,
  1532.     /* [in] */ LPWSTR szRegister);
  1533. void __RPC_STUB IActiveIMMIME_RegisterWordW_Stub(
  1534.     IRpcStubBuffer *This,
  1535.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1536.     PRPC_MESSAGE _pRpcMessage,
  1537.     DWORD *_pdwStubPhase);
  1538. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ReleaseContext_Proxy( 
  1539.     IActiveIMMIME * This,
  1540.     /* [in] */ HWND hWnd,
  1541.     /* [in] */ HIMC hIMC);
  1542. void __RPC_STUB IActiveIMMIME_ReleaseContext_Stub(
  1543.     IRpcStubBuffer *This,
  1544.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1545.     PRPC_MESSAGE _pRpcMessage,
  1546.     DWORD *_pdwStubPhase);
  1547. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCandidateWindow_Proxy( 
  1548.     IActiveIMMIME * This,
  1549.     /* [in] */ HIMC hIMC,
  1550.     /* [in] */ CANDIDATEFORM *pCandidate);
  1551. void __RPC_STUB IActiveIMMIME_SetCandidateWindow_Stub(
  1552.     IRpcStubBuffer *This,
  1553.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1554.     PRPC_MESSAGE _pRpcMessage,
  1555.     DWORD *_pdwStubPhase);
  1556. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionFontA_Proxy( 
  1557.     IActiveIMMIME * This,
  1558.     /* [in] */ HIMC hIMC,
  1559.     /* [in] */ LOGFONTA *plf);
  1560. void __RPC_STUB IActiveIMMIME_SetCompositionFontA_Stub(
  1561.     IRpcStubBuffer *This,
  1562.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1563.     PRPC_MESSAGE _pRpcMessage,
  1564.     DWORD *_pdwStubPhase);
  1565. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionFontW_Proxy( 
  1566.     IActiveIMMIME * This,
  1567.     /* [in] */ HIMC hIMC,
  1568.     /* [in] */ LOGFONTW *plf);
  1569. void __RPC_STUB IActiveIMMIME_SetCompositionFontW_Stub(
  1570.     IRpcStubBuffer *This,
  1571.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1572.     PRPC_MESSAGE _pRpcMessage,
  1573.     DWORD *_pdwStubPhase);
  1574. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionStringA_Proxy( 
  1575.     IActiveIMMIME * This,
  1576.     /* [in] */ HIMC hIMC,
  1577.     /* [in] */ DWORD dwIndex,
  1578.     /* [in] */ LPVOID pComp,
  1579.     /* [in] */ DWORD dwCompLen,
  1580.     /* [in] */ LPVOID pRead,
  1581.     /* [in] */ DWORD dwReadLen);
  1582. void __RPC_STUB IActiveIMMIME_SetCompositionStringA_Stub(
  1583.     IRpcStubBuffer *This,
  1584.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1585.     PRPC_MESSAGE _pRpcMessage,
  1586.     DWORD *_pdwStubPhase);
  1587. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionStringW_Proxy( 
  1588.     IActiveIMMIME * This,
  1589.     /* [in] */ HIMC hIMC,
  1590.     /* [in] */ DWORD dwIndex,
  1591.     /* [in] */ LPVOID pComp,
  1592.     /* [in] */ DWORD dwCompLen,
  1593.     /* [in] */ LPVOID pRead,
  1594.     /* [in] */ DWORD dwReadLen);
  1595. void __RPC_STUB IActiveIMMIME_SetCompositionStringW_Stub(
  1596.     IRpcStubBuffer *This,
  1597.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1598.     PRPC_MESSAGE _pRpcMessage,
  1599.     DWORD *_pdwStubPhase);
  1600. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetCompositionWindow_Proxy( 
  1601.     IActiveIMMIME * This,
  1602.     /* [in] */ HIMC hIMC,
  1603.     /* [in] */ COMPOSITIONFORM *pCompForm);
  1604. void __RPC_STUB IActiveIMMIME_SetCompositionWindow_Stub(
  1605.     IRpcStubBuffer *This,
  1606.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1607.     PRPC_MESSAGE _pRpcMessage,
  1608.     DWORD *_pdwStubPhase);
  1609. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetConversionStatus_Proxy( 
  1610.     IActiveIMMIME * This,
  1611.     /* [in] */ HIMC hIMC,
  1612.     /* [in] */ DWORD fdwConversion,
  1613.     /* [in] */ DWORD fdwSentence);
  1614. void __RPC_STUB IActiveIMMIME_SetConversionStatus_Stub(
  1615.     IRpcStubBuffer *This,
  1616.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1617.     PRPC_MESSAGE _pRpcMessage,
  1618.     DWORD *_pdwStubPhase);
  1619. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetOpenStatus_Proxy( 
  1620.     IActiveIMMIME * This,
  1621.     /* [in] */ HIMC hIMC,
  1622.     /* [in] */ BOOL fOpen);
  1623. void __RPC_STUB IActiveIMMIME_SetOpenStatus_Stub(
  1624.     IRpcStubBuffer *This,
  1625.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1626.     PRPC_MESSAGE _pRpcMessage,
  1627.     DWORD *_pdwStubPhase);
  1628. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetStatusWindowPos_Proxy( 
  1629.     IActiveIMMIME * This,
  1630.     /* [in] */ HIMC hIMC,
  1631.     /* [in] */ POINT *pptPos);
  1632. void __RPC_STUB IActiveIMMIME_SetStatusWindowPos_Stub(
  1633.     IRpcStubBuffer *This,
  1634.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1635.     PRPC_MESSAGE _pRpcMessage,
  1636.     DWORD *_pdwStubPhase);
  1637. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SimulateHotKey_Proxy( 
  1638.     IActiveIMMIME * This,
  1639.     /* [in] */ HWND hWnd,
  1640.     /* [in] */ DWORD dwHotKeyID);
  1641. void __RPC_STUB IActiveIMMIME_SimulateHotKey_Stub(
  1642.     IRpcStubBuffer *This,
  1643.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1644.     PRPC_MESSAGE _pRpcMessage,
  1645.     DWORD *_pdwStubPhase);
  1646. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnregisterWordA_Proxy( 
  1647.     IActiveIMMIME * This,
  1648.     /* [in] */ HKL hKL,
  1649.     /* [in] */ LPSTR szReading,
  1650.     /* [in] */ DWORD dwStyle,
  1651.     /* [in] */ LPSTR szUnregister);
  1652. void __RPC_STUB IActiveIMMIME_UnregisterWordA_Stub(
  1653.     IRpcStubBuffer *This,
  1654.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1655.     PRPC_MESSAGE _pRpcMessage,
  1656.     DWORD *_pdwStubPhase);
  1657. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnregisterWordW_Proxy( 
  1658.     IActiveIMMIME * This,
  1659.     /* [in] */ HKL hKL,
  1660.     /* [in] */ LPWSTR szReading,
  1661.     /* [in] */ DWORD dwStyle,
  1662.     /* [in] */ LPWSTR szUnregister);
  1663. void __RPC_STUB IActiveIMMIME_UnregisterWordW_Stub(
  1664.     IRpcStubBuffer *This,
  1665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1666.     PRPC_MESSAGE _pRpcMessage,
  1667.     DWORD *_pdwStubPhase);
  1668. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GenerateMessage_Proxy( 
  1669.     IActiveIMMIME * This,
  1670.     /* [in] */ HIMC hIMC);
  1671. void __RPC_STUB IActiveIMMIME_GenerateMessage_Stub(
  1672.     IRpcStubBuffer *This,
  1673.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1674.     PRPC_MESSAGE _pRpcMessage,
  1675.     DWORD *_pdwStubPhase);
  1676. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockIMC_Proxy( 
  1677.     IActiveIMMIME * This,
  1678.     /* [in] */ HIMC hIMC,
  1679.     /* [out] */ INPUTCONTEXT **ppIMC);
  1680. void __RPC_STUB IActiveIMMIME_LockIMC_Stub(
  1681.     IRpcStubBuffer *This,
  1682.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1683.     PRPC_MESSAGE _pRpcMessage,
  1684.     DWORD *_pdwStubPhase);
  1685. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockIMC_Proxy( 
  1686.     IActiveIMMIME * This,
  1687.     /* [in] */ HIMC hIMC);
  1688. void __RPC_STUB IActiveIMMIME_UnlockIMC_Stub(
  1689.     IRpcStubBuffer *This,
  1690.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1691.     PRPC_MESSAGE _pRpcMessage,
  1692.     DWORD *_pdwStubPhase);
  1693. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCLockCount_Proxy( 
  1694.     IActiveIMMIME * This,
  1695.     /* [in] */ HIMC hIMC,
  1696.     /* [out] */ DWORD *pdwLockCount);
  1697. void __RPC_STUB IActiveIMMIME_GetIMCLockCount_Stub(
  1698.     IRpcStubBuffer *This,
  1699.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1700.     PRPC_MESSAGE _pRpcMessage,
  1701.     DWORD *_pdwStubPhase);
  1702. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateIMCC_Proxy( 
  1703.     IActiveIMMIME * This,
  1704.     /* [in] */ DWORD dwSize,
  1705.     /* [out] */ HIMCC *phIMCC);
  1706. void __RPC_STUB IActiveIMMIME_CreateIMCC_Stub(
  1707.     IRpcStubBuffer *This,
  1708.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1709.     PRPC_MESSAGE _pRpcMessage,
  1710.     DWORD *_pdwStubPhase);
  1711. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroyIMCC_Proxy( 
  1712.     IActiveIMMIME * This,
  1713.     /* [in] */ HIMCC hIMCC);
  1714. void __RPC_STUB IActiveIMMIME_DestroyIMCC_Stub(
  1715.     IRpcStubBuffer *This,
  1716.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1717.     PRPC_MESSAGE _pRpcMessage,
  1718.     DWORD *_pdwStubPhase);
  1719. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockIMCC_Proxy( 
  1720.     IActiveIMMIME * This,
  1721.     /* [in] */ HIMCC hIMCC,
  1722.     /* [out] */ void **ppv);
  1723. void __RPC_STUB IActiveIMMIME_LockIMCC_Stub(
  1724.     IRpcStubBuffer *This,
  1725.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1726.     PRPC_MESSAGE _pRpcMessage,
  1727.     DWORD *_pdwStubPhase);
  1728. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockIMCC_Proxy( 
  1729.     IActiveIMMIME * This,
  1730.     /* [in] */ HIMCC hIMCC);
  1731. void __RPC_STUB IActiveIMMIME_UnlockIMCC_Stub(
  1732.     IRpcStubBuffer *This,
  1733.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1734.     PRPC_MESSAGE _pRpcMessage,
  1735.     DWORD *_pdwStubPhase);
  1736. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ReSizeIMCC_Proxy( 
  1737.     IActiveIMMIME * This,
  1738.     /* [in] */ HIMCC hIMCC,
  1739.     /* [in] */ DWORD dwSize,
  1740.     /* [out] */ HIMCC *phIMCC);
  1741. void __RPC_STUB IActiveIMMIME_ReSizeIMCC_Stub(
  1742.     IRpcStubBuffer *This,
  1743.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1744.     PRPC_MESSAGE _pRpcMessage,
  1745.     DWORD *_pdwStubPhase);
  1746. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCCSize_Proxy( 
  1747.     IActiveIMMIME * This,
  1748.     /* [in] */ HIMCC hIMCC,
  1749.     /* [out] */ DWORD *pdwSize);
  1750. void __RPC_STUB IActiveIMMIME_GetIMCCSize_Stub(
  1751.     IRpcStubBuffer *This,
  1752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1753.     PRPC_MESSAGE _pRpcMessage,
  1754.     DWORD *_pdwStubPhase);
  1755. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetIMCCLockCount_Proxy( 
  1756.     IActiveIMMIME * This,
  1757.     /* [in] */ HIMCC hIMCC,
  1758.     /* [out] */ DWORD *pdwLockCount);
  1759. void __RPC_STUB IActiveIMMIME_GetIMCCLockCount_Stub(
  1760.     IRpcStubBuffer *This,
  1761.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1762.     PRPC_MESSAGE _pRpcMessage,
  1763.     DWORD *_pdwStubPhase);
  1764. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetHotKey_Proxy( 
  1765.     IActiveIMMIME * This,
  1766.     /* [in] */ DWORD dwHotKeyID,
  1767.     /* [out] */ UINT *puModifiers,
  1768.     /* [out] */ UINT *puVKey,
  1769.     /* [out] */ HKL *phKL);
  1770. void __RPC_STUB IActiveIMMIME_GetHotKey_Stub(
  1771.     IRpcStubBuffer *This,
  1772.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1773.     PRPC_MESSAGE _pRpcMessage,
  1774.     DWORD *_pdwStubPhase);
  1775. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SetHotKey_Proxy( 
  1776.     IActiveIMMIME * This,
  1777.     /* [in] */ DWORD dwHotKeyID,
  1778.     /* [in] */ UINT uModifiers,
  1779.     /* [in] */ UINT uVKey,
  1780.     /* [in] */ HKL hKL);
  1781. void __RPC_STUB IActiveIMMIME_SetHotKey_Stub(
  1782.     IRpcStubBuffer *This,
  1783.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1784.     PRPC_MESSAGE _pRpcMessage,
  1785.     DWORD *_pdwStubPhase);
  1786. HRESULT STDMETHODCALLTYPE IActiveIMMIME_CreateSoftKeyboard_Proxy( 
  1787.     IActiveIMMIME * This,
  1788.     /* [in] */ UINT uType,
  1789.     /* [in] */ HWND hOwner,
  1790.     /* [in] */ int x,
  1791.     /* [in] */ int y,
  1792.     /* [out] */ HWND *phSoftKbdWnd);
  1793. void __RPC_STUB IActiveIMMIME_CreateSoftKeyboard_Stub(
  1794.     IRpcStubBuffer *This,
  1795.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1796.     PRPC_MESSAGE _pRpcMessage,
  1797.     DWORD *_pdwStubPhase);
  1798. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DestroySoftKeyboard_Proxy( 
  1799.     IActiveIMMIME * This,
  1800.     /* [in] */ HWND hSoftKbdWnd);
  1801. void __RPC_STUB IActiveIMMIME_DestroySoftKeyboard_Stub(
  1802.     IRpcStubBuffer *This,
  1803.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1804.     PRPC_MESSAGE _pRpcMessage,
  1805.     DWORD *_pdwStubPhase);
  1806. HRESULT STDMETHODCALLTYPE IActiveIMMIME_ShowSoftKeyboard_Proxy( 
  1807.     IActiveIMMIME * This,
  1808.     /* [in] */ HWND hSoftKbdWnd,
  1809.     /* [in] */ int nCmdShow);
  1810. void __RPC_STUB IActiveIMMIME_ShowSoftKeyboard_Stub(
  1811.     IRpcStubBuffer *This,
  1812.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1813.     PRPC_MESSAGE _pRpcMessage,
  1814.     DWORD *_pdwStubPhase);
  1815. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetCodePageA_Proxy( 
  1816.     IActiveIMMIME * This,
  1817.     /* [in] */ HKL hKL,
  1818.     /* [out] */ UINT *uCodePage);
  1819. void __RPC_STUB IActiveIMMIME_GetCodePageA_Stub(
  1820.     IRpcStubBuffer *This,
  1821.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1822.     PRPC_MESSAGE _pRpcMessage,
  1823.     DWORD *_pdwStubPhase);
  1824. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetLangId_Proxy( 
  1825.     IActiveIMMIME * This,
  1826.     /* [in] */ HKL hKL,
  1827.     /* [out] */ LANGID *plid);
  1828. void __RPC_STUB IActiveIMMIME_GetLangId_Stub(
  1829.     IRpcStubBuffer *This,
  1830.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1831.     PRPC_MESSAGE _pRpcMessage,
  1832.     DWORD *_pdwStubPhase);
  1833. HRESULT STDMETHODCALLTYPE IActiveIMMIME_KeybdEvent_Proxy( 
  1834.     IActiveIMMIME * This,
  1835.     /* [in] */ LANGID lgidIME,
  1836.     /* [in] */ BYTE bVk,
  1837.     /* [in] */ BYTE bScan,
  1838.     /* [in] */ DWORD dwFlags,
  1839.     /* [in] */ DWORD dwExtraInfo);
  1840. void __RPC_STUB IActiveIMMIME_KeybdEvent_Stub(
  1841.     IRpcStubBuffer *This,
  1842.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1843.     PRPC_MESSAGE _pRpcMessage,
  1844.     DWORD *_pdwStubPhase);
  1845. HRESULT STDMETHODCALLTYPE IActiveIMMIME_LockModal_Proxy( 
  1846.     IActiveIMMIME * This);
  1847. void __RPC_STUB IActiveIMMIME_LockModal_Stub(
  1848.     IRpcStubBuffer *This,
  1849.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1850.     PRPC_MESSAGE _pRpcMessage,
  1851.     DWORD *_pdwStubPhase);
  1852. HRESULT STDMETHODCALLTYPE IActiveIMMIME_UnlockModal_Proxy( 
  1853.     IActiveIMMIME * This);
  1854. void __RPC_STUB IActiveIMMIME_UnlockModal_Stub(
  1855.     IRpcStubBuffer *This,
  1856.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1857.     PRPC_MESSAGE _pRpcMessage,
  1858.     DWORD *_pdwStubPhase);
  1859. HRESULT STDMETHODCALLTYPE IActiveIMMIME_AssociateContextEx_Proxy( 
  1860.     IActiveIMMIME * This,
  1861.     /* [in] */ HWND hWnd,
  1862.     /* [in] */ HIMC hIMC,
  1863.     /* [in] */ DWORD dwFlags);
  1864. void __RPC_STUB IActiveIMMIME_AssociateContextEx_Stub(
  1865.     IRpcStubBuffer *This,
  1866.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1867.     PRPC_MESSAGE _pRpcMessage,
  1868.     DWORD *_pdwStubPhase);
  1869. HRESULT STDMETHODCALLTYPE IActiveIMMIME_DisableIME_Proxy( 
  1870.     IActiveIMMIME * This,
  1871.     /* [in] */ DWORD idThread);
  1872. void __RPC_STUB IActiveIMMIME_DisableIME_Stub(
  1873.     IRpcStubBuffer *This,
  1874.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1875.     PRPC_MESSAGE _pRpcMessage,
  1876.     DWORD *_pdwStubPhase);
  1877. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetImeMenuItemsA_Proxy( 
  1878.     IActiveIMMIME * This,
  1879.     /* [in] */ HIMC hIMC,
  1880.     /* [in] */ DWORD dwFlags,
  1881.     /* [in] */ DWORD dwType,
  1882.     /* [in] */ IMEMENUITEMINFOA *pImeParentMenu,
  1883.     /* [out] */ IMEMENUITEMINFOA *pImeMenu,
  1884.     /* [in] */ DWORD dwSize,
  1885.     /* [out] */ DWORD *pdwResult);
  1886. void __RPC_STUB IActiveIMMIME_GetImeMenuItemsA_Stub(
  1887.     IRpcStubBuffer *This,
  1888.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1889.     PRPC_MESSAGE _pRpcMessage,
  1890.     DWORD *_pdwStubPhase);
  1891. HRESULT STDMETHODCALLTYPE IActiveIMMIME_GetImeMenuItemsW_Proxy( 
  1892.     IActiveIMMIME * This,
  1893.     /* [in] */ HIMC hIMC,
  1894.     /* [in] */ DWORD dwFlags,
  1895.     /* [in] */ DWORD dwType,
  1896.     /* [in] */ IMEMENUITEMINFOW *pImeParentMenu,
  1897.     /* [out] */ IMEMENUITEMINFOW *pImeMenu,
  1898.     /* [in] */ DWORD dwSize,
  1899.     /* [out] */ DWORD *pdwResult);
  1900. void __RPC_STUB IActiveIMMIME_GetImeMenuItemsW_Stub(
  1901.     IRpcStubBuffer *This,
  1902.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1903.     PRPC_MESSAGE _pRpcMessage,
  1904.     DWORD *_pdwStubPhase);
  1905. HRESULT STDMETHODCALLTYPE IActiveIMMIME_EnumInputContext_Proxy( 
  1906.     IActiveIMMIME * This,
  1907.     /* [in] */ DWORD idThread,
  1908.     /* [out] */ IEnumInputContext **ppEnum);
  1909. void __RPC_STUB IActiveIMMIME_EnumInputContext_Stub(
  1910.     IRpcStubBuffer *This,
  1911.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1912.     PRPC_MESSAGE _pRpcMessage,
  1913.     DWORD *_pdwStubPhase);
  1914. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RequestMessageA_Proxy( 
  1915.     IActiveIMMIME * This,
  1916.     /* [in] */ HIMC hIMC,
  1917.     /* [in] */ WPARAM wParam,
  1918.     /* [in] */ LPARAM lParam,
  1919.     /* [out] */ LRESULT *plResult);
  1920. void __RPC_STUB IActiveIMMIME_RequestMessageA_Stub(
  1921.     IRpcStubBuffer *This,
  1922.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1923.     PRPC_MESSAGE _pRpcMessage,
  1924.     DWORD *_pdwStubPhase);
  1925. HRESULT STDMETHODCALLTYPE IActiveIMMIME_RequestMessageW_Proxy( 
  1926.     IActiveIMMIME * This,
  1927.     /* [in] */ HIMC hIMC,
  1928.     /* [in] */ WPARAM wParam,
  1929.     /* [in] */ LPARAM lParam,
  1930.     /* [out] */ LRESULT *plResult);
  1931. void __RPC_STUB IActiveIMMIME_RequestMessageW_Stub(
  1932.     IRpcStubBuffer *This,
  1933.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1934.     PRPC_MESSAGE _pRpcMessage,
  1935.     DWORD *_pdwStubPhase);
  1936. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SendIMCA_Proxy( 
  1937.     IActiveIMMIME * This,
  1938.     /* [in] */ HWND hWnd,
  1939.     /* [in] */ UINT uMsg,
  1940.     /* [in] */ WPARAM wParam,
  1941.     /* [in] */ LPARAM lParam,
  1942.     /* [out] */ LRESULT *plResult);
  1943. void __RPC_STUB IActiveIMMIME_SendIMCA_Stub(
  1944.     IRpcStubBuffer *This,
  1945.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1946.     PRPC_MESSAGE _pRpcMessage,
  1947.     DWORD *_pdwStubPhase);
  1948. HRESULT STDMETHODCALLTYPE IActiveIMMIME_SendIMCW_Proxy( 
  1949.     IActiveIMMIME * This,
  1950.     /* [in] */ HWND hWnd,
  1951.     /* [in] */ UINT uMsg,
  1952.     /* [in] */ WPARAM wParam,
  1953.     /* [in] */ LPARAM lParam,
  1954.     /* [out] */ LRESULT *plResult);
  1955. void __RPC_STUB IActiveIMMIME_SendIMCW_Stub(
  1956.     IRpcStubBuffer *This,
  1957.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1958.     PRPC_MESSAGE _pRpcMessage,
  1959.     DWORD *_pdwStubPhase);
  1960. HRESULT STDMETHODCALLTYPE IActiveIMMIME_IsSleeping_Proxy( 
  1961.     IActiveIMMIME * This);
  1962. void __RPC_STUB IActiveIMMIME_IsSleeping_Stub(
  1963.     IRpcStubBuffer *This,
  1964.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1965.     PRPC_MESSAGE _pRpcMessage,
  1966.     DWORD *_pdwStubPhase);
  1967. #endif  /* __IActiveIMMIME_INTERFACE_DEFINED__ */
  1968. #ifndef __IActiveIME_INTERFACE_DEFINED__
  1969. #define __IActiveIME_INTERFACE_DEFINED__
  1970. /* interface IActiveIME */
  1971. /* [unique][uuid][object] */ 
  1972. EXTERN_C const IID IID_IActiveIME;
  1973. #if defined(__cplusplus) && !defined(CINTERFACE)
  1974.     
  1975.     MIDL_INTERFACE("6FE20962-D077-11d0-8FE7-00AA006BCC59")
  1976.     IActiveIME : public IUnknown
  1977.     {
  1978.     public:
  1979.         virtual HRESULT STDMETHODCALLTYPE Inquire( 
  1980.             /* [in] */ DWORD dwSystemInfoFlags,
  1981.             /* [out] */ IMEINFO *pIMEInfo,
  1982.             /* [out] */ LPWSTR szWndClass,
  1983.             /* [out] */ DWORD *pdwPrivate) = 0;
  1984.         
  1985.         virtual HRESULT STDMETHODCALLTYPE ConversionList( 
  1986.             /* [in] */ HIMC hIMC,
  1987.             /* [in] */ LPWSTR szSource,
  1988.             /* [in] */ UINT uFlag,
  1989.             /* [in] */ UINT uBufLen,
  1990.             /* [out] */ CANDIDATELIST *pDest,
  1991.             /* [out] */ UINT *puCopied) = 0;
  1992.         
  1993.         virtual HRESULT STDMETHODCALLTYPE Configure( 
  1994.             /* [in] */ HKL hKL,
  1995.             /* [in] */ HWND hWnd,
  1996.             /* [in] */ DWORD dwMode,
  1997.             /* [in] */ REGISTERWORDW *pRegisterWord) = 0;
  1998.         
  1999.         virtual HRESULT STDMETHODCALLTYPE Destroy( 
  2000.             /* [in] */ UINT uReserved) = 0;
  2001.         
  2002.         virtual HRESULT STDMETHODCALLTYPE Escape( 
  2003.             /* [in] */ HIMC hIMC,
  2004.             /* [in] */ UINT uEscape,
  2005.             /* [out][in] */ void *pData,
  2006.             /* [out] */ LRESULT *plResult) = 0;
  2007.         
  2008.         virtual HRESULT STDMETHODCALLTYPE SetActiveContext( 
  2009.             /* [in] */ HIMC hIMC,
  2010.             /* [in] */ BOOL fFlag) = 0;
  2011.         
  2012.         virtual HRESULT STDMETHODCALLTYPE ProcessKey( 
  2013.             /* [in] */ HIMC hIMC,
  2014.             /* [in] */ UINT uVirKey,
  2015.             /* [in] */ DWORD lParam,
  2016.             /* [in] */ BYTE *pbKeyState) = 0;
  2017.         
  2018.         virtual HRESULT STDMETHODCALLTYPE Notify( 
  2019.             /* [in] */ HIMC hIMC,
  2020.             /* [in] */ DWORD dwAction,
  2021.             /* [in] */ DWORD dwIndex,
  2022.             /* [in] */ DWORD dwValue) = 0;
  2023.         
  2024.         virtual HRESULT STDMETHODCALLTYPE Select( 
  2025.             /* [in] */ HIMC hIMC,
  2026.             /* [in] */ BOOL fSelect) = 0;
  2027.         
  2028.         virtual HRESULT STDMETHODCALLTYPE SetCompositionString( 
  2029.             /* [in] */ HIMC hIMC,
  2030.             /* [in] */ DWORD dwIndex,
  2031.             /* [in] */ void *pComp,
  2032.             /* [in] */ DWORD dwCompLen,
  2033.             /* [in] */ void *pRead,
  2034.             /* [in] */ DWORD dwReadLen) = 0;
  2035.         
  2036.         virtual HRESULT STDMETHODCALLTYPE ToAsciiEx( 
  2037.             /* [in] */ UINT uVirKey,
  2038.             /* [in] */ UINT uScanCode,
  2039.             /* [in] */ BYTE *pbKeyState,
  2040.             /* [in] */ UINT fuState,
  2041.             /* [in] */ HIMC hIMC,
  2042.             /* [out] */ DWORD *pdwTransBuf,
  2043.             /* [out] */ UINT *puSize) = 0;
  2044.         
  2045.         virtual HRESULT STDMETHODCALLTYPE RegisterWord( 
  2046.             /* [in] */ LPWSTR szReading,
  2047.             /* [in] */ DWORD dwStyle,
  2048.             /* [in] */ LPWSTR szString) = 0;
  2049.         
  2050.         virtual HRESULT STDMETHODCALLTYPE UnregisterWord( 
  2051.             /* [in] */ LPWSTR szReading,
  2052.             /* [in] */ DWORD dwStyle,
  2053.             /* [in] */ LPWSTR szString) = 0;
  2054.         
  2055.         virtual HRESULT STDMETHODCALLTYPE GetRegisterWordStyle( 
  2056.             /* [in] */ UINT nItem,
  2057.             /* [out] */ STYLEBUFW *pStyleBuf,
  2058.             /* [out] */ UINT *puBufSize) = 0;
  2059.         
  2060.         virtual HRESULT STDMETHODCALLTYPE EnumRegisterWord( 
  2061.             /* [in] */ LPWSTR szReading,
  2062.             /* [in] */ DWORD dwStyle,
  2063.             /* [in] */ LPWSTR szRegister,
  2064.             /* [in] */ LPVOID pData,
  2065.             /* [out] */ IEnumRegisterWordW **ppEnum) = 0;
  2066.         
  2067.         virtual HRESULT STDMETHODCALLTYPE GetCodePageA( 
  2068.             /* [out] */ UINT *uCodePage) = 0;
  2069.         
  2070.         virtual HRESULT STDMETHODCALLTYPE GetLangId( 
  2071.             /* [out] */ LANGID *plid) = 0;
  2072.         
  2073.     };
  2074.     
  2075. #else  /* C style interface */
  2076.     typedef struct IActiveIMEVtbl
  2077.     {
  2078.         BEGIN_INTERFACE
  2079.         
  2080.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2081.             IActiveIME * This,
  2082.             /* [in] */ REFIID riid,
  2083.             /* [iid_is][out] */ void **ppvObject);
  2084.         
  2085.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2086.             IActiveIME * This);
  2087.         
  2088.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2089.             IActiveIME * This);
  2090.         
  2091.         HRESULT ( STDMETHODCALLTYPE *Inquire )( 
  2092.             IActiveIME * This,
  2093.             /* [in] */ DWORD dwSystemInfoFlags,
  2094.             /* [out] */ IMEINFO *pIMEInfo,
  2095.             /* [out] */ LPWSTR szWndClass,
  2096.             /* [out] */ DWORD *pdwPrivate);
  2097.         
  2098.         HRESULT ( STDMETHODCALLTYPE *ConversionList )( 
  2099.             IActiveIME * This,
  2100.             /* [in] */ HIMC hIMC,
  2101.             /* [in] */ LPWSTR szSource,
  2102.             /* [in] */ UINT uFlag,
  2103.             /* [in] */ UINT uBufLen,
  2104.             /* [out] */ CANDIDATELIST *pDest,
  2105.             /* [out] */ UINT *puCopied);
  2106.         
  2107.         HRESULT ( STDMETHODCALLTYPE *Configure )( 
  2108.             IActiveIME * This,
  2109.             /* [in] */ HKL hKL,
  2110.             /* [in] */ HWND hWnd,
  2111.             /* [in] */ DWORD dwMode,
  2112.             /* [in] */ REGISTERWORDW *pRegisterWord);
  2113.         
  2114.         HRESULT ( STDMETHODCALLTYPE *Destroy )( 
  2115.             IActiveIME * This,
  2116.             /* [in] */ UINT uReserved);
  2117.         
  2118.         HRESULT ( STDMETHODCALLTYPE *Escape )( 
  2119.             IActiveIME * This,
  2120.             /* [in] */ HIMC hIMC,
  2121.             /* [in] */ UINT uEscape,
  2122.             /* [out][in] */ void *pData,
  2123.             /* [out] */ LRESULT *plResult);
  2124.         
  2125.         HRESULT ( STDMETHODCALLTYPE *SetActiveContext )( 
  2126.             IActiveIME * This,
  2127.             /* [in] */ HIMC hIMC,
  2128.             /* [in] */ BOOL fFlag);
  2129.         
  2130.         HRESULT ( STDMETHODCALLTYPE *ProcessKey )( 
  2131.             IActiveIME * This,
  2132.             /* [in] */ HIMC hIMC,
  2133.             /* [in] */ UINT uVirKey,
  2134.             /* [in] */ DWORD lParam,
  2135.             /* [in] */ BYTE *pbKeyState);
  2136.         
  2137.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  2138.             IActiveIME * This,
  2139.             /* [in] */ HIMC hIMC,
  2140.             /* [in] */ DWORD dwAction,
  2141.             /* [in] */ DWORD dwIndex,
  2142.             /* [in] */ DWORD dwValue);
  2143.         
  2144.         HRESULT ( STDMETHODCALLTYPE *Select )( 
  2145.             IActiveIME * This,
  2146.             /* [in] */ HIMC hIMC,
  2147.             /* [in] */ BOOL fSelect);
  2148.         
  2149.         HRESULT ( STDMETHODCALLTYPE *SetCompositionString )( 
  2150.             IActiveIME * This,
  2151.             /* [in] */ HIMC hIMC,
  2152.             /* [in] */ DWORD dwIndex,
  2153.             /* [in] */ void *pComp,
  2154.             /* [in] */ DWORD dwCompLen,
  2155.             /* [in] */ void *pRead,
  2156.             /* [in] */ DWORD dwReadLen);
  2157.         
  2158.         HRESULT ( STDMETHODCALLTYPE *ToAsciiEx )( 
  2159.             IActiveIME * This,
  2160.             /* [in] */ UINT uVirKey,
  2161.             /* [in] */ UINT uScanCode,
  2162.             /* [in] */ BYTE *pbKeyState,
  2163.             /* [in] */ UINT fuState,
  2164.             /* [in] */ HIMC hIMC,
  2165.             /* [out] */ DWORD *pdwTransBuf,
  2166.             /* [out] */ UINT *puSize);
  2167.         
  2168.         HRESULT ( STDMETHODCALLTYPE *RegisterWord )( 
  2169.             IActiveIME * This,
  2170.             /* [in] */ LPWSTR szReading,
  2171.             /* [in] */ DWORD dwStyle,
  2172.             /* [in] */ LPWSTR szString);
  2173.         
  2174.         HRESULT ( STDMETHODCALLTYPE *UnregisterWord )( 
  2175.             IActiveIME * This,
  2176.             /* [in] */ LPWSTR szReading,
  2177.             /* [in] */ DWORD dwStyle,
  2178.             /* [in] */ LPWSTR szString);
  2179.         
  2180.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyle )( 
  2181.             IActiveIME * This,
  2182.             /* [in] */ UINT nItem,
  2183.             /* [out] */ STYLEBUFW *pStyleBuf,
  2184.             /* [out] */ UINT *puBufSize);
  2185.         
  2186.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWord )( 
  2187.             IActiveIME * This,
  2188.             /* [in] */ LPWSTR szReading,
  2189.             /* [in] */ DWORD dwStyle,
  2190.             /* [in] */ LPWSTR szRegister,
  2191.             /* [in] */ LPVOID pData,
  2192.             /* [out] */ IEnumRegisterWordW **ppEnum);
  2193.         
  2194.         HRESULT ( STDMETHODCALLTYPE *GetCodePageA )( 
  2195.             IActiveIME * This,
  2196.             /* [out] */ UINT *uCodePage);
  2197.         
  2198.         HRESULT ( STDMETHODCALLTYPE *GetLangId )( 
  2199.             IActiveIME * This,
  2200.             /* [out] */ LANGID *plid);
  2201.         
  2202.         END_INTERFACE
  2203.     } IActiveIMEVtbl;
  2204.     interface IActiveIME
  2205.     {
  2206.         CONST_VTBL struct IActiveIMEVtbl *lpVtbl;
  2207.     };
  2208.     
  2209. #ifdef COBJMACROS
  2210. #define IActiveIME_QueryInterface(This,riid,ppvObject)
  2211.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2212. #define IActiveIME_AddRef(This)
  2213.     (This)->lpVtbl -> AddRef(This)
  2214. #define IActiveIME_Release(This)
  2215.     (This)->lpVtbl -> Release(This)
  2216. #define IActiveIME_Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  2217.     (This)->lpVtbl -> Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  2218. #define IActiveIME_ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  2219.     (This)->lpVtbl -> ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  2220. #define IActiveIME_Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  2221.     (This)->lpVtbl -> Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  2222. #define IActiveIME_Destroy(This,uReserved)
  2223.     (This)->lpVtbl -> Destroy(This,uReserved)
  2224. #define IActiveIME_Escape(This,hIMC,uEscape,pData,plResult)
  2225.     (This)->lpVtbl -> Escape(This,hIMC,uEscape,pData,plResult)
  2226. #define IActiveIME_SetActiveContext(This,hIMC,fFlag)
  2227.     (This)->lpVtbl -> SetActiveContext(This,hIMC,fFlag)
  2228. #define IActiveIME_ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  2229.     (This)->lpVtbl -> ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  2230. #define IActiveIME_Notify(This,hIMC,dwAction,dwIndex,dwValue)
  2231.     (This)->lpVtbl -> Notify(This,hIMC,dwAction,dwIndex,dwValue)
  2232. #define IActiveIME_Select(This,hIMC,fSelect)
  2233.     (This)->lpVtbl -> Select(This,hIMC,fSelect)
  2234. #define IActiveIME_SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  2235.     (This)->lpVtbl -> SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  2236. #define IActiveIME_ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  2237.     (This)->lpVtbl -> ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  2238. #define IActiveIME_RegisterWord(This,szReading,dwStyle,szString)
  2239.     (This)->lpVtbl -> RegisterWord(This,szReading,dwStyle,szString)
  2240. #define IActiveIME_UnregisterWord(This,szReading,dwStyle,szString)
  2241.     (This)->lpVtbl -> UnregisterWord(This,szReading,dwStyle,szString)
  2242. #define IActiveIME_GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  2243.     (This)->lpVtbl -> GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  2244. #define IActiveIME_EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  2245.     (This)->lpVtbl -> EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  2246. #define IActiveIME_GetCodePageA(This,uCodePage)
  2247.     (This)->lpVtbl -> GetCodePageA(This,uCodePage)
  2248. #define IActiveIME_GetLangId(This,plid)
  2249.     (This)->lpVtbl -> GetLangId(This,plid)
  2250. #endif /* COBJMACROS */
  2251. #endif  /* C style interface */
  2252. HRESULT STDMETHODCALLTYPE IActiveIME_Inquire_Proxy( 
  2253.     IActiveIME * This,
  2254.     /* [in] */ DWORD dwSystemInfoFlags,
  2255.     /* [out] */ IMEINFO *pIMEInfo,
  2256.     /* [out] */ LPWSTR szWndClass,
  2257.     /* [out] */ DWORD *pdwPrivate);
  2258. void __RPC_STUB IActiveIME_Inquire_Stub(
  2259.     IRpcStubBuffer *This,
  2260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2261.     PRPC_MESSAGE _pRpcMessage,
  2262.     DWORD *_pdwStubPhase);
  2263. HRESULT STDMETHODCALLTYPE IActiveIME_ConversionList_Proxy( 
  2264.     IActiveIME * This,
  2265.     /* [in] */ HIMC hIMC,
  2266.     /* [in] */ LPWSTR szSource,
  2267.     /* [in] */ UINT uFlag,
  2268.     /* [in] */ UINT uBufLen,
  2269.     /* [out] */ CANDIDATELIST *pDest,
  2270.     /* [out] */ UINT *puCopied);
  2271. void __RPC_STUB IActiveIME_ConversionList_Stub(
  2272.     IRpcStubBuffer *This,
  2273.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2274.     PRPC_MESSAGE _pRpcMessage,
  2275.     DWORD *_pdwStubPhase);
  2276. HRESULT STDMETHODCALLTYPE IActiveIME_Configure_Proxy( 
  2277.     IActiveIME * This,
  2278.     /* [in] */ HKL hKL,
  2279.     /* [in] */ HWND hWnd,
  2280.     /* [in] */ DWORD dwMode,
  2281.     /* [in] */ REGISTERWORDW *pRegisterWord);
  2282. void __RPC_STUB IActiveIME_Configure_Stub(
  2283.     IRpcStubBuffer *This,
  2284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2285.     PRPC_MESSAGE _pRpcMessage,
  2286.     DWORD *_pdwStubPhase);
  2287. HRESULT STDMETHODCALLTYPE IActiveIME_Destroy_Proxy( 
  2288.     IActiveIME * This,
  2289.     /* [in] */ UINT uReserved);
  2290. void __RPC_STUB IActiveIME_Destroy_Stub(
  2291.     IRpcStubBuffer *This,
  2292.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2293.     PRPC_MESSAGE _pRpcMessage,
  2294.     DWORD *_pdwStubPhase);
  2295. HRESULT STDMETHODCALLTYPE IActiveIME_Escape_Proxy( 
  2296.     IActiveIME * This,
  2297.     /* [in] */ HIMC hIMC,
  2298.     /* [in] */ UINT uEscape,
  2299.     /* [out][in] */ void *pData,
  2300.     /* [out] */ LRESULT *plResult);
  2301. void __RPC_STUB IActiveIME_Escape_Stub(
  2302.     IRpcStubBuffer *This,
  2303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2304.     PRPC_MESSAGE _pRpcMessage,
  2305.     DWORD *_pdwStubPhase);
  2306. HRESULT STDMETHODCALLTYPE IActiveIME_SetActiveContext_Proxy( 
  2307.     IActiveIME * This,
  2308.     /* [in] */ HIMC hIMC,
  2309.     /* [in] */ BOOL fFlag);
  2310. void __RPC_STUB IActiveIME_SetActiveContext_Stub(
  2311.     IRpcStubBuffer *This,
  2312.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2313.     PRPC_MESSAGE _pRpcMessage,
  2314.     DWORD *_pdwStubPhase);
  2315. HRESULT STDMETHODCALLTYPE IActiveIME_ProcessKey_Proxy( 
  2316.     IActiveIME * This,
  2317.     /* [in] */ HIMC hIMC,
  2318.     /* [in] */ UINT uVirKey,
  2319.     /* [in] */ DWORD lParam,
  2320.     /* [in] */ BYTE *pbKeyState);
  2321. void __RPC_STUB IActiveIME_ProcessKey_Stub(
  2322.     IRpcStubBuffer *This,
  2323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2324.     PRPC_MESSAGE _pRpcMessage,
  2325.     DWORD *_pdwStubPhase);
  2326. HRESULT STDMETHODCALLTYPE IActiveIME_Notify_Proxy( 
  2327.     IActiveIME * This,
  2328.     /* [in] */ HIMC hIMC,
  2329.     /* [in] */ DWORD dwAction,
  2330.     /* [in] */ DWORD dwIndex,
  2331.     /* [in] */ DWORD dwValue);
  2332. void __RPC_STUB IActiveIME_Notify_Stub(
  2333.     IRpcStubBuffer *This,
  2334.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2335.     PRPC_MESSAGE _pRpcMessage,
  2336.     DWORD *_pdwStubPhase);
  2337. HRESULT STDMETHODCALLTYPE IActiveIME_Select_Proxy( 
  2338.     IActiveIME * This,
  2339.     /* [in] */ HIMC hIMC,
  2340.     /* [in] */ BOOL fSelect);
  2341. void __RPC_STUB IActiveIME_Select_Stub(
  2342.     IRpcStubBuffer *This,
  2343.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2344.     PRPC_MESSAGE _pRpcMessage,
  2345.     DWORD *_pdwStubPhase);
  2346. HRESULT STDMETHODCALLTYPE IActiveIME_SetCompositionString_Proxy( 
  2347.     IActiveIME * This,
  2348.     /* [in] */ HIMC hIMC,
  2349.     /* [in] */ DWORD dwIndex,
  2350.     /* [in] */ void *pComp,
  2351.     /* [in] */ DWORD dwCompLen,
  2352.     /* [in] */ void *pRead,
  2353.     /* [in] */ DWORD dwReadLen);
  2354. void __RPC_STUB IActiveIME_SetCompositionString_Stub(
  2355.     IRpcStubBuffer *This,
  2356.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2357.     PRPC_MESSAGE _pRpcMessage,
  2358.     DWORD *_pdwStubPhase);
  2359. HRESULT STDMETHODCALLTYPE IActiveIME_ToAsciiEx_Proxy( 
  2360.     IActiveIME * This,
  2361.     /* [in] */ UINT uVirKey,
  2362.     /* [in] */ UINT uScanCode,
  2363.     /* [in] */ BYTE *pbKeyState,
  2364.     /* [in] */ UINT fuState,
  2365.     /* [in] */ HIMC hIMC,
  2366.     /* [out] */ DWORD *pdwTransBuf,
  2367.     /* [out] */ UINT *puSize);
  2368. void __RPC_STUB IActiveIME_ToAsciiEx_Stub(
  2369.     IRpcStubBuffer *This,
  2370.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2371.     PRPC_MESSAGE _pRpcMessage,
  2372.     DWORD *_pdwStubPhase);
  2373. HRESULT STDMETHODCALLTYPE IActiveIME_RegisterWord_Proxy( 
  2374.     IActiveIME * This,
  2375.     /* [in] */ LPWSTR szReading,
  2376.     /* [in] */ DWORD dwStyle,
  2377.     /* [in] */ LPWSTR szString);
  2378. void __RPC_STUB IActiveIME_RegisterWord_Stub(
  2379.     IRpcStubBuffer *This,
  2380.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2381.     PRPC_MESSAGE _pRpcMessage,
  2382.     DWORD *_pdwStubPhase);
  2383. HRESULT STDMETHODCALLTYPE IActiveIME_UnregisterWord_Proxy( 
  2384.     IActiveIME * This,
  2385.     /* [in] */ LPWSTR szReading,
  2386.     /* [in] */ DWORD dwStyle,
  2387.     /* [in] */ LPWSTR szString);
  2388. void __RPC_STUB IActiveIME_UnregisterWord_Stub(
  2389.     IRpcStubBuffer *This,
  2390.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2391.     PRPC_MESSAGE _pRpcMessage,
  2392.     DWORD *_pdwStubPhase);
  2393. HRESULT STDMETHODCALLTYPE IActiveIME_GetRegisterWordStyle_Proxy( 
  2394.     IActiveIME * This,
  2395.     /* [in] */ UINT nItem,
  2396.     /* [out] */ STYLEBUFW *pStyleBuf,
  2397.     /* [out] */ UINT *puBufSize);
  2398. void __RPC_STUB IActiveIME_GetRegisterWordStyle_Stub(
  2399.     IRpcStubBuffer *This,
  2400.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2401.     PRPC_MESSAGE _pRpcMessage,
  2402.     DWORD *_pdwStubPhase);
  2403. HRESULT STDMETHODCALLTYPE IActiveIME_EnumRegisterWord_Proxy( 
  2404.     IActiveIME * This,
  2405.     /* [in] */ LPWSTR szReading,
  2406.     /* [in] */ DWORD dwStyle,
  2407.     /* [in] */ LPWSTR szRegister,
  2408.     /* [in] */ LPVOID pData,
  2409.     /* [out] */ IEnumRegisterWordW **ppEnum);
  2410. void __RPC_STUB IActiveIME_EnumRegisterWord_Stub(
  2411.     IRpcStubBuffer *This,
  2412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2413.     PRPC_MESSAGE _pRpcMessage,
  2414.     DWORD *_pdwStubPhase);
  2415. HRESULT STDMETHODCALLTYPE IActiveIME_GetCodePageA_Proxy( 
  2416.     IActiveIME * This,
  2417.     /* [out] */ UINT *uCodePage);
  2418. void __RPC_STUB IActiveIME_GetCodePageA_Stub(
  2419.     IRpcStubBuffer *This,
  2420.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2421.     PRPC_MESSAGE _pRpcMessage,
  2422.     DWORD *_pdwStubPhase);
  2423. HRESULT STDMETHODCALLTYPE IActiveIME_GetLangId_Proxy( 
  2424.     IActiveIME * This,
  2425.     /* [out] */ LANGID *plid);
  2426. void __RPC_STUB IActiveIME_GetLangId_Stub(
  2427.     IRpcStubBuffer *This,
  2428.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2429.     PRPC_MESSAGE _pRpcMessage,
  2430.     DWORD *_pdwStubPhase);
  2431. #endif  /* __IActiveIME_INTERFACE_DEFINED__ */
  2432. #ifndef __IActiveIME2_INTERFACE_DEFINED__
  2433. #define __IActiveIME2_INTERFACE_DEFINED__
  2434. /* interface IActiveIME2 */
  2435. /* [unique][uuid][object] */ 
  2436. EXTERN_C const IID IID_IActiveIME2;
  2437. #if defined(__cplusplus) && !defined(CINTERFACE)
  2438.     
  2439.     MIDL_INTERFACE("e1c4bf0e-2d53-11d2-93e1-0060b067b86e")
  2440.     IActiveIME2 : public IActiveIME
  2441.     {
  2442.     public:
  2443.         virtual HRESULT STDMETHODCALLTYPE Sleep( void) = 0;
  2444.         
  2445.         virtual HRESULT STDMETHODCALLTYPE Unsleep( 
  2446.             /* [in] */ BOOL fDead) = 0;
  2447.         
  2448.     };
  2449.     
  2450. #else  /* C style interface */
  2451.     typedef struct IActiveIME2Vtbl
  2452.     {
  2453.         BEGIN_INTERFACE
  2454.         
  2455.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2456.             IActiveIME2 * This,
  2457.             /* [in] */ REFIID riid,
  2458.             /* [iid_is][out] */ void **ppvObject);
  2459.         
  2460.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2461.             IActiveIME2 * This);
  2462.         
  2463.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2464.             IActiveIME2 * This);
  2465.         
  2466.         HRESULT ( STDMETHODCALLTYPE *Inquire )( 
  2467.             IActiveIME2 * This,
  2468.             /* [in] */ DWORD dwSystemInfoFlags,
  2469.             /* [out] */ IMEINFO *pIMEInfo,
  2470.             /* [out] */ LPWSTR szWndClass,
  2471.             /* [out] */ DWORD *pdwPrivate);
  2472.         
  2473.         HRESULT ( STDMETHODCALLTYPE *ConversionList )( 
  2474.             IActiveIME2 * This,
  2475.             /* [in] */ HIMC hIMC,
  2476.             /* [in] */ LPWSTR szSource,
  2477.             /* [in] */ UINT uFlag,
  2478.             /* [in] */ UINT uBufLen,
  2479.             /* [out] */ CANDIDATELIST *pDest,
  2480.             /* [out] */ UINT *puCopied);
  2481.         
  2482.         HRESULT ( STDMETHODCALLTYPE *Configure )( 
  2483.             IActiveIME2 * This,
  2484.             /* [in] */ HKL hKL,
  2485.             /* [in] */ HWND hWnd,
  2486.             /* [in] */ DWORD dwMode,
  2487.             /* [in] */ REGISTERWORDW *pRegisterWord);
  2488.         
  2489.         HRESULT ( STDMETHODCALLTYPE *Destroy )( 
  2490.             IActiveIME2 * This,
  2491.             /* [in] */ UINT uReserved);
  2492.         
  2493.         HRESULT ( STDMETHODCALLTYPE *Escape )( 
  2494.             IActiveIME2 * This,
  2495.             /* [in] */ HIMC hIMC,
  2496.             /* [in] */ UINT uEscape,
  2497.             /* [out][in] */ void *pData,
  2498.             /* [out] */ LRESULT *plResult);
  2499.         
  2500.         HRESULT ( STDMETHODCALLTYPE *SetActiveContext )( 
  2501.             IActiveIME2 * This,
  2502.             /* [in] */ HIMC hIMC,
  2503.             /* [in] */ BOOL fFlag);
  2504.         
  2505.         HRESULT ( STDMETHODCALLTYPE *ProcessKey )( 
  2506.             IActiveIME2 * This,
  2507.             /* [in] */ HIMC hIMC,
  2508.             /* [in] */ UINT uVirKey,
  2509.             /* [in] */ DWORD lParam,
  2510.             /* [in] */ BYTE *pbKeyState);
  2511.         
  2512.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  2513.             IActiveIME2 * This,
  2514.             /* [in] */ HIMC hIMC,
  2515.             /* [in] */ DWORD dwAction,
  2516.             /* [in] */ DWORD dwIndex,
  2517.             /* [in] */ DWORD dwValue);
  2518.         
  2519.         HRESULT ( STDMETHODCALLTYPE *Select )( 
  2520.             IActiveIME2 * This,
  2521.             /* [in] */ HIMC hIMC,
  2522.             /* [in] */ BOOL fSelect);
  2523.         
  2524.         HRESULT ( STDMETHODCALLTYPE *SetCompositionString )( 
  2525.             IActiveIME2 * This,
  2526.             /* [in] */ HIMC hIMC,
  2527.             /* [in] */ DWORD dwIndex,
  2528.             /* [in] */ void *pComp,
  2529.             /* [in] */ DWORD dwCompLen,
  2530.             /* [in] */ void *pRead,
  2531.             /* [in] */ DWORD dwReadLen);
  2532.         
  2533.         HRESULT ( STDMETHODCALLTYPE *ToAsciiEx )( 
  2534.             IActiveIME2 * This,
  2535.             /* [in] */ UINT uVirKey,
  2536.             /* [in] */ UINT uScanCode,
  2537.             /* [in] */ BYTE *pbKeyState,
  2538.             /* [in] */ UINT fuState,
  2539.             /* [in] */ HIMC hIMC,
  2540.             /* [out] */ DWORD *pdwTransBuf,
  2541.             /* [out] */ UINT *puSize);
  2542.         
  2543.         HRESULT ( STDMETHODCALLTYPE *RegisterWord )( 
  2544.             IActiveIME2 * This,
  2545.             /* [in] */ LPWSTR szReading,
  2546.             /* [in] */ DWORD dwStyle,
  2547.             /* [in] */ LPWSTR szString);
  2548.         
  2549.         HRESULT ( STDMETHODCALLTYPE *UnregisterWord )( 
  2550.             IActiveIME2 * This,
  2551.             /* [in] */ LPWSTR szReading,
  2552.             /* [in] */ DWORD dwStyle,
  2553.             /* [in] */ LPWSTR szString);
  2554.         
  2555.         HRESULT ( STDMETHODCALLTYPE *GetRegisterWordStyle )( 
  2556.             IActiveIME2 * This,
  2557.             /* [in] */ UINT nItem,
  2558.             /* [out] */ STYLEBUFW *pStyleBuf,
  2559.             /* [out] */ UINT *puBufSize);
  2560.         
  2561.         HRESULT ( STDMETHODCALLTYPE *EnumRegisterWord )( 
  2562.             IActiveIME2 * This,
  2563.             /* [in] */ LPWSTR szReading,
  2564.             /* [in] */ DWORD dwStyle,
  2565.             /* [in] */ LPWSTR szRegister,
  2566.             /* [in] */ LPVOID pData,
  2567.             /* [out] */ IEnumRegisterWordW **ppEnum);
  2568.         
  2569.         HRESULT ( STDMETHODCALLTYPE *GetCodePageA )( 
  2570.             IActiveIME2 * This,
  2571.             /* [out] */ UINT *uCodePage);
  2572.         
  2573.         HRESULT ( STDMETHODCALLTYPE *GetLangId )( 
  2574.             IActiveIME2 * This,
  2575.             /* [out] */ LANGID *plid);
  2576.         
  2577.         HRESULT ( STDMETHODCALLTYPE *Sleep )( 
  2578.             IActiveIME2 * This);
  2579.         
  2580.         HRESULT ( STDMETHODCALLTYPE *Unsleep )( 
  2581.             IActiveIME2 * This,
  2582.             /* [in] */ BOOL fDead);
  2583.         
  2584.         END_INTERFACE
  2585.     } IActiveIME2Vtbl;
  2586.     interface IActiveIME2
  2587.     {
  2588.         CONST_VTBL struct IActiveIME2Vtbl *lpVtbl;
  2589.     };
  2590.     
  2591. #ifdef COBJMACROS
  2592. #define IActiveIME2_QueryInterface(This,riid,ppvObject)
  2593.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2594. #define IActiveIME2_AddRef(This)
  2595.     (This)->lpVtbl -> AddRef(This)
  2596. #define IActiveIME2_Release(This)
  2597.     (This)->lpVtbl -> Release(This)
  2598. #define IActiveIME2_Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  2599.     (This)->lpVtbl -> Inquire(This,dwSystemInfoFlags,pIMEInfo,szWndClass,pdwPrivate)
  2600. #define IActiveIME2_ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  2601.     (This)->lpVtbl -> ConversionList(This,hIMC,szSource,uFlag,uBufLen,pDest,puCopied)
  2602. #define IActiveIME2_Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  2603.     (This)->lpVtbl -> Configure(This,hKL,hWnd,dwMode,pRegisterWord)
  2604. #define IActiveIME2_Destroy(This,uReserved)
  2605.     (This)->lpVtbl -> Destroy(This,uReserved)
  2606. #define IActiveIME2_Escape(This,hIMC,uEscape,pData,plResult)
  2607.     (This)->lpVtbl -> Escape(This,hIMC,uEscape,pData,plResult)
  2608. #define IActiveIME2_SetActiveContext(This,hIMC,fFlag)
  2609.     (This)->lpVtbl -> SetActiveContext(This,hIMC,fFlag)
  2610. #define IActiveIME2_ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  2611.     (This)->lpVtbl -> ProcessKey(This,hIMC,uVirKey,lParam,pbKeyState)
  2612. #define IActiveIME2_Notify(This,hIMC,dwAction,dwIndex,dwValue)
  2613.     (This)->lpVtbl -> Notify(This,hIMC,dwAction,dwIndex,dwValue)
  2614. #define IActiveIME2_Select(This,hIMC,fSelect)
  2615.     (This)->lpVtbl -> Select(This,hIMC,fSelect)
  2616. #define IActiveIME2_SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  2617.     (This)->lpVtbl -> SetCompositionString(This,hIMC,dwIndex,pComp,dwCompLen,pRead,dwReadLen)
  2618. #define IActiveIME2_ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  2619.     (This)->lpVtbl -> ToAsciiEx(This,uVirKey,uScanCode,pbKeyState,fuState,hIMC,pdwTransBuf,puSize)
  2620. #define IActiveIME2_RegisterWord(This,szReading,dwStyle,szString)
  2621.     (This)->lpVtbl -> RegisterWord(This,szReading,dwStyle,szString)
  2622. #define IActiveIME2_UnregisterWord(This,szReading,dwStyle,szString)
  2623.     (This)->lpVtbl -> UnregisterWord(This,szReading,dwStyle,szString)
  2624. #define IActiveIME2_GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  2625.     (This)->lpVtbl -> GetRegisterWordStyle(This,nItem,pStyleBuf,puBufSize)
  2626. #define IActiveIME2_EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  2627.     (This)->lpVtbl -> EnumRegisterWord(This,szReading,dwStyle,szRegister,pData,ppEnum)
  2628. #define IActiveIME2_GetCodePageA(This,uCodePage)
  2629.     (This)->lpVtbl -> GetCodePageA(This,uCodePage)
  2630. #define IActiveIME2_GetLangId(This,plid)
  2631.     (This)->lpVtbl -> GetLangId(This,plid)
  2632. #define IActiveIME2_Sleep(This)
  2633.     (This)->lpVtbl -> Sleep(This)
  2634. #define IActiveIME2_Unsleep(This,fDead)
  2635.     (This)->lpVtbl -> Unsleep(This,fDead)
  2636. #endif /* COBJMACROS */
  2637. #endif  /* C style interface */
  2638. HRESULT STDMETHODCALLTYPE IActiveIME2_Sleep_Proxy( 
  2639.     IActiveIME2 * This);
  2640. void __RPC_STUB IActiveIME2_Sleep_Stub(
  2641.     IRpcStubBuffer *This,
  2642.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2643.     PRPC_MESSAGE _pRpcMessage,
  2644.     DWORD *_pdwStubPhase);
  2645. HRESULT STDMETHODCALLTYPE IActiveIME2_Unsleep_Proxy( 
  2646.     IActiveIME2 * This,
  2647.     /* [in] */ BOOL fDead);
  2648. void __RPC_STUB IActiveIME2_Unsleep_Stub(
  2649.     IRpcStubBuffer *This,
  2650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2651.     PRPC_MESSAGE _pRpcMessage,
  2652.     DWORD *_pdwStubPhase);
  2653. #endif  /* __IActiveIME2_INTERFACE_DEFINED__ */
  2654. EXTERN_C const CLSID CLSID_CActiveIMM;
  2655. #ifdef __cplusplus
  2656. class DECLSPEC_UUID("4955DD33-B159-11d0-8FCF-00AA006BCC59")
  2657. CActiveIMM;
  2658. #endif
  2659. #endif /* __ActiveIMM_LIBRARY_DEFINED__ */
  2660. /* Additional Prototypes for ALL interfaces */
  2661. /* end of Additional Prototypes */
  2662. #ifdef __cplusplus
  2663. }
  2664. #endif
  2665. #endif