diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
commit | 0cda0baab21d4d4bf40c9459f6f5a7e49aa92492 (patch) | |
tree | c1244d2f42e6d1728a81a18bd0fbd091904bf20c /plugins/W7UI/src/win7api.h | |
parent | 171e81205e357e0d54283a63997ed58ff97d54a9 (diff) |
VersionInfo, W7UI, WhoUsesMyFiles, YAPP, ZeroNotification: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/W7UI/src/win7api.h')
-rw-r--r-- | plugins/W7UI/src/win7api.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/W7UI/src/win7api.h b/plugins/W7UI/src/win7api.h new file mode 100644 index 0000000000..f9fa806335 --- /dev/null +++ b/plugins/W7UI/src/win7api.h @@ -0,0 +1,38 @@ +#ifndef win7api_h__
+#define win7api_h__
+
+#define WM_DWMSENDICONICTHUMBNAIL 0x0323
+#define WM_DWMSENDICONICLIVEPREVIEWBITMAP 0x0326
+
+#define DWMWA_HAS_ICONIC_BITMAP 10
+
+#define DWM_SIT_DISPLAYFRAME 0x00000001
+
+enum TBATFLAG
+{ TBATF_USEMDITHUMBNAIL = 0x1,
+ TBATF_USEMDILIVEPREVIEW = 0x2
+};
+
+#define THBN_CLICKED 0x1800
+
+extern HRESULT (WINAPI *dwmInvalidateIconicBitmaps)(HWND);
+extern HRESULT (WINAPI *dwmSetIconicThumbnail)(HWND, HBITMAP, DWORD);
+extern HRESULT (WINAPI *dwmSetIconicLivePreviewBitmap)(HWND, HBITMAP, LPPOINT, DWORD);
+
+extern HANDLE (STDAPICALLTYPE *openThemeData)(HWND, LPCWSTR);
+extern HRESULT (STDAPICALLTYPE *drawThemeTextEx)(HANDLE, HDC, int, int, LPCWSTR, int, DWORD, LPRECT, const struct _DTTOPTS *);
+extern HRESULT (STDAPICALLTYPE *closeThemeData)(HANDLE);
+
+extern "C" const IID IID_ICustomDestinationList;
+extern "C" const IID IID_IObjectArray;
+extern "C" const IID IID_IObjectCollection;
+extern "C" const IID IID_ITaskbarList3;
+extern "C" const CLSID CLSID_CustomDestinationList;
+extern "C" const CLSID CLSID_EnumerableObjectCollection;
+
+#include "win7api_IObjectArray.h"
+#include "win7api_IObjectCollection.h"
+#include "win7api_ICustomDestinationList.h"
+//#include "win7api_ITaskbarList3.h"
+
+#endif // win7api_h__
|