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 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
<ItemGroup Label="ProjectConfigurations"> |
<ItemGroup Label="ProjectConfigurations"> |
||||||
<ProjectConfiguration Include="Debug|Win32"> |
<ProjectConfiguration Include="Debug|Win32"> |
||||||
<Configuration>Debug</Configuration> |
<Configuration>Debug</Configuration> |
||||||
<Platform>Win32</Platform> |
<Platform>Win32</Platform> |
||||||
</ProjectConfiguration> |
</ProjectConfiguration> |
||||||
<ProjectConfiguration Include="Debug|x64"> |
<ProjectConfiguration Include="Debug|x64"> |
||||||
<Configuration>Debug</Configuration> |
<Configuration>Debug</Configuration> |
||||||
<Platform>x64</Platform> |
<Platform>x64</Platform> |
||||||
</ProjectConfiguration> |
</ProjectConfiguration> |
||||||
<ProjectConfiguration Include="Release|Win32"> |
<ProjectConfiguration Include="Release|Win32"> |
||||||
<Configuration>Release</Configuration> |
<Configuration>Release</Configuration> |
||||||
<Platform>Win32</Platform> |
<Platform>Win32</Platform> |
||||||
</ProjectConfiguration> |
</ProjectConfiguration> |
||||||
<ProjectConfiguration Include="Release|x64"> |
<ProjectConfiguration Include="Release|x64"> |
||||||
<Configuration>Release</Configuration> |
<Configuration>Release</Configuration> |
||||||
<Platform>x64</Platform> |
<Platform>x64</Platform> |
||||||
</ProjectConfiguration> |
</ProjectConfiguration> |
||||||
</ItemGroup> |
</ItemGroup> |
||||||
<PropertyGroup Label="Globals"> |
<PropertyGroup Label="Globals"> |
||||||
<VCProjectVersion>16.0</VCProjectVersion> |
<VCProjectVersion>16.0</VCProjectVersion> |
||||||
<ProjectGuid>{DB3E4319-2969-42B6-B7E8-BB57AA8C9FA9}</ProjectGuid> |
<ProjectGuid>{DB3E4319-2969-42B6-B7E8-BB57AA8C9FA9}</ProjectGuid> |
||||||
<RootNamespace>CenterTitlebarTextLibrary</RootNamespace> |
<RootNamespace>CenterTitlebarTextLibrary</RootNamespace> |
||||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
||||||
<ProjectName>ExplorerPatcher</ProjectName> |
<ProjectName>ExplorerPatcher</ProjectName> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||||
<UseDebugLibraries>true</UseDebugLibraries> |
<UseDebugLibraries>true</UseDebugLibraries> |
||||||
<PlatformToolset>v142</PlatformToolset> |
<PlatformToolset>v142</PlatformToolset> |
||||||
<CharacterSet>Unicode</CharacterSet> |
<CharacterSet>Unicode</CharacterSet> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||||
<UseDebugLibraries>true</UseDebugLibraries> |
<UseDebugLibraries>true</UseDebugLibraries> |
||||||
<PlatformToolset>v142</PlatformToolset> |
<PlatformToolset>v142</PlatformToolset> |
||||||
<CharacterSet>Unicode</CharacterSet> |
<CharacterSet>Unicode</CharacterSet> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||||
<UseDebugLibraries>false</UseDebugLibraries> |
<UseDebugLibraries>false</UseDebugLibraries> |
||||||
<PlatformToolset>v142</PlatformToolset> |
<PlatformToolset>v142</PlatformToolset> |
||||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||||
<CharacterSet>Unicode</CharacterSet> |
<CharacterSet>Unicode</CharacterSet> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||||
<UseDebugLibraries>false</UseDebugLibraries> |
<UseDebugLibraries>false</UseDebugLibraries> |
||||||
<PlatformToolset>v142</PlatformToolset> |
<PlatformToolset>v142</PlatformToolset> |
||||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||||
<CharacterSet>Unicode</CharacterSet> |
<CharacterSet>Unicode</CharacterSet> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||||
<ImportGroup Label="ExtensionSettings"> |
<ImportGroup Label="ExtensionSettings"> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<ImportGroup Label="Shared"> |
<ImportGroup Label="Shared"> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
<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" /> |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
<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" /> |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
<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" /> |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
<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" /> |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||||
</ImportGroup> |
</ImportGroup> |
||||||
<PropertyGroup Label="UserMacros" /> |
<PropertyGroup Label="UserMacros" /> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||||
<LinkIncremental>false</LinkIncremental> |
<LinkIncremental>false</LinkIncremental> |
||||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||||
<LinkIncremental>false</LinkIncremental> |
<LinkIncremental>false</LinkIncremental> |
||||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
<LinkIncremental>true</LinkIncremental> |
<LinkIncremental>true</LinkIncremental> |
||||||
<TargetName>ExplorerPatcher.amd64</TargetName> |
<TargetName>ExplorerPatcher.amd64</TargetName> |
||||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||||
<LinkIncremental>true</LinkIncremental> |
<LinkIncremental>true</LinkIncremental> |
||||||
<TargetName>ExplorerPatcher.IA-32</TargetName> |
<TargetName>ExplorerPatcher.IA-32</TargetName> |
||||||
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
<OutDir>$(SolutionDir)\build\$(Configuration)</OutDir> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||||
<ClCompile> |
<ClCompile> |
||||||
<WarningLevel>Level3</WarningLevel> |
<WarningLevel>Level3</WarningLevel> |
||||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||||
<SDLCheck>true</SDLCheck> |
<SDLCheck>true</SDLCheck> |
||||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
<ConformanceMode>true</ConformanceMode> |
<ConformanceMode>true</ConformanceMode> |
||||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||||
<CallingConvention>Cdecl</CallingConvention> |
<CallingConvention>Cdecl</CallingConvention> |
||||||
<LanguageStandard>stdcpp20</LanguageStandard> |
<LanguageStandard>stdcpp20</LanguageStandard> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<Link> |
<Link> |
||||||
<SubSystem>Console</SubSystem> |
<SubSystem>Console</SubSystem> |
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||||
<OptimizeReferences>true</OptimizeReferences> |
<OptimizeReferences>true</OptimizeReferences> |
||||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||||
</Link> |
</Link> |
||||||
<PreBuildEvent> |
<PreBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PreBuildEvent> |
</PreBuildEvent> |
||||||
<PostBuildEvent> |
<PostBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PostBuildEvent> |
</PostBuildEvent> |
||||||
</ItemDefinitionGroup> |
</ItemDefinitionGroup> |
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||||
<ClCompile> |
<ClCompile> |
||||||
<WarningLevel>Level3</WarningLevel> |
<WarningLevel>Level3</WarningLevel> |
||||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||||
<SDLCheck>true</SDLCheck> |
<SDLCheck>true</SDLCheck> |
||||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
<PreprocessorDefinitions>NDEBUG;_CONSOLE;WINRT_NO_SOURCE_LOCATION;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
<ConformanceMode>true</ConformanceMode> |
<ConformanceMode>true</ConformanceMode> |
||||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||||
<CallingConvention>StdCall</CallingConvention> |
<CallingConvention>StdCall</CallingConvention> |
||||||
<LanguageStandard>stdcpp20</LanguageStandard> |
<LanguageStandard>stdcpp20</LanguageStandard> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<Link> |
<Link> |
||||||
<SubSystem>Console</SubSystem> |
<SubSystem>Console</SubSystem> |
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||||
<OptimizeReferences>true</OptimizeReferences> |
<OptimizeReferences>true</OptimizeReferences> |
||||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||||
</Link> |
</Link> |
||||||
<PreBuildEvent> |
<PreBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PreBuildEvent> |
</PreBuildEvent> |
||||||
<PostBuildEvent> |
<PostBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PostBuildEvent> |
</PostBuildEvent> |
||||||
</ItemDefinitionGroup> |
</ItemDefinitionGroup> |
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
<ClCompile> |
<ClCompile> |
||||||
<WarningLevel>Level3</WarningLevel> |
<WarningLevel>Level3</WarningLevel> |
||||||
<SDLCheck>true</SDLCheck> |
<SDLCheck>true</SDLCheck> |
||||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
<ConformanceMode>true</ConformanceMode> |
<ConformanceMode>true</ConformanceMode> |
||||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||||
<CallingConvention>Cdecl</CallingConvention> |
<CallingConvention>Cdecl</CallingConvention> |
||||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||||
<LanguageStandard>stdcpp20</LanguageStandard> |
<LanguageStandard>stdcpp20</LanguageStandard> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<Link> |
<Link> |
||||||
<SubSystem>Console</SubSystem> |
<SubSystem>Console</SubSystem> |
||||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||||
</Link> |
</Link> |
||||||
<PostBuildEvent> |
<PostBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PostBuildEvent> |
</PostBuildEvent> |
||||||
<PreBuildEvent> |
<PreBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PreBuildEvent> |
</PreBuildEvent> |
||||||
</ItemDefinitionGroup> |
</ItemDefinitionGroup> |
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||||
<ClCompile> |
<ClCompile> |
||||||
<WarningLevel>Level3</WarningLevel> |
<WarningLevel>Level3</WarningLevel> |
||||||
<SDLCheck>true</SDLCheck> |
<SDLCheck>true</SDLCheck> |
||||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
<ConformanceMode>true</ConformanceMode> |
<ConformanceMode>true</ConformanceMode> |
||||||
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
<AdditionalIncludeDirectories>$(SolutionDir)libs\funchook\include;$(SolutionDir)libs\libvalinet;$(SolutionDir)libs\funchook\distorm\include;$(SolutionDir)libs\Detours\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
||||||
<CallingConvention>StdCall</CallingConvention> |
<CallingConvention>StdCall</CallingConvention> |
||||||
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
<ForcedIncludeFiles>$(SolutionDir)debug.h</ForcedIncludeFiles> |
||||||
<LanguageStandard>stdcpp20</LanguageStandard> |
<LanguageStandard>stdcpp20</LanguageStandard> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<Link> |
<Link> |
||||||
<SubSystem>Console</SubSystem> |
<SubSystem>Console</SubSystem> |
||||||
<GenerateDebugInformation>true</GenerateDebugInformation> |
<GenerateDebugInformation>true</GenerateDebugInformation> |
||||||
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
<AdditionalLibraryDirectories>$(SolutionDir)libs\funchook\build\Release\;$(SolutionDir)libs\Detours\lib.X64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> |
||||||
</Link> |
</Link> |
||||||
<PostBuildEvent> |
<PostBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PostBuildEvent> |
</PostBuildEvent> |
||||||
<PreBuildEvent> |
<PreBuildEvent> |
||||||
<Command> |
<Command> |
||||||
</Command> |
</Command> |
||||||
</PreBuildEvent> |
</PreBuildEvent> |
||||||
</ItemDefinitionGroup> |
</ItemDefinitionGroup> |
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_error.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_error.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_window.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_window.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||||
</ExcludedFromBuild> |
</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.c"> |
<ClCompile Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="ArchiveMenu.c"> |
<ClCompile Include="ArchiveMenu.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="dllmain.c" /> |
<ClCompile Include="dllmain.c" /> |
||||||
<ClCompile Include="fmemopen.c" /> |
<ClCompile Include="fmemopen.c" /> |
||||||
<ClCompile Include="getline.c" /> |
<ClCompile Include="getline.c" /> |
||||||
<ClCompile Include="HideExplorerSearchBar.c" /> |
<ClCompile Include="HideExplorerSearchBar.c" /> |
||||||
<ClCompile Include="ImmersiveFlyouts.c"> |
<ClCompile Include="ImmersiveFlyouts.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="Localization.cpp" /> |
<ClCompile Include="Localization.cpp" /> |
||||||
<ClCompile Include="lvt.c"> |
<ClCompile Include="lvt.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="SettingsMonitor.c" /> |
<ClCompile Include="SettingsMonitor.c" /> |
||||||
<ClCompile Include="StartMenu.c"> |
<ClCompile Include="StartMenu.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="StartMenuSettings.cpp"> |
<ClCompile Include="StartMenuSettings.cpp"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="StartupSound.c"> |
<ClCompile Include="StartupSound.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="symbols.c"> |
<ClCompile Include="symbols.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
<ClCompile Include="TaskbarCenter.c"> |
<ClCompile Include="Taskbar10.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
</ClCompile> |
||||||
</ExcludedFromBuild> |
<ClCompile Include="TaskbarCenter.c"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
</ExcludedFromBuild> |
||||||
</ClCompile> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||||
<ClCompile Include="updates.c"> |
</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ExcludedFromBuild> |
</ClCompile> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ClCompile Include="updates.c"> |
||||||
</ClCompile> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ClCompile Include="utility.c"> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
</ExcludedFromBuild> |
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
</ClCompile> |
</ClCompile> |
||||||
</ItemGroup> |
<ClCompile Include="utility.c"> |
||||||
<ItemGroup> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_def.h" /> |
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_error.h" /> |
</ClCompile> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.h" /> |
</ItemGroup> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.h" /> |
<ItemGroup> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_def.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_utility.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_error.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_IconPainter.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_window.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_RegistryMonitor.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_tshwnd.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_utility.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_vector.h" /> |
||||||
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_window.h" /> |
||||||
<ClInclude Include="..\version.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowHelpers.h" /> |
||||||
<ClInclude Include="ArchiveMenu.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.h" /> |
||||||
<ClInclude Include="def.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.h" /> |
||||||
<ClInclude Include="dxgi_imp.h" /> |
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.h" /> |
||||||
<ClInclude Include="fmemopen.h" /> |
<ClInclude Include="..\version.h" /> |
||||||
<ClInclude Include="getline.h" /> |
<ClInclude Include="ArchiveMenu.h" /> |
||||||
<ClInclude Include="HideExplorerSearchBar.h" /> |
<ClInclude Include="def.h" /> |
||||||
<ClInclude Include="hooking.h" /> |
<ClInclude Include="dxgi_imp.h" /> |
||||||
<ClInclude Include="ep_private.h" /> |
<ClInclude Include="fmemopen.h" /> |
||||||
<ClInclude Include="ImmersiveFlyouts.h" /> |
<ClInclude Include="getline.h" /> |
||||||
<ClInclude Include="Localization.h" /> |
<ClInclude Include="HideExplorerSearchBar.h" /> |
||||||
<ClInclude Include="lvt.h" /> |
<ClInclude Include="hooking.h" /> |
||||||
<ClInclude Include="osutility.h" /> |
<ClInclude Include="ep_private.h" /> |
||||||
<ClInclude Include="queryversion.h" /> |
<ClInclude Include="ImmersiveFlyouts.h" /> |
||||||
<ClInclude Include="resource.h" /> |
<ClInclude Include="Localization.h" /> |
||||||
<ClInclude Include="SettingsMonitor.h" /> |
<ClInclude Include="lvt.h" /> |
||||||
<ClInclude Include="StartMenu.h" /> |
<ClInclude Include="osutility.h" /> |
||||||
<ClInclude Include="StartupSound.h" /> |
<ClInclude Include="queryversion.h" /> |
||||||
<ClInclude Include="symbols.h" /> |
<ClInclude Include="resource.h" /> |
||||||
<ClInclude Include="TaskbarCenter.h" /> |
<ClInclude Include="SettingsMonitor.h" /> |
||||||
<ClInclude Include="updates.h" /> |
<ClInclude Include="StartMenu.h" /> |
||||||
<ClInclude Include="utility.h" /> |
<ClInclude Include="StartupSound.h" /> |
||||||
</ItemGroup> |
<ClInclude Include="symbols.h" /> |
||||||
<ItemGroup> |
<ClInclude Include="TaskbarCenter.h" /> |
||||||
<ResourceCompile Include="ExplorerPatcher.rc" /> |
<ClInclude Include="updates.h" /> |
||||||
</ItemGroup> |
<ClInclude Include="utility.h" /> |
||||||
<ItemGroup> |
</ItemGroup> |
||||||
<None Include="packages.config" /> |
<ItemGroup> |
||||||
</ItemGroup> |
<ResourceCompile Include="ExplorerPatcher.rc" /> |
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
</ItemGroup> |
||||||
<ImportGroup Label="ExtensionTargets"> |
<ItemGroup> |
||||||
<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')" /> |
<None Include="packages.config" /> |
||||||
</ImportGroup> |
</ItemGroup> |
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||||
<PropertyGroup> |
<ImportGroup Label="ExtensionTargets"> |
||||||
<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> |
<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')" /> |
||||||
</PropertyGroup> |
</ImportGroup> |
||||||
<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 Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
||||||
</Target> |
<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> |
</Project> |
||||||
@ -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 @@ |
|||||||
#ifndef _H_GUI_H_ |
#ifndef _H_GUI_H_ |
||||||
#define _H_GUI_H_ |
#define _H_GUI_H_ |
||||||
#define _CRTDBG_MAP_ALLOC |
#define _CRTDBG_MAP_ALLOC |
||||||
#include <stdlib.h> |
#include <stdlib.h> |
||||||
#include <crtdbg.h> |
#include <crtdbg.h> |
||||||
#pragma comment(linker,"\"/manifestdependency:type='win32' \ |
#pragma comment(linker,"\"/manifestdependency:type='win32' \ |
||||||
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ |
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ |
||||||
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
||||||
#include <Windows.h> |
#include <Windows.h> |
||||||
#pragma comment(lib, "Version.lib") |
#pragma comment(lib, "Version.lib") |
||||||
#include <Shlwapi.h> |
#include <Shlwapi.h> |
||||||
#pragma comment(lib, "Shlwapi.lib") |
#pragma comment(lib, "Shlwapi.lib") |
||||||
#include <windowsx.h> |
#include <windowsx.h> |
||||||
#include <tlhelp32.h> |
#include <tlhelp32.h> |
||||||
#include <shellscalingapi.h> |
#include <shellscalingapi.h> |
||||||
#pragma comment(lib, "Shcore.lib") |
#pragma comment(lib, "Shcore.lib") |
||||||
#include <conio.h> |
#include <conio.h> |
||||||
#include <stdio.h> |
#include <stdio.h> |
||||||
#include <Uxtheme.h> |
#include <Uxtheme.h> |
||||||
#pragma comment(lib, "UxTheme.lib") |
#pragma comment(lib, "UxTheme.lib") |
||||||
#include <dwmapi.h> |
#include <dwmapi.h> |
||||||
#pragma comment(lib, "Dwmapi.lib") |
#pragma comment(lib, "Dwmapi.lib") |
||||||
#include "resources/resource.h" |
#include "resources/resource.h" |
||||||
#include "../ExplorerPatcher/getline.h" |
#include "../ExplorerPatcher/getline.h" |
||||||
#include "../ExplorerPatcher/fmemopen.h" |
#include "../ExplorerPatcher/fmemopen.h" |
||||||
#include "../ExplorerPatcher/Localization.h" |
#include "../ExplorerPatcher/Localization.h" |
||||||
#include "../ExplorerPatcher/utility.h" |
#include "../ExplorerPatcher/utility.h" |
||||||
#include "../ep_weather_host/ep_weather.h" |
#include "../ep_weather_host/ep_weather.h" |
||||||
#include "../ep_weather_host/ep_weather_host_h.h" |
#include "../ep_weather_host/ep_weather_host_h.h" |
||||||
|
|
||||||
#define MAX_LINE_LENGTH 2000 |
#define MAX_LINE_LENGTH 2000 |
||||||
extern HMODULE hModule; |
extern HMODULE hModule; |
||||||
|
|
||||||
#define GUI_POSITION_X CW_USEDEFAULT |
#define GUI_POSITION_X CW_USEDEFAULT |
||||||
#define GUI_POSITION_Y CW_USEDEFAULT |
#define GUI_POSITION_Y CW_USEDEFAULT |
||||||
#define GUI_POSITION_WIDTH 367 |
#define GUI_POSITION_WIDTH 367 |
||||||
#define GUI_POSITION_HEIGHT 316 |
#define GUI_POSITION_HEIGHT 316 |
||||||
#define GUI_WINDOWSWITCHER_THEME_CLASS "ControlPanelStyle" |
#define GUI_WINDOWSWITCHER_THEME_CLASS "ControlPanelStyle" |
||||||
#define GUI_CAPTION_FONT_SIZE -12 |
#define GUI_CAPTION_FONT_SIZE -12 |
||||||
#define GUI_SECTION_FONT_SIZE -12 |
#define GUI_SECTION_FONT_SIZE -12 |
||||||
#define GUI_SECTION_HEIGHT 32 |
#define GUI_SECTION_HEIGHT 32 |
||||||
#define GUI_TITLE_FONT_SIZE -12 |
#define GUI_TITLE_FONT_SIZE -12 |
||||||
#define GUI_LINE_HEIGHT 26 |
#define GUI_LINE_HEIGHT 26 |
||||||
#define GUI_CAPTION_LINE_HEIGHT_DEFAULT 42 |
#define GUI_CAPTION_LINE_HEIGHT_DEFAULT 42 |
||||||
#define GUI_TEXTCOLOR RGB(0, 0, 0) |
#define GUI_TEXTCOLOR RGB(0, 0, 0) |
||||||
#define GUI_TEXTCOLOR_SELECTED RGB(255, 0, 0) |
#define GUI_TEXTCOLOR_SELECTED RGB(255, 0, 0) |
||||||
#define GUI_TEXTCOLOR_DARK RGB(240, 240, 240) |
#define GUI_TEXTCOLOR_DARK RGB(240, 240, 240) |
||||||
#define GUI_TEXTCOLOR_SELECTED_DARK RGB(255, 150, 150) |
#define GUI_TEXTCOLOR_SELECTED_DARK RGB(255, 150, 150) |
||||||
#define GUI_MAX_TABORDER 9999 |
#define GUI_MAX_TABORDER 9999 |
||||||
#define GUI_PADDING 5 |
#define GUI_PADDING 5 |
||||||
#define GUI_PADDING_LEFT GUI_PADDING * 3 |
#define GUI_PADDING_LEFT GUI_PADDING * 3 |
||||||
#define GUI_SIDEBAR_WIDTH 110 |
#define GUI_SIDEBAR_WIDTH 110 |
||||||
#define GUI_PADDING_RIGHT GUI_PADDING * 3 |
#define GUI_PADDING_RIGHT GUI_PADDING * 3 |
||||||
#define GUI_PADDING_TOP GUI_PADDING |
#define GUI_PADDING_TOP GUI_PADDING |
||||||
#define GUI_PADDING_BOTTOM GUI_PADDING |
#define GUI_PADDING_BOTTOM GUI_PADDING |
||||||
#define GUI_STATUS_PADDING 10 |
#define GUI_STATUS_PADDING 10 |
||||||
|
|
||||||
#define GUI_TIMER_READ_HELP 1 |
#define GUI_TIMER_READ_HELP 1 |
||||||
#define GUI_TIMER_READ_HELP_TIMEOUT 1000 |
#define GUI_TIMER_READ_HELP_TIMEOUT 1000 |
||||||
#define GUI_TIMER_READ_REPEAT_SELECTION 2 |
#define GUI_TIMER_READ_REPEAT_SELECTION 2 |
||||||
#define GUI_TIMER_READ_REPEAT_SELECTION_TIMEOUT 1000 |
#define GUI_TIMER_READ_REPEAT_SELECTION_TIMEOUT 1000 |
||||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND 2 |
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND 2 |
||||||
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND_TIMEOUT 1000 |
#define GUI_TIMER_REFRESH_FOR_PEOPLEBAND_TIMEOUT 1000 |
||||||
typedef struct _GUI |
typedef struct _GUI |
||||||
{ |
{ |
||||||
POINT location; |
POINT location; |
||||||
SIZE size; |
SIZE size; |
||||||
RECT padding; |
RECT padding; |
||||||
UINT sidebarWidth; |
UINT sidebarWidth; |
||||||
HBRUSH hBackgroundBrush; |
HBRUSH hBackgroundBrush; |
||||||
HTHEME hTheme; |
HTHEME hTheme; |
||||||
POINT dpi; |
POINT dpi; |
||||||
MARGINS extent; |
MARGINS extent; |
||||||
UINT tabOrder; |
UINT tabOrder; |
||||||
DWORD bCalcExtent; |
DWORD bCalcExtent; |
||||||
SIZE_T section; |
SIZE_T section; |
||||||
DWORD dwStatusbarY; |
DWORD dwStatusbarY; |
||||||
HICON hIcon; |
HICON hIcon; |
||||||
RECT border_thickness; |
RECT border_thickness; |
||||||
UINT GUI_CAPTION_LINE_HEIGHT; |
UINT GUI_CAPTION_LINE_HEIGHT; |
||||||
long long LeftClickTime; |
long long LeftClickTime; |
||||||
long long LastClickTime; |
long long LastClickTime; |
||||||
HMODULE hExplorerFrame; |
HMODULE hExplorerFrame; |
||||||
void* pAccPropServices; |
void* pAccPropServices; |
||||||
HWND hAccLabel; |
HWND hAccLabel; |
||||||
BOOL bShouldAnnounceSelected; |
BOOL bShouldAnnounceSelected; |
||||||
WCHAR sectionNames[20][20]; |
WCHAR sectionNames[20][32]; |
||||||
BOOL bRebuildIfTabOrderIsEmpty; |
BOOL bRebuildIfTabOrderIsEmpty; |
||||||
int dwPageLocation; |
int dwPageLocation; |
||||||
DWORD last_section; |
DWORD last_section; |
||||||
} GUI; |
} GUI; |
||||||
|
|
||||||
static BOOL GUI_Build(HDC hDC, HWND hWnd); |
static BOOL GUI_Build(HDC hDC, HWND hWnd); |
||||||
|
|
||||||
static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
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); |
__declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLine, int nCmdShow); |
||||||
#endif |
#endif |
||||||
|
|||||||
Loading…
Reference in new issue