Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB

  1. #ifndef _IME_CON_POINT_H_
  2. #define _IME_CON_POINT_H_
  3. #include <windows.h>
  4. #include <objbase.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. //----------------------------------------------------------------
  9. // Interface Declaration
  10. //
  11. // {963732E2-CAB2-11d1-AFF1-00805F0C8B6D}
  12. DEFINE_GUID(IID_IImeConnectionPoint,
  13. 0x963732e2, 0xcab2, 0x11d1, 0xaf, 0xf1, 0x0, 0x80, 0x5f, 0xc, 0x8b, 0x6d);
  14. DECLARE_INTERFACE(IImeConnectionPoint);
  15. DECLARE_INTERFACE_(IImeConnectionPoint,IUnknown)
  16. {
  17. //--- IUnknown ---
  18. STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
  19. STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  20. STDMETHOD_(ULONG, Release)(THIS) PURE;
  21. //---- IImeConnectionPoint ----
  22. STDMETHOD(GetApplicationHWND)(THIS_ HWND *pHWND) PURE;
  23. STDMETHOD(Notify)(THIS_ UINT notify, WPARAM wParam, LPARAM lParam) PURE;
  24. };
  25. //----------------------------------------------------------------
  26. // IImeConnectionPoint::Notify()'s notify
  27. // IMECPNOTIFY_IMEPADOPENED
  28. // WPARAM wParam: not used. always 0
  29. // LPARAM lParam: not used. always 0
  30. //----------------------------------------------------------------
  31. #define IMECPNOTIFY_IMEPADOPENED 0
  32. //----------------------------------------------------------------
  33. // IImeConnectionPoint::Notify()'s notify
  34. // IMECPNOTIFY_IMEPADCLOSED
  35. // WPARAM wParam: not used. always 0
  36. // LPARAM lParam: not used. always 0
  37. //----------------------------------------------------------------
  38. #define IMECPNOTIFY_IMEPADCLOSED 1
  39. #ifdef __cplusplus
  40. };
  41. #endif
  42. #endif //_IME_CONN_POINT_H_