#include <thumbviewer.hxx>
|
| CThumbviewer (LONG RefCnt=1) |
|
virtual | ~CThumbviewer () |
|
virtual HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
|
virtual ULONG STDMETHODCALLTYPE | AddRef () override |
|
virtual ULONG STDMETHODCALLTYPE | Release () override |
|
virtual HRESULT STDMETHODCALLTYPE | Extract (HBITMAP *phBmpImage) override |
|
virtual HRESULT STDMETHODCALLTYPE | GetLocation (LPWSTR pszPathBuffer, DWORD cchMax, DWORD *pdwPriority, const SIZE *prgSize, DWORD dwRecClrDepth, DWORD *pdwFlags) override |
|
virtual HRESULT STDMETHODCALLTYPE | GetClassID (CLSID *pClassID) override |
|
virtual HRESULT STDMETHODCALLTYPE | IsDirty () override |
|
virtual HRESULT STDMETHODCALLTYPE | Load (LPCOLESTR pszFileName, DWORD dwMode) override |
|
virtual HRESULT STDMETHODCALLTYPE | Save (LPCOLESTR pszFileName, BOOL fRemember) override |
|
virtual HRESULT STDMETHODCALLTYPE | SaveCompleted (LPCOLESTR pszFileName) override |
|
virtual HRESULT STDMETHODCALLTYPE | GetCurFile (LPOLESTR __RPC_FAR *ppszFileName) override |
|
Definition at line 30 of file thumbviewer.hxx.
◆ CThumbviewer()
CThumbviewer::CThumbviewer |
( |
LONG |
RefCnt = 1 | ) |
|
◆ ~CThumbviewer()
CThumbviewer::~CThumbviewer |
( |
| ) |
|
|
virtual |
◆ AddRef()
ULONG STDMETHODCALLTYPE CThumbviewer::AddRef |
( |
| ) |
|
|
overridevirtual |
◆ Extract()
HRESULT STDMETHODCALLTYPE CThumbviewer::Extract |
( |
HBITMAP * |
phBmpImage | ) |
|
|
overridevirtual |
Definition at line 339 of file thumbviewer.cxx.
References internal::CalcSignetPosition(), color_depth_, filename_, GetDC, getShortPathName(), hr, internal::IsSignedDocument(), OutputDebugStringFormatW(), signet_, stream, THUMBNAIL_CONTENT, thumbnail_size_, and TRUE.
◆ GetClassID()
HRESULT STDMETHODCALLTYPE CThumbviewer::GetClassID |
( |
CLSID * |
pClassID | ) |
|
|
overridevirtual |
◆ GetCurFile()
HRESULT STDMETHODCALLTYPE CThumbviewer::GetCurFile |
( |
LPOLESTR __RPC_FAR * |
ppszFileName | ) |
|
|
overridevirtual |
◆ GetLocation()
HRESULT STDMETHODCALLTYPE CThumbviewer::GetLocation |
( |
LPWSTR |
pszPathBuffer, |
|
|
DWORD |
cchMax, |
|
|
DWORD * |
pdwPriority, |
|
|
const SIZE * |
prgSize, |
|
|
DWORD |
dwRecClrDepth, |
|
|
DWORD * |
pdwFlags |
|
) |
| |
|
overridevirtual |
◆ IsDirty()
HRESULT STDMETHODCALLTYPE CThumbviewer::IsDirty |
( |
| ) |
|
|
overridevirtual |
◆ Load()
HRESULT STDMETHODCALLTYPE CThumbviewer::Load |
( |
LPCOLESTR |
pszFileName, |
|
|
DWORD |
dwMode |
|
) |
| |
|
overridevirtual |
◆ QueryInterface()
HRESULT STDMETHODCALLTYPE CThumbviewer::QueryInterface |
( |
REFIID |
riid, |
|
|
void __RPC_FAR *__RPC_FAR * |
ppvObject |
|
) |
| |
|
overridevirtual |
◆ Release()
ULONG STDMETHODCALLTYPE CThumbviewer::Release |
( |
| ) |
|
|
overridevirtual |
◆ Save()
HRESULT STDMETHODCALLTYPE CThumbviewer::Save |
( |
LPCOLESTR |
pszFileName, |
|
|
BOOL |
fRemember |
|
) |
| |
|
overridevirtual |
◆ SaveCompleted()
HRESULT STDMETHODCALLTYPE CThumbviewer::SaveCompleted |
( |
LPCOLESTR |
pszFileName | ) |
|
|
overridevirtual |
◆ color_depth_
DWORD CThumbviewer::color_depth_ |
|
private |
◆ filename_
std::wstring CThumbviewer::filename_ |
|
private |
◆ gdiplus_token_
ULONG_PTR CThumbviewer::gdiplus_token_ |
|
private |
◆ ref_count_
LONG CThumbviewer::ref_count_ |
|
private |
◆ signet_
Gdiplus::Bitmap* CThumbviewer::signet_ |
|
private |
◆ thumbnail_size_
SIZE CThumbviewer::thumbnail_size_ |
|
private |
The documentation for this class was generated from the following files: