Skip to content

Commit 94dcc43

Browse files
committed
Address year of bit rot
1 parent 8c9be2d commit 94dcc43

File tree

5 files changed

+22
-19
lines changed

5 files changed

+22
-19
lines changed

BSCP/ConfigurableShell/ConfigurableShell.vcxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -22,32 +22,32 @@
2222
<ProjectGuid>{B8642BA3-D582-4F2B-9CB5-5CD5C089D76F}</ProjectGuid>
2323
<Keyword>Win32Proj</Keyword>
2424
<RootNamespace>ConfigurableShell</RootNamespace>
25-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
25+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
2626
</PropertyGroup>
2727
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2929
<ConfigurationType>Application</ConfigurationType>
3030
<UseDebugLibraries>true</UseDebugLibraries>
31-
<PlatformToolset>v140</PlatformToolset>
31+
<PlatformToolset>v141</PlatformToolset>
3232
<CharacterSet>Unicode</CharacterSet>
3333
</PropertyGroup>
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3535
<ConfigurationType>Application</ConfigurationType>
3636
<UseDebugLibraries>false</UseDebugLibraries>
37-
<PlatformToolset>v140</PlatformToolset>
37+
<PlatformToolset>v141</PlatformToolset>
3838
<WholeProgramOptimization>true</WholeProgramOptimization>
3939
<CharacterSet>Unicode</CharacterSet>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4242
<ConfigurationType>Application</ConfigurationType>
4343
<UseDebugLibraries>true</UseDebugLibraries>
44-
<PlatformToolset>v140</PlatformToolset>
44+
<PlatformToolset>v141</PlatformToolset>
4545
<CharacterSet>Unicode</CharacterSet>
4646
</PropertyGroup>
4747
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4848
<ConfigurationType>Application</ConfigurationType>
4949
<UseDebugLibraries>false</UseDebugLibraries>
50-
<PlatformToolset>v140</PlatformToolset>
50+
<PlatformToolset>v141</PlatformToolset>
5151
<WholeProgramOptimization>true</WholeProgramOptimization>
5252
<CharacterSet>Unicode</CharacterSet>
5353
</PropertyGroup>

BSCP/CredentialProvider/BSCredential.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ HRESULT BSCredential::SetStringValue(DWORD dwFieldID, _In_ PCWSTR pwz)
246246
}
247247

