windows-nt/Source/XPSP1/NT/windows/oleacc/msaatext/msaaclientadapter.cpp

65 lines
1.2 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
// MSAAClientAdapter.cpp : Implementation of AccClientDocMgr
#include "stdafx.h"
#include "MSAAText.h"
#include "MSAAClientAdapter.h"
#include "MSAAStore.h"
/////////////////////////////////////////////////////////////////////////////
// AccClientDocMgr
CAccClientDocMgr::CAccClientDocMgr()
{
IMETHOD( CAccClientDocMgr );
}
CAccClientDocMgr::~CAccClientDocMgr()
{
IMETHOD( ~CAccClientDocMgr );
m_pAccStore->Release();
}
HRESULT STDMETHODCALLTYPE CAccClientDocMgr::GetDocuments (
IEnumUnknown ** enumUnknown
)
{
IMETHOD( GetDocuments );
return m_pAccStore->GetDocuments( enumUnknown );
}
HRESULT STDMETHODCALLTYPE CAccClientDocMgr::LookupByHWND (
HWND hWnd,
REFIID riid,
IUnknown ** ppunk
)
{
IMETHOD( LookupByHWND );
return m_pAccStore->LookupByHWND( hWnd, riid, ppunk );
}
HRESULT STDMETHODCALLTYPE CAccClientDocMgr::LookupByPoint (
POINT pt,
REFIID riid,
IUnknown ** ppunk
)
{
IMETHOD( LookupByPoint );
return m_pAccStore->LookupByPoint( pt, riid, ppunk );
}
HRESULT STDMETHODCALLTYPE CAccClientDocMgr::GetFocused (
REFIID riid,
IUnknown ** ppunk
)
{
IMETHOD( GetFocused );
return m_pAccStore->GetFocused( riid, ppunk );
}