summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/shlicons.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-24 08:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-24 08:55:18 +0000
commit278212c375c66cb5d4c95082f86b9014137dca19 (patch)
tree102b1eb9a03b5af3b8af06db1e7cbdda4bc59ba3 /plugins/ShellExt/src/shlicons.h
parent32da22a8ff4715a123f9a263aebcd0d5ba9ae7c1 (diff)
first version that works
git-svn-id: http://svn.miranda-ng.org/main/trunk@5806 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt/src/shlicons.h')
-rw-r--r--plugins/ShellExt/src/shlicons.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/plugins/ShellExt/src/shlicons.h b/plugins/ShellExt/src/shlicons.h
index 8405bf69cc..6010c8c489 100644
--- a/plugins/ShellExt/src/shlicons.h
+++ b/plugins/ShellExt/src/shlicons.h
@@ -1,21 +1,4 @@
-struct TWICBitmap : public IWICBitmapSource
-{
- virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
- virtual ULONG STDMETHODCALLTYPE AddRef(void);
- virtual ULONG STDMETHODCALLTYPE Release(void);
+IWICImagingFactory* ARGB_GetWorker();
- virtual HRESULT STDMETHODCALLTYPE GetSize(UINT *puiWidth, UINT *puiHeight);
- virtual HRESULT STDMETHODCALLTYPE GetPixelFormat(WICPixelFormatGUID *pPixelFormat);
- virtual HRESULT STDMETHODCALLTYPE GetResolution(double *pDpiX, double *pDpiY);
- virtual HRESULT STDMETHODCALLTYPE CopyPalette(IWICPalette *pIPalette);
- virtual HRESULT STDMETHODCALLTYPE CopyPixels(const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer);
-};
-
-struct TImageFactory : public IImagingFactory
-{
-};
-
-TImageFactory* ARGB_GetWorker();
-
-HBITMAP ARGB_BitmapFromIcon(TImageFactory* Factory, HDC hdc, HICON hIcon);
+HBITMAP ARGB_BitmapFromIcon(IWICImagingFactory *Factory, HDC hdc, HICON hIcon);