diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-21 21:32:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-21 21:32:08 +0000 |
commit | 3f028637b9f341c4792ff871c620c62b8df9705a (patch) | |
tree | bae4291d72b84d0bbda720f87a8c8c827abb61f3 /plugins/ShellExt/src/shlicons.h | |
parent | 1988e60c6f9dd061cb045546a02ccbb3642c098a (diff) |
+ another 500 lines of code
git-svn-id: http://svn.miranda-ng.org/main/trunk@5779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt/src/shlicons.h')
-rw-r--r-- | plugins/ShellExt/src/shlicons.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/ShellExt/src/shlicons.h b/plugins/ShellExt/src/shlicons.h new file mode 100644 index 0000000000..8405bf69cc --- /dev/null +++ b/plugins/ShellExt/src/shlicons.h @@ -0,0 +1,21 @@ +
+struct TWICBitmap : public IWICBitmapSource
+{
+ virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
+ virtual ULONG STDMETHODCALLTYPE AddRef(void);
+ virtual ULONG STDMETHODCALLTYPE Release(void);
+
+ 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);
|