20#ifndef INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX
21#define INCLUDED_SHELL_SOURCE_WIN32_SHLXTHANDLER_OOOFILT_OOOFILT_HXX
49 { 0xa2, 0x9d, 0x5d, 0x46, 0xd8, 0xb3, 0x92, 0x62 }
55{0x7bc0e713, 0x5703, 0x45be, {0xa2, 0x9d, 0x5d, 0x46, 0xd8, 0xb3, 0x92, 0x62}};
60{0x89bcb740, 0x6119, 0x101a, {0xbc, 0xb7, 0x00, 0xdd, 0x01, 0x06, 0x55, 0xaf}};
65{0x7bc0e710, 0x5703, 0x45be, {0xa2, 0x9d, 0x5d, 0x46, 0xd8, 0xb3, 0x92, 0x62}};
72class COooFilter :
public IFilter,
public IPersistFile,
public IPersistStream
78 void ** ppvObject)
override;
79 virtual ULONG STDMETHODCALLTYPE
AddRef()
override;
80 virtual ULONG STDMETHODCALLTYPE
Release()
override;
83 virtual SCODE STDMETHODCALLTYPE
Init(
86 FULLPROPSPEC
const * aAttributes,
87 ULONG * pFlags)
override;
88 virtual SCODE STDMETHODCALLTYPE
GetChunk(
89 STAT_CHUNK * pStat)
override;
90 virtual SCODE STDMETHODCALLTYPE
GetText(
92 WCHAR * awcBuffer)
override;
94 virtual SCODE STDMETHODCALLTYPE
GetValue(
95 PROPVARIANT ** ppPropValue)
override;
100 void ** ppunk)
override;
104 CLSID * pClassID)
override;
105 virtual HRESULT STDMETHODCALLTYPE
IsDirty()
override;
106 virtual HRESULT STDMETHODCALLTYPE
Load(
107 LPCOLESTR pszFileName,
108 DWORD dwMode)
override;
109 virtual HRESULT STDMETHODCALLTYPE
Save(
110 LPCOLESTR pszFileName,
111 BOOL fRemember)
override;
114 LPCOLESTR pszFileName)
override;
117 LPOLESTR * ppszFileName)
override;
120 virtual HRESULT STDMETHODCALLTYPE
Load(
121 IStream *pStm)
override;
123 virtual HRESULT STDMETHODCALLTYPE
Save(
125 BOOL fClearDirty)
override;
128 ULARGE_INTEGER *pcbSize)
override;
168 void ** ppvObject)
override;
170 virtual ULONG STDMETHODCALLTYPE
AddRef()
override;
171 virtual ULONG STDMETHODCALLTYPE
Release()
override;
175 IUnknown * pUnkOuter,
176 REFIID riid,
void ** ppvObject)
override;
179 BOOL fLock)
override;
friend HRESULT STDMETHODCALLTYPE DllGetClassObject(REFCLSID cid, REFIID iid, LPVOID *ppvObj)
virtual ULONG STDMETHODCALLTYPE AddRef() override
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override
virtual HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppvObject) override
virtual ULONG STDMETHODCALLTYPE Release() override
virtual HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock) override
ULONG m_ulUnicodeCharsRead
virtual HRESULT STDMETHODCALLTYPE GetSizeMax(ULARGE_INTEGER *pcbSize) override
virtual ULONG STDMETHODCALLTYPE Release() override
CContentReader * m_pContentReader
CFullPropSpec * m_pAttributes
CMetaInfoReader * m_pMetaInfoReader
virtual SCODE STDMETHODCALLTYPE Init(ULONG grfFlags, ULONG cAttributes, FULLPROPSPEC const *aAttributes, ULONG *pFlags) override
virtual SCODE STDMETHODCALLTYPE GetValue(PROPVARIANT **ppPropValue) override
virtual SCODE STDMETHODCALLTYPE GetText(ULONG *pcwcBuffer, WCHAR *awcBuffer) override
::std::wstring m_pwszFileName
virtual HRESULT STDMETHODCALLTYPE IsDirty() override
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override
virtual SCODE STDMETHODCALLTYPE GetChunk(STAT_CHUNK *pStat) override
StreamInterface * m_pStream
::std::wstring m_pwsBuffer
virtual HRESULT STDMETHODCALLTYPE Save(LPCOLESTR pszFileName, BOOL fRemember) override
virtual HRESULT STDMETHODCALLTYPE SaveCompleted(LPCOLESTR pszFileName) override
ULONG m_ulCurrentPropertyNum
virtual SCODE STDMETHODCALLTYPE BindRegion(FILTERREGION origPos, REFIID riid, void **ppunk) override
ULONG m_ulUnicodeBufferLen
virtual HRESULT STDMETHODCALLTYPE GetClassID(CLSID *pClassID) override
virtual HRESULT STDMETHODCALLTYPE GetCurFile(LPOLESTR *ppszFileName) override
virtual ULONG STDMETHODCALLTYPE AddRef() override
virtual HRESULT STDMETHODCALLTYPE Load(LPCOLESTR pszFileName, DWORD dwMode) override
const CLSID CLSID_PERSISTENT_HANDLER
const CLSID CLSID_PERSISTENT_HANDLER_ADDIN
GUID const CLSID_COooFilter
const CLSID CLSID_FILTER_HANDLER
const wchar_t *typedef BOOL