From 4632ad9f84052df494d30792363a2916368fce09 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sat, 23 Apr 2011 20:20:20 +0000 Subject: Project files and compilation fixes. git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@14 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- w7ui/W7UI_10.sln | 20 +++++++++ w7ui/W7UI_10.vcxproj | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++ w7ui/win7api.cpp | 10 ++--- w7ui/win7api.h | 4 +- 4 files changed, 149 insertions(+), 7 deletions(-) create mode 100644 w7ui/W7UI_10.sln create mode 100644 w7ui/W7UI_10.vcxproj diff --git a/w7ui/W7UI_10.sln b/w7ui/W7UI_10.sln new file mode 100644 index 0000000..744f6a0 --- /dev/null +++ b/w7ui/W7UI_10.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "W7UI_10", "W7UI_10.vcxproj", "{E4631327-7B4C-457C-870E-BF94EA034AD0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4631327-7B4C-457C-870E-BF94EA034AD0}.Debug|Win32.ActiveCfg = Debug|Win32 + {E4631327-7B4C-457C-870E-BF94EA034AD0}.Debug|Win32.Build.0 = Debug|Win32 + {E4631327-7B4C-457C-870E-BF94EA034AD0}.Release|Win32.ActiveCfg = Release|Win32 + {E4631327-7B4C-457C-870E-BF94EA034AD0}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/w7ui/W7UI_10.vcxproj b/w7ui/W7UI_10.vcxproj new file mode 100644 index 0000000..2807ebc --- /dev/null +++ b/w7ui/W7UI_10.vcxproj @@ -0,0 +1,122 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {E4631327-7B4C-457C-870E-BF94EA034AD0} + W7UI + W7UI + + + + Application + true + MultiByte + + + DynamicLibrary + false + true + Unicode + v100 + + + + + + + + + + + + + .dll + false + $(SolutionDir)$(Configuration)/Plugins\ + $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + + + $(SolutionDir)$(Configuration)/Plugins\ + + + $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + + + + Level3 + Disabled + + + true + + + + + Level3 + MinSpace + true + true + Disabled + Size + true + true + Fast + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;W7UI_EXPORTS;%(PreprocessorDefinitions) + + + true + true + true + $(IntDir)$(TargetName).pdb + $(IntDir)\(TargetName).lib + msimg32.lib;dwmapi.lib;comctl32.lib;shlwapi.lib;%(AdditionalDependencies) + + + $(IntDir)$(TargetName).xml + + + $(IntDir)$(TargetName).bsc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/w7ui/win7api.cpp b/w7ui/win7api.cpp index c9cb850..dcfb605 100644 --- a/w7ui/win7api.cpp +++ b/w7ui/win7api.cpp @@ -3,12 +3,12 @@ //extern "C" const CLSID CLSID_TaskbarList = {0x56fdf344,0xfd6d,0x11d0,{0x95,0x8a,0x00,0x60,0x97,0xc9,0xa0,0x90}}; // 56fdf344-fd6d-11d0-958a-006097c9a090; //extern "C" const IID IID_ITaskbarList = {0x56FDF342,0xFD6D,0x11d0,{0x95,0x8A,0x00,0x60,0x97,0xC9,0xA0,0x90}}; // 56FDF342-FD6D-11d0-958A-006097C9A090; //extern "C" const IID IID_ITaskbarList2 = {0x602D4995,0xB13A,0x429b,{0xA6,0x6E,0x19,0x35,0xE4,0x4F,0x43,0x17}}; // 602D4995-B13A-429b-A66E-1935E44F4317; -extern "C" const IID IID_ICustomDestinationList = {0x6332debf,0x87b5,0x4670,{0x90,0xc0,0x5e,0x57,0xb4,0x08,0xa4,0x9e}}; // 6332debf-87b5-4670-90c0-5e57b408a49e -extern "C" const IID IID_IObjectArray = {0x92CA9DCD,0x5622,0x4bba,{0xA8,0x05,0x5E,0x9F,0x54,0x1B,0xD8,0xC9}}; // 92CA9DCD-5622-4bba-A805-5E9F541BD8C9 -extern "C" const IID IID_IObjectCollection = {0x5632b1a4,0xe38a,0x400a,{0x92,0x8a,0xd4,0xcd,0x63,0x23,0x02,0x95}}; // 5632b1a4-e38a-400a-928a-d4cd63230295 -extern "C" const IID IID_ITaskbarList3 = {0xea1afb91,0x9e28,0x4b86,{0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf}}; // ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf +//extern "C" const IID IID_ICustomDestinationList = {0x6332debf,0x87b5,0x4670,{0x90,0xc0,0x5e,0x57,0xb4,0x08,0xa4,0x9e}}; // 6332debf-87b5-4670-90c0-5e57b408a49e +//extern "C" const IID IID_IObjectArray = {0x92CA9DCD,0x5622,0x4bba,{0xA8,0x05,0x5E,0x9F,0x54,0x1B,0xD8,0xC9}}; // 92CA9DCD-5622-4bba-A805-5E9F541BD8C9 +//extern "C" const IID IID_IObjectCollection = {0x5632b1a4,0xe38a,0x400a,{0x92,0x8a,0xd4,0xcd,0x63,0x23,0x02,0x95}}; // 5632b1a4-e38a-400a-928a-d4cd63230295 +//extern "C" const IID IID_ITaskbarList3 = {0xea1afb91,0x9e28,0x4b86,{0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf}}; // ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf extern "C" const CLSID CLSID_CustomDestinationList = {0x77f10cf0,0x3db5,0x4966,{0xb5,0x20,0xb7,0xc5,0x4f,0xd3,0x5e,0xd6}}; -extern "C" const CLSID CLSID_EnumerableObjectCollection = {0x2d3468c1,0x36a7,0x43b6,{0xac,0x24,0xd3,0xf0,0x2f,0xd9,0x60,0x7a}}; +//extern "C" const CLSID CLSID_EnumerableObjectCollection = {0x2d3468c1,0x36a7,0x43b6,{0xac,0x24,0xd3,0xf0,0x2f,0xd9,0x60,0x7a}}; HRESULT (WINAPI *dwmInvalidateIconicBitmaps)(HWND) = (HRESULT (WINAPI *)(HWND))GetProcAddress(LoadLibraryA("dwmapi.dll"), "DwmInvalidateIconicBitmaps"); diff --git a/w7ui/win7api.h b/w7ui/win7api.h index b7eec85..2a2c005 100644 --- a/w7ui/win7api.h +++ b/w7ui/win7api.h @@ -21,7 +21,7 @@ enum TBATFLAG TBATF_USEMDILIVEPREVIEW = 0x2 }; -typedef enum THUMBBUTTONMASK { +/*typedef enum THUMBBUTTONMASK { THB_BITMAP = 0x00000001, THB_ICON = 0x00000002, THB_TOOLTIP = 0x00000004, @@ -44,7 +44,7 @@ typedef struct THUMBBUTTON { HICON hIcon; WCHAR szTip[260]; THUMBBUTTONFLAGS dwFlags; -} THUMBBUTTON, *LPTHUMBBUTTON; +} THUMBBUTTON, *LPTHUMBBUTTON;*/ #define THBN_CLICKED 0x1800 -- cgit v1.2.3