248248
// Returns whether a checkbox is checked or not as well as its label.
249+
#pragma warning (disable: 4100)
249250
HRESULT BSCredential::GetCheckboxValue(DWORD dwFieldID, _Out_ BOOL *pbChecked, _Outptr_result_nullonfailure_ PWSTR *ppwszLabel)
250251
{
251252
*ppwszLabel = nullptr;

BSCP/CredentialProvider/BootShellCredentialProvider.vcxproj

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -59,31 +59,32 @@
5959
<Keyword>Win32Proj</Keyword>
6060
<RootNamespace>BootShellCredentialProvider</RootNamespace>
6161
<ProjectName>BootShellCredentialProvider</ProjectName>
62+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
6263
</PropertyGroup>
6364
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
6465
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
6566
<ConfigurationType>DynamicLibrary</ConfigurationType>
6667
<UseDebugLibraries>true</UseDebugLibraries>
67-
<PlatformToolset>v140</PlatformToolset>
68+
<PlatformToolset>v141</PlatformToolset>
6869
<CharacterSet>Unicode</CharacterSet>
6970
</PropertyGroup>
7071
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
7172
<ConfigurationType>DynamicLibrary</ConfigurationType>
7273
<UseDebugLibraries>true</UseDebugLibraries>
73-
<PlatformToolset>v140</PlatformToolset>
74+
<PlatformToolset>v141</PlatformToolset>
7475
<CharacterSet>Unicode</CharacterSet>
7576
</PropertyGroup>
7677
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
7778
<ConfigurationType>DynamicLibrary</ConfigurationType>
7879
<UseDebugLibraries>false</UseDebugLibraries>
79-
<PlatformToolset>v140</PlatformToolset>
80+
<PlatformToolset>v141</PlatformToolset>
8081
<WholeProgramOptimization>true</WholeProgramOptimization>
8182
<CharacterSet>Unicode</CharacterSet>
8283
</PropertyGroup>
8384
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
8485
<ConfigurationType>DynamicLibrary</ConfigurationType>
8586
<UseDebugLibraries>false</UseDebugLibraries>
86-
<PlatformToolset>v140</PlatformToolset>
87+
<PlatformToolset>v141</PlatformToolset>
8788
<WholeProgramOptimization>true</WholeProgramOptimization>
8889
<CharacterSet>Unicode</CharacterSet>
8990
</PropertyGroup>
@@ -129,7 +130,7 @@
129130
<SubSystem>Windows</SubSystem>
130131
<GenerateDebugInformation>true</GenerateDebugInformation>
131132
<AdditionalDependencies>Credui.lib;Shlwapi.lib;Secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
132-
<ModuleDefinitionFile>samplev2credentialprovider.def</ModuleDefinitionFile>
133+
<ModuleDefinitionFile>BootShellCredentialProvider.def</ModuleDefinitionFile>
133134
</Link>
134135
</ItemDefinitionGroup>
135136
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -162,7 +163,7 @@
162163
<EnableCOMDATFolding>true</EnableCOMDATFolding>
163164
<OptimizeReferences>true</OptimizeReferences>
164165
<AdditionalDependencies>Credui.lib;Shlwapi.lib;Secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
165-
<ModuleDefinitionFile>samplev2credentialprovider.def</ModuleDefinitionFile>
166+
<ModuleDefinitionFile>BootShellCredentialProvider.def</ModuleDefinitionFile>
166167
</Link>
167168
</ItemDefinitionGroup>
168169
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

BSCP/RegProvider/RegProvider.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class REGPROVIDER_API CRegProvider {
2525
WCHAR* pwszGetSubKey(__in WCHAR* key_name, __in DWORD index, __out DWORD* cblength, __out DWORD* cclength);
2626
WCHAR* pwszGetValueAt_sz(__in WCHAR* key_name, __in WCHAR* value_name, __out DWORD* cblength, __out DWORD* cclength);
2727
private:
28+
#pragma warning (disable: 4251)
2829
std::list<WCHAR*> __alloced_strings; //allocated strings (for results), to facilitate deletion
2930
};
3031

BSCP/RegProvider/RegProvider.vcxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -22,32 +22,32 @@
2222
<ProjectGuid>{93A778E9-8F70-42C7-BF58-D08B5C6D348F}</ProjectGuid>
2323
<Keyword>Win32Proj</Keyword>
2424
<RootNamespace>RegProvider</RootNamespace>
25-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
25+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
2626
</PropertyGroup>
2727
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2929
<ConfigurationType>DynamicLibrary</ConfigurationType>
3030
<UseDebugLibraries>true</UseDebugLibraries>
31-
<PlatformToolset>v140</PlatformToolset>
31+
<PlatformToolset>v141</PlatformToolset>
3232
<CharacterSet>Unicode</CharacterSet>
3333
</PropertyGroup>
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3535
<ConfigurationType>DynamicLibrary</ConfigurationType>
3636
<UseDebugLibraries>false</UseDebugLibraries>
37-
<PlatformToolset>v140</PlatformToolset>
37+
<PlatformToolset>v141</PlatformToolset>
3838
<WholeProgramOptimization>true</WholeProgramOptimization>
3939
<CharacterSet>Unicode</CharacterSet>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4242
<ConfigurationType>DynamicLibrary</ConfigurationType>
4343
<UseDebugLibraries>true</UseDebugLibraries>
44-
<PlatformToolset>v140</PlatformToolset>
44+
<PlatformToolset>v141</PlatformToolset>
4545
<CharacterSet>Unicode</CharacterSet>
4646
</PropertyGroup>
4747
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4848
<ConfigurationType>DynamicLibrary</ConfigurationType>
4949
<UseDebugLibraries>false</UseDebugLibraries>
50-
<PlatformToolset>v140</PlatformToolset>
50+
<PlatformToolset>v141</PlatformToolset>
5151
<WholeProgramOptimization>true</WholeProgramOptimization>
5252
<CharacterSet>Unicode</CharacterSet>
5353
</PropertyGroup>

0 commit comments

Comments
 (0)