00001
00002
00003
00004
00005
00006 #include "stdafx.h"
00007 #include "Iefdm.h"
00008 #include "IEWGMonitor.h"
00009
00010 #include <objbase.h>
00011 #include <comdef.h>
00012
00013 STDMETHODIMP CIEWGMonitor::Abort(HRESULT, DWORD)
00014 {
00015 return E_NOTIMPL;
00016 }
00017
00018 STDMETHODIMP CIEWGMonitor::Continue(PROTOCOLDATA *)
00019 {
00020 return E_NOTIMPL;
00021 }
00022
00023 STDMETHODIMP CIEWGMonitor::Resume()
00024 {
00025 return E_NOTIMPL;
00026 }
00027
00028 STDMETHODIMP CIEWGMonitor::Start(LPCWSTR pszwUrl, IInternetProtocolSink *, IInternetBindInfo *, DWORD, DWORD)
00029 {
00030 USES_CONVERSION;
00031
00032 LPCSTR pszUrl = W2A (pszwUrl);
00033
00034 if (fsIsOKUrl (pszUrl) == FALSE)
00035 return S_OK;
00036
00037 if (fsOnNavigateUrl (pszUrl) == FALSE)
00038 return INET_E_USE_DEFAULT_PROTOCOLHANDLER;
00039 else
00040 {
00041 if (FALSE == fsUrlToFdm (pszUrl, NULL, NULL, NULL, FALSE))
00042 return INET_E_USE_DEFAULT_PROTOCOLHANDLER;
00043
00044 return INET_E_DATA_NOT_AVAILABLE;
00045 }
00046 }
00047
00048 STDMETHODIMP CIEWGMonitor::Suspend()
00049 {
00050 return E_NOTIMPL;
00051 }
00052
00053 STDMETHODIMP CIEWGMonitor::Terminate(DWORD)
00054 {
00055 return E_NOTIMPL;
00056 }
00057
00058 STDMETHODIMP CIEWGMonitor::LockRequest(DWORD)
00059 {
00060 return E_NOTIMPL;
00061 }
00062
00063 STDMETHODIMP CIEWGMonitor::Read(LPVOID, ULONG, ULONG *)
00064 {
00065 return E_NOTIMPL;
00066 }
00067
00068 STDMETHODIMP CIEWGMonitor::Seek(LARGE_INTEGER, DWORD, ULARGE_INTEGER*)
00069 {
00070 return E_NOTIMPL;
00071 }
00072
00073 STDMETHODIMP CIEWGMonitor::UnlockRequest()
00074 {
00075 return E_NOTIMPL;
00076 }
00077