00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "plugin.h"
00024 #include "oleinplaceactiveobject.h"
00025
00026 using namespace std;
00027
00028 STDMETHODIMP VLCOleInPlaceActiveObject::GetWindow(HWND *pHwnd)
00029 {
00030 if( NULL == pHwnd )
00031 return E_POINTER;
00032
00033 *pHwnd = NULL;
00034 if( _p_instance->isInPlaceActive() )
00035 {
00036 if( NULL != (*pHwnd = _p_instance->getInPlaceWindow()) )
00037 return S_OK;
00038 }
00039 return E_FAIL;
00040 };
00041
00042 STDMETHODIMP VLCOleInPlaceActiveObject::EnableModeless(BOOL fEnable)
00043 {
00044 return E_NOTIMPL;
00045 };
00046
00047 STDMETHODIMP VLCOleInPlaceActiveObject::ContextSensitiveHelp(BOOL fEnterMode)
00048 {
00049 return E_NOTIMPL;
00050 };
00051
00052 STDMETHODIMP VLCOleInPlaceActiveObject::TranslateAccelerator(LPMSG lpmsg)
00053 {
00054 return E_NOTIMPL;
00055 };
00056
00057 STDMETHODIMP VLCOleInPlaceActiveObject::OnFrameWindowActivate(BOOL fActivate)
00058 {
00059 return E_NOTIMPL;
00060 };
00061
00062 STDMETHODIMP VLCOleInPlaceActiveObject::OnDocWindowActivate(BOOL fActivate)
00063 {
00064 return E_NOTIMPL;
00065 };
00066
00067 STDMETHODIMP VLCOleInPlaceActiveObject::ResizeBorder(LPCRECT prcBorder, LPOLEINPLACEUIWINDOW pUIWindow, BOOL fFrameWindow)
00068 {
00069 return E_NOTIMPL;
00070 };
00071