20#ifndef INCLUDED_SHELL_INC_INTERNAL_INFOTIPS_HXX
21#define INCLUDED_SHELL_INC_INTERNAL_INFOTIPS_HXX
28class CInfoTip :
public IQueryInfo,
public IPersistFile
40 void __RPC_FAR *__RPC_FAR *ppvObject)
override;
42 virtual ULONG STDMETHODCALLTYPE
AddRef()
override;
44 virtual ULONG STDMETHODCALLTYPE
Release()
override;
50 virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE
GetInfoTip(DWORD dwFlags, PWSTR* ppwszTip)
override;
52 virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE
GetInfoFlags(DWORD *pdwFlags)
override;
58 virtual HRESULT STDMETHODCALLTYPE
GetClassID(CLSID* pClassID)
override;
64 virtual HRESULT STDMETHODCALLTYPE
IsDirty()
override;
66 virtual HRESULT STDMETHODCALLTYPE
Load(
67 LPCOLESTR pszFileName,
68 DWORD dwMode)
override;
70 virtual HRESULT STDMETHODCALLTYPE
Save(
71 LPCOLESTR pszFileName,
72 BOOL fRemember)
override;
75 LPCOLESTR pszFileName)
override;
78 LPOLESTR __RPC_FAR *ppszFileName)
override;
virtual HRESULT STDMETHODCALLTYPE GetCurFile(LPOLESTR __RPC_FAR *ppszFileName) override
Filepath_char_t m_szFileName[MAX_PATH]
virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE GetInfoFlags(DWORD *pdwFlags) override
virtual HRESULT STDMETHODCALLTYPE SaveCompleted(LPCOLESTR pszFileName) override
virtual HRESULT STDMETHODCALLTYPE Save(LPCOLESTR pszFileName, BOOL fRemember) override
virtual ULONG STDMETHODCALLTYPE AddRef() override
std::wstring m_FileNameOnly
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
virtual ULONG STDMETHODCALLTYPE Release() override
virtual HRESULT STDMETHODCALLTYPE IsDirty() override
virtual HRESULT STDMETHODCALLTYPE GetClassID(CLSID *pClassID) override
virtual HRESULT STDMETHODCALLTYPE Load(LPCOLESTR pszFileName, DWORD dwMode) override
virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE GetInfoTip(DWORD dwFlags, PWSTR *ppwszTip) override
const wchar_t *typedef BOOL