Browse Source
- Revised the method for enabling the old taskbar by intercepting the code path for initializing the new taskbar, due to a very rare issue where our hook does not get called on certain recent builds. (#2499) - Fixed crash on 25921+ due to the removal of pnidui.dll. (#2558) - Fixed potential stability issues when using the new taskbar on 22621.2787+.pull/2661/head
7 changed files with 18999 additions and 19214 deletions
@ -1,355 +1,359 @@
@@ -1,355 +1,359 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup Label="ProjectConfigurations"> |
||||
<ProjectConfiguration Include="Debug|Win32"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<VCProjectVersion>16.0</VCProjectVersion> |
||||
<ProjectGuid>{DB3E4319-2969-42B6-B7E8-BB57AA8C9FA9}</ProjectGuid> |
||||
<RootNamespace>CenterTitlebarTextLibrary</RootNamespace> |
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
||||
<ProjectName>ExplorerPatcher</ProjectName> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="Shared"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<PropertyGroup Label="UserMacros" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<CallingConvention>Cdecl</CallingConvention> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<CallingConvention>StdCall</CallingConvention> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<CallingConvention>Cdecl</CallingConvention> |
||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<CallingConvention>StdCall</CallingConvention> |
||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemGroup> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_error.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_window.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="ArchiveMenu.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="dllmain.c" /> |
||||
<ClCompile Include="fmemopen.c" /> |
||||
<ClCompile Include="getline.c" /> |
||||
<ClCompile Include="HideExplorerSearchBar.c" /> |
||||
<ClCompile Include="ImmersiveFlyouts.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="Localization.cpp" /> |
||||
<ClCompile Include="lvt.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="SettingsMonitor.c" /> |
||||
<ClCompile Include="StartMenu.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="StartMenuSettings.cpp"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="StartupSound.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="symbols.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="TaskbarCenter.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="updates.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="utility.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_def.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_error.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_utility.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_window.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.h" /> |
||||
<ClInclude Include="..\version.h" /> |
||||
<ClInclude Include="ArchiveMenu.h" /> |
||||
<ClInclude Include="def.h" /> |
||||
<ClInclude Include="dxgi_imp.h" /> |
||||
<ClInclude Include="fmemopen.h" /> |
||||
<ClInclude Include="getline.h" /> |
||||
<ClInclude Include="HideExplorerSearchBar.h" /> |
||||
<ClInclude Include="hooking.h" /> |
||||
<ClInclude Include="ep_private.h" /> |
||||
<ClInclude Include="ImmersiveFlyouts.h" /> |
||||
<ClInclude Include="Localization.h" /> |
||||
<ClInclude Include="lvt.h" /> |
||||
<ClInclude Include="osutility.h" /> |
||||
<ClInclude Include="queryversion.h" /> |
||||
<ClInclude Include="resource.h" /> |
||||
<ClInclude Include="SettingsMonitor.h" /> |
||||
<ClInclude Include="StartMenu.h" /> |
||||
<ClInclude Include="StartupSound.h" /> |
||||
<ClInclude Include="symbols.h" /> |
||||
<ClInclude Include="TaskbarCenter.h" /> |
||||
<ClInclude Include="updates.h" /> |
||||
<ClInclude Include="utility.h" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ResourceCompile Include="ExplorerPatcher.rc" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="packages.config" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
<Import Project="..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> |
||||
</ImportGroup> |
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
||||
<PropertyGroup> |
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
||||
</PropertyGroup> |
||||
<Error Condition="!Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> |
||||
</Target> |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup Label="ProjectConfigurations"> |
||||
<ProjectConfiguration Include="Debug|Win32"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<VCProjectVersion>16.0</VCProjectVersion> |
||||
<ProjectGuid>{DB3E4319-2969-42B6-B7E8-BB57AA8C9FA9}</ProjectGuid> |
||||
<RootNamespace>CenterTitlebarTextLibrary</RootNamespace> |
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
||||
<ProjectName>ExplorerPatcher</ProjectName> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="Shared"> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<PropertyGroup Label="UserMacros" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<CallingConvention>Cdecl</CallingConvention> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<CallingConvention>StdCall</CallingConvention> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<CallingConvention>Cdecl</CallingConvention> |
||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<ClCompile> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<ConformanceMode>true</ConformanceMode> |
||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||
<CallingConvention>StdCall</CallingConvention> |
||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Console</SubSystem> |
||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemGroup> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_error.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_window.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="ArchiveMenu.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="dllmain.c" /> |
||||
<ClCompile Include="fmemopen.c" /> |
||||
<ClCompile Include="getline.c" /> |
||||
<ClCompile Include="HideExplorerSearchBar.c" /> |
||||
<ClCompile Include="ImmersiveFlyouts.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="Localization.cpp" /> |
||||
<ClCompile Include="lvt.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="SettingsMonitor.c" /> |
||||
<ClCompile Include="StartMenu.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="StartMenuSettings.cpp"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="StartupSound.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="symbols.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="Taskbar10.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="TaskbarCenter.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="updates.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
<ClCompile Include="utility.c"> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_def.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_error.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_utility.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_window.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.h" /> |
||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.h" /> |
||||
<ClInclude Include="..\version.h" /> |
||||
<ClInclude Include="ArchiveMenu.h" /> |
||||
<ClInclude Include="def.h" /> |
||||
<ClInclude Include="dxgi_imp.h" /> |
||||
<ClInclude Include="fmemopen.h" /> |
||||
<ClInclude Include="getline.h" /> |
||||
<ClInclude Include="HideExplorerSearchBar.h" /> |
||||
<ClInclude Include="hooking.h" /> |
||||
<ClInclude Include="ep_private.h" /> |
||||
<ClInclude Include="ImmersiveFlyouts.h" /> |
||||
<ClInclude Include="Localization.h" /> |
||||
<ClInclude Include="lvt.h" /> |
||||
<ClInclude Include="osutility.h" /> |
||||
<ClInclude Include="queryversion.h" /> |
||||
<ClInclude Include="resource.h" /> |
||||
<ClInclude Include="SettingsMonitor.h" /> |
||||
<ClInclude Include="StartMenu.h" /> |
||||
<ClInclude Include="StartupSound.h" /> |
||||
<ClInclude Include="symbols.h" /> |
||||
<ClInclude Include="TaskbarCenter.h" /> |
||||
<ClInclude Include="updates.h" /> |
||||
<ClInclude Include="utility.h" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ResourceCompile Include="ExplorerPatcher.rc" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="packages.config" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
<Import Project="..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> |
||||
</ImportGroup> |
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
||||
<PropertyGroup> |
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
||||
</PropertyGroup> |
||||
<Error Condition="!Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> |
||||
</Target> |
||||
</Project> |
||||
@ -0,0 +1,45 @@
@@ -0,0 +1,45 @@
|
||||
#include "utility.h" |
||||
|
||||
#pragma region "Enable old taskbar" |
||||
/***
|
||||
Our target is in `CTray::Init()`. It constructs either the Windows 11 or the Windows 10 taskbar based on the result of |
||||
`winrt::WindowsUdk::ApplicationModel::AppExtensions::XamlExtensions::IsExtensionAvailable()`. We can to make the last |
||||
argument of that function be set to false, so that we'll get the Windows 10 taskbar instead of the Windows 11 one that |
||||
gets constructed through `CTray::InitializeTrayUIComponent()`. |
||||
|
||||
Alternatively, we can modify the behavior of `CTray::InitializeTrayUIComponent`. It contains the code to call |
||||
`TrayUI_CreateInstance()` that resides in `Taskbar.dll` (checked through HKLM\SOFTWARE\Classes\CLSID\<the CLSID>) which |
||||
is a copy of the Windows 10 taskbar code but modified over the time to support the Windows 11 taskbar. We see that it |
||||
calls `CoCreateInstance` to get an `ITrayUIComponent` interface to an instance of `TrayUIComponent`. We hook that |
||||
function to make it return our own custom `ITrayUIComponent` instance. Our `ITrayUIComponent::InitializeWithTray()` |
||||
function calls `TrayUI_CreateInstance()` of `explorer.exe` that is also called when the last argument of |
||||
`IsExtensionAvailable()` after the call is false. |
||||
|
||||
This way, we can get the Windows 10 taskbar which resides in explorer.exe without hooking LoadLibraryExW() in order to |
||||
perform our initial method which has been known to be inconsistent on some systems. (Thanks feature flags!) |
||||
***/ |
||||
|
||||
static ULONG STDMETHODCALLTYPE nimplAddRefRelease(IUnknown* This) |
||||
{ |
||||
return 1; |
||||
} |
||||
|
||||
static HRESULT STDMETHODCALLTYPE ITrayUIComponent_QueryInterface(ITrayUIComponent* This, REFIID riid, void** ppvObject) |
||||
{ |
||||
// Should never be called
|
||||
return E_NOTIMPL; |
||||
} |
||||
|
||||
static HRESULT STDMETHODCALLTYPE ITrayUIComponent_InitializeWithTray(ITrayUIComponent* This, ITrayUIHost* host, ITrayUI** result) |
||||
{ |
||||
return explorer_TrayUI_CreateInstanceFunc(host, &IID_ITrayUI, (void**)result); |
||||
} |
||||
|
||||
static const ITrayUIComponentVtbl instanceof_ITrayUIComponentVtbl = { |
||||
.QueryInterface = ITrayUIComponent_QueryInterface, |
||||
.AddRef = nimplAddRefRelease, |
||||
.Release = nimplAddRefRelease, |
||||
.InitializeWithTray = ITrayUIComponent_InitializeWithTray |
||||
}; |
||||
const ITrayUIComponent instanceof_ITrayUIComponent = { &instanceof_ITrayUIComponentVtbl }; |
||||
#pragma endregion |
||||
@ -1,98 +1,98 @@
@@ -1,98 +1,98 @@
|
||||
#ifndef _H_GUI_H_ |
||||
#define _H_GUI_H_ |
||||
#define _CRTDBG_MAP_ALLOC |
||||
#include <stdlib.h> |
||||
#include <crtdbg.h> |
||||
#pragma comment(linker,"\"/manifestdependency:type='win32' \ |
||||
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ |
||||
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
||||
#include <Windows.h> |
||||
#pragma comment(lib, "Version.lib") |
||||
#include <Shlwapi.h> |
||||
#pragma comment(lib, "Shlwapi.lib") |
||||
#include <windowsx.h> |
||||
#include <tlhelp32.h> |
||||
#include <shellscalingapi.h> |
||||
#pragma comment(lib, "Shcore.lib") |
||||
#include <conio.h> |
||||
#include <stdio.h> |
||||
#include <Uxtheme.h> |
||||
#pragma comment(lib, "UxTheme.lib") |
||||
#include <dwmapi.h> |
||||
#pragma comment(lib, "Dwmapi.lib") |
||||
#include "resources/resource.h" |
||||
#include "../ExplorerPatcher/getline.h" |
||||
#include "../ExplorerPatcher/fmemopen.h" |
||||
#include "../ExplorerPatcher/Localization.h" |
||||
#include "../ExplorerPatcher/utility.h" |
||||
#include "../ep_weather_host/ep_weather.h" |
||||
#include "../ep_weather_host/ep_weather_host_h.h" |
||||
|
||||
#define MAX_LINE_LENGTH 2000 |
||||
extern HMODULE hModule; |
||||
|
||||
#define GUI_POSITION_X CW_USEDEFAULT |
||||
#define GUI_POSITION_Y CW_USEDEFAULT |
||||
#define GUI_POSITION_WIDTH 367 |
||||
#define GUI_POSITION_HEIGHT 316 |
||||
#define GUI_WINDOWSWITCHER_THEME_CLASS "ControlPanelStyle" |
||||
#define GUI_CAPTION_FONT_SIZE -12 |
||||
#define GUI_SECTION_FONT_SIZE -12 |
||||
#define GUI_SECTION_HEIGHT 32 |
||||
#define GUI_TITLE_FONT_SIZE -12 |
||||
#define GUI_LINE_HEIGHT 26 |
||||
#define GUI_CAPTION_LINE_HEIGHT_DEFAULT 42 |
||||
#define GUI_TEXTCOLOR RGB(0, 0, 0) |
||||
#define GUI_TEXTCOLOR_SELECTED RGB(255, 0, 0) |
||||
#define GUI_TEXTCOLOR_DARK RGB(240, 240, 240) |
||||
#define GUI_TEXTCOLOR_SELECTED_DARK RGB(255, 150, 150) |
||||
#define GUI_MAX_TABORDER 9999 |
||||
#define GUI_PADDING 5 |
||||
#define GUI_PADDING_LEFT GUI_PADDING * 3 |
||||
#define GUI_SIDEBAR_WIDTH 110 |
||||
#define GUI_PADDING_RIGHT GUI_PADDING * 3 |
||||
#define GUI_PADDING_TOP GUI_PADDING |
||||
#define GUI_PADDING_BOTTOM GUI_PADDING |
||||
#define GUI_STATUS_PADDING 10 |
||||
|
||||
#define GUI_TIMER_READ_HELP 1 |
||||
#define GUI_TIMER_READ_HELP_TIMEOUT 1000 |
||||
#define GUI_TIMER_READ_REPEAT_SELECTION 2 |
||||
#define GUI_TIMER_READ_REPEAT_SELECTION_TIMEOUT 1000 |
||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND 2 |
||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND_TIMEOUT 1000 |
||||
typedef struct _GUI |
||||
{ |
||||
POINT location; |
||||
SIZE size; |
||||
RECT padding; |
||||
UINT sidebarWidth; |
||||
HBRUSH hBackgroundBrush; |
||||
HTHEME hTheme; |
||||
POINT dpi; |
||||
MARGINS extent; |
||||
UINT tabOrder; |
||||
DWORD bCalcExtent; |
||||
SIZE_T section; |
||||
DWORD dwStatusbarY; |
||||
HICON hIcon; |
||||
RECT border_thickness; |
||||
UINT GUI_CAPTION_LINE_HEIGHT; |
||||
long long LeftClickTime; |
||||
long long LastClickTime; |
||||
HMODULE hExplorerFrame; |
||||
void* pAccPropServices; |
||||
HWND hAccLabel; |
||||
BOOL bShouldAnnounceSelected; |
||||
WCHAR sectionNames[20][20]; |
||||
BOOL bRebuildIfTabOrderIsEmpty; |
||||
int dwPageLocation; |
||||
DWORD last_section; |
||||
} GUI; |
||||
|
||||
static BOOL GUI_Build(HDC hDC, HWND hWnd); |
||||
|
||||
static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
||||
|
||||
__declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLine, int nCmdShow); |
||||
#endif |
||||
#ifndef _H_GUI_H_ |
||||
#define _H_GUI_H_ |
||||
#define _CRTDBG_MAP_ALLOC |
||||
#include <stdlib.h> |
||||
#include <crtdbg.h> |
||||
#pragma comment(linker,"\"/manifestdependency:type='win32' \ |
||||
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ |
||||
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
||||
#include <Windows.h> |
||||
#pragma comment(lib, "Version.lib") |
||||
#include <Shlwapi.h> |
||||
#pragma comment(lib, "Shlwapi.lib") |
||||
#include <windowsx.h> |
||||
#include <tlhelp32.h> |
||||
#include <shellscalingapi.h> |
||||
#pragma comment(lib, "Shcore.lib") |
||||
#include <conio.h> |
||||
#include <stdio.h> |
||||
#include <Uxtheme.h> |
||||
#pragma comment(lib, "UxTheme.lib") |
||||
#include <dwmapi.h> |
||||
#pragma comment(lib, "Dwmapi.lib") |
||||
#include "resources/resource.h" |
||||
#include "../ExplorerPatcher/getline.h" |
||||
#include "../ExplorerPatcher/fmemopen.h" |
||||
#include "../ExplorerPatcher/Localization.h" |
||||
#include "../ExplorerPatcher/utility.h" |
||||
#include "../ep_weather_host/ep_weather.h" |
||||
#include "../ep_weather_host/ep_weather_host_h.h" |
||||
|
||||
#define MAX_LINE_LENGTH 2000 |
||||
extern HMODULE hModule; |
||||
|
||||
#define GUI_POSITION_X CW_USEDEFAULT |
||||
#define GUI_POSITION_Y CW_USEDEFAULT |
||||
#define GUI_POSITION_WIDTH 367 |
||||
#define GUI_POSITION_HEIGHT 316 |
||||
#define GUI_WINDOWSWITCHER_THEME_CLASS "ControlPanelStyle" |
||||
#define GUI_CAPTION_FONT_SIZE -12 |
||||
#define GUI_SECTION_FONT_SIZE -12 |
||||
#define GUI_SECTION_HEIGHT 32 |
||||
#define GUI_TITLE_FONT_SIZE -12 |
||||
#define GUI_LINE_HEIGHT 26 |
||||
#define GUI_CAPTION_LINE_HEIGHT_DEFAULT 42 |
||||
#define GUI_TEXTCOLOR RGB(0, 0, 0) |
||||
#define GUI_TEXTCOLOR_SELECTED RGB(255, 0, 0) |
||||
#define GUI_TEXTCOLOR_DARK RGB(240, 240, 240) |
||||
#define GUI_TEXTCOLOR_SELECTED_DARK RGB(255, 150, 150) |
||||
#define GUI_MAX_TABORDER 9999 |
||||
#define GUI_PADDING 5 |
||||
#define GUI_PADDING_LEFT GUI_PADDING * 3 |
||||
#define GUI_SIDEBAR_WIDTH 110 |
||||
#define GUI_PADDING_RIGHT GUI_PADDING * 3 |
||||
#define GUI_PADDING_TOP GUI_PADDING |
||||
#define GUI_PADDING_BOTTOM GUI_PADDING |
||||
#define GUI_STATUS_PADDING 10 |
||||
|
||||
#define GUI_TIMER_READ_HELP 1 |
||||
#define GUI_TIMER_READ_HELP_TIMEOUT 1000 |
||||
#define GUI_TIMER_READ_REPEAT_SELECTION 2 |
||||
#define GUI_TIMER_READ_REPEAT_SELECTION_TIMEOUT 1000 |
||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND 2 |
||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND_TIMEOUT 1000 |
||||
typedef struct _GUI |
||||
{ |
||||
POINT location; |
||||
SIZE size; |
||||
RECT padding; |
||||
UINT sidebarWidth; |
||||
HBRUSH hBackgroundBrush; |
||||
HTHEME hTheme; |
||||
POINT dpi; |
||||
MARGINS extent; |
||||
UINT tabOrder; |
||||
DWORD bCalcExtent; |
||||
SIZE_T section; |
||||
DWORD dwStatusbarY; |
||||
HICON hIcon; |
||||
RECT border_thickness; |
||||
UINT GUI_CAPTION_LINE_HEIGHT; |
||||
long long LeftClickTime; |
||||
long long LastClickTime; |
||||
HMODULE hExplorerFrame; |
||||
void* pAccPropServices; |
||||
HWND hAccLabel; |
||||
BOOL bShouldAnnounceSelected; |
||||
WCHAR sectionNames[20][32]; |
||||
BOOL bRebuildIfTabOrderIsEmpty; |
||||
int dwPageLocation; |
||||
DWORD last_section; |
||||
} GUI; |
||||
|
||||
static BOOL GUI_Build(HDC hDC, HWND hWnd); |
||||
|
||||
static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
||||
|
||||
__declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLine, int nCmdShow); |
||||
#endif |
||||
|
||||
Loading…
Reference in new issue