35#include <so_activex.h>
40 public IDispatchImpl<ISOComWindowPeer, &IID_ISOComWindowPeer, &LIBID_SO_ACTIVEXLib>,
41 public ISupportErrorInfo,
42 public CComObjectRoot,
43 public CComCoClass<SOComWindowPeer,&CLSID_SOComWindowPeer>
51 COM_INTERFACE_ENTRY(IDispatch)
53 COM_INTERFACE_ENTRY(ISupportErrorInfo)
55#pragma clang diagnostic push
56#pragma clang diagnostic ignored "-Winconsistent-missing-override"
60#pragma clang diagnostic pop
73 SAFEARRAY __RPC_FAR * ,
75 long __RPC_FAR *ret)
override
77 *ret = HandleToLong(
m_hwnd );
82 IDispatch __RPC_FAR *__RPC_FAR *retVal)
override
89 IDispatch __RPC_FAR* )
override
107 IDispatch __RPC_FAR* ,
113 virtual HRESULT STDMETHODCALLTYPE
dispose(
void)
override
119 IDispatch __RPC_FAR* )
override
125 IDispatch __RPC_FAR* )
override
131 SAFEARRAY __RPC_FAR * __RPC_FAR *pVal)
override
133 *pVal = SafeArrayCreateVector(
VT_BSTR, 0, 2 );
139 CComBSTR aInterface( OLESTR(
"com.sun.star.awt.XSystemDependentWindowPeer" ) );
140 SafeArrayPutElement( *pVal, &ix, aInterface );
143 aInterface = CComBSTR( OLESTR(
"com.sun.star.awt.XWindowPeer" ) );
144 SafeArrayPutElement( *pVal, &ix, aInterface );
STDMETHOD() InterfaceSupportsErrorInfo(REFIID riid) override
virtual ~SOComWindowPeer()
virtual HRESULT STDMETHODCALLTYPE setBackground(int) override
virtual HRESULT STDMETHODCALLTYPE addEventListener(IDispatch __RPC_FAR *) override
void SetHWNDInternally(HWND hwnd)
virtual HRESULT STDMETHODCALLTYPE setPointer(IDispatch __RPC_FAR *) override
virtual HRESULT STDMETHODCALLTYPE getToolkit(IDispatch __RPC_FAR *__RPC_FAR *retVal) override
virtual HRESULT STDMETHODCALLTYPE removeEventListener(IDispatch __RPC_FAR *) override
virtual HRESULT STDMETHODCALLTYPE invalidate(short) override
virtual HRESULT STDMETHODCALLTYPE dispose(void) override
virtual HRESULT STDMETHODCALLTYPE invalidateRect(IDispatch __RPC_FAR *, short) override
virtual HRESULT STDMETHODCALLTYPE getWindowHandle(SAFEARRAY __RPC_FAR *, short, long __RPC_FAR *ret) override
virtual HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces(SAFEARRAY __RPC_FAR *__RPC_FAR *pVal) override
#define IDR_SOCOMWINDOWPEER