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.

42 lines
832 B

  1. //
  2. // pkes.h
  3. //
  4. // Generic ITfPreservedKeyNotifySink object
  5. //
  6. #ifndef RECONVCB_H
  7. #define RECONVCB_H
  8. #include "private.h"
  9. class CAImeContext;
  10. class CStartReconversionNotifySink : public ITfStartReconversionNotifySink
  11. {
  12. public:
  13. CStartReconversionNotifySink(CAImeContext *pAImeContext);
  14. //
  15. // IUnknown methods
  16. //
  17. STDMETHODIMP QueryInterface(REFIID riid, void **ppvObj);
  18. STDMETHODIMP_(ULONG) AddRef(void);
  19. STDMETHODIMP_(ULONG) Release(void);
  20. //
  21. // ITfStartReconversionNotifySink
  22. //
  23. STDMETHODIMP StartReconversion();
  24. STDMETHODIMP EndReconversion();
  25. HRESULT _Advise(ITfContext *pic);
  26. HRESULT _Unadvise();
  27. private:
  28. long _cRef;
  29. ITfContext *_pic;
  30. CAImeContext *_pAImeContext;
  31. DWORD _dwCookie;
  32. };
  33. #endif // RECONVCB_H