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.

64 lines
1.2 KiB

  1. // MSAAClientAdapter.cpp : Implementation of AccClientDocMgr
  2. #include "stdafx.h"
  3. #include "MSAAText.h"
  4. #include "MSAAClientAdapter.h"
  5. #include "MSAAStore.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // AccClientDocMgr
  8. CAccClientDocMgr::CAccClientDocMgr()
  9. {
  10. IMETHOD( CAccClientDocMgr );
  11. }
  12. CAccClientDocMgr::~CAccClientDocMgr()
  13. {
  14. IMETHOD( ~CAccClientDocMgr );
  15. m_pAccStore->Release();
  16. }
  17. HRESULT STDMETHODCALLTYPE CAccClientDocMgr::GetDocuments (
  18. IEnumUnknown ** enumUnknown
  19. )
  20. {
  21. IMETHOD( GetDocuments );
  22. return m_pAccStore->GetDocuments( enumUnknown );
  23. }
  24. HRESULT STDMETHODCALLTYPE CAccClientDocMgr::LookupByHWND (
  25. HWND hWnd,
  26. REFIID riid,
  27. IUnknown ** ppunk
  28. )
  29. {
  30. IMETHOD( LookupByHWND );
  31. return m_pAccStore->LookupByHWND( hWnd, riid, ppunk );
  32. }
  33. HRESULT STDMETHODCALLTYPE CAccClientDocMgr::LookupByPoint (
  34. POINT pt,
  35. REFIID riid,
  36. IUnknown ** ppunk
  37. )
  38. {
  39. IMETHOD( LookupByPoint );
  40. return m_pAccStore->LookupByPoint( pt, riid, ppunk );
  41. }
  42. HRESULT STDMETHODCALLTYPE CAccClientDocMgr::GetFocused (
  43. REFIID riid,
  44. IUnknown ** ppunk
  45. )
  46. {
  47. IMETHOD( GetFocused );
  48. return m_pAccStore->GetFocused( riid, ppunk );
  49. }