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.

65 lines
1.0 KiB

  1. // IHanjaInfo.cpp : Implementation of CHanjaInfo
  2. #include "stdafx.h"
  3. #include "HjDict.h"
  4. #include "IHanjaInfo.h"
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CHanjaInfo
  7. STDMETHODIMP CHanjaInfo::get_BusuID(short *pVal)
  8. {
  9. *pVal = m_nBusuID;
  10. return S_OK;
  11. }
  12. STDMETHODIMP CHanjaInfo::get_Stroke(short *pVal)
  13. {
  14. *pVal = m_nStroke;
  15. return S_OK;
  16. }
  17. STDMETHODIMP CHanjaInfo::get_StrokeExcludeBusu(short *pVal)
  18. {
  19. *pVal = m_nStrokeExcludeBusu;
  20. return S_OK;
  21. }
  22. STDMETHODIMP CHanjaInfo::get_Type(HANJA_TYPE *pVal)
  23. {
  24. *pVal = m_nType;
  25. return S_OK;
  26. }
  27. STDMETHODIMP CHanjaInfo::get_Meaning(BSTR *pVal)
  28. {
  29. *pVal = m_bstrMeaning.Copy();
  30. return S_OK;
  31. }
  32. STDMETHODIMP CHanjaInfo::get_Explain(BSTR *pVal)
  33. {
  34. *pVal = m_bstrExplain.Copy();
  35. return S_OK;
  36. }
  37. STDMETHODIMP CHanjaInfo::get_NextBusu(long *pVal)
  38. {
  39. *pVal = m_wchNextBusu;
  40. return S_OK;
  41. }
  42. STDMETHODIMP CHanjaInfo::get_NextStroke(long *pVal)
  43. {
  44. *pVal = m_wchNextStroke;
  45. return S_OK;
  46. }