At last we can output stuff on our display.
The whole thing is still quite broken though.
Rebase: No start-up but that's ok.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
21 <PropertyGroup Label="Globals">
22 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
23 <ProjectName>UacHelpers.UserAccountControl</ProjectName>
24 <ProjectGuid>{D043A646-FE7A-4334-B23D-E327593C1AE2}</ProjectGuid>
25 <RootNamespace>UacHelpersCppLibrary</RootNamespace>
34 <Keyword>ManagedCProj</Keyword>
36 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38 <ConfigurationType>DynamicLibrary</ConfigurationType>
39 <CharacterSet>Unicode</CharacterSet>
40 <CLRSupport>true</CLRSupport>
41 <WholeProgramOptimization>true</WholeProgramOptimization>
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
44 <ConfigurationType>DynamicLibrary</ConfigurationType>
45 <CharacterSet>Unicode</CharacterSet>
46 <CLRSupport>true</CLRSupport>
48 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49 <ConfigurationType>DynamicLibrary</ConfigurationType>
50 <CharacterSet>Unicode</CharacterSet>
51 <CLRSupport>true</CLRSupport>
52 <WholeProgramOptimization>true</WholeProgramOptimization>
54 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
55 <ConfigurationType>DynamicLibrary</ConfigurationType>
56 <CharacterSet>Unicode</CharacterSet>
57 <CLRSupport>true</CLRSupport>
59 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
60 <ImportGroup Label="ExtensionSettings">
62 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
69 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
72 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
74 <PropertyGroup Label="UserMacros" />
76 <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
77 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
78 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
79 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
80 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
81 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
82 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
83 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
84 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
85 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
86 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
87 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
88 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
89 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
90 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
91 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
92 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
93 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
94 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
95 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
96 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
97 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
98 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
99 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
100 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
102 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
104 <Optimization>Disabled</Optimization>
105 <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
106 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
109 <GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>
110 <WarningLevel>Level3</WarningLevel>
111 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
114 <AdditionalDependencies>
115 </AdditionalDependencies>
116 <GenerateDebugInformation>true</GenerateDebugInformation>
117 <AssemblyDebug>true</AssemblyDebug>
118 <RandomizedBaseAddress>false</RandomizedBaseAddress>
119 <DataExecutionPrevention>
120 </DataExecutionPrevention>
121 <TargetMachine>MachineX86</TargetMachine>
123 </ItemDefinitionGroup>
124 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
126 <TargetEnvironment>X64</TargetEnvironment>
129 <Optimization>Disabled</Optimization>
130 <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
134 <GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>
135 <WarningLevel>Level3</WarningLevel>
136 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
139 <AdditionalDependencies>
140 </AdditionalDependencies>
141 <GenerateDebugInformation>true</GenerateDebugInformation>
142 <AssemblyDebug>true</AssemblyDebug>
143 <RandomizedBaseAddress>false</RandomizedBaseAddress>
144 <DataExecutionPrevention>
145 </DataExecutionPrevention>
146 <TargetMachine>MachineX64</TargetMachine>
148 </ItemDefinitionGroup>
149 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
151 <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
152 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
155 <GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>
156 <WarningLevel>Level3</WarningLevel>
157 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
160 <AdditionalDependencies>
161 </AdditionalDependencies>
162 <GenerateDebugInformation>true</GenerateDebugInformation>
163 <RandomizedBaseAddress>false</RandomizedBaseAddress>
164 <DataExecutionPrevention>
165 </DataExecutionPrevention>
166 <TargetMachine>MachineX86</TargetMachine>
168 </ItemDefinitionGroup>
169 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
171 <TargetEnvironment>X64</TargetEnvironment>
174 <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
175 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
178 <GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>
179 <WarningLevel>Level3</WarningLevel>
180 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
183 <AdditionalDependencies>
184 </AdditionalDependencies>
185 <GenerateDebugInformation>true</GenerateDebugInformation>
186 <RandomizedBaseAddress>false</RandomizedBaseAddress>
187 <DataExecutionPrevention>
188 </DataExecutionPrevention>
189 <TargetMachine>MachineX64</TargetMachine>
191 </ItemDefinitionGroup>
193 <Reference Include="System">
194 <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
195 <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
197 <Reference Include="System.Data">
198 <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
199 <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
201 <Reference Include="System.Xml">
202 <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
203 <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
207 <ClCompile Include="AssemblyInfo.cpp" />
208 <ClCompile Include="UserAccountControl.cpp" />
211 <ClInclude Include="UserAccountControl.h" />
213 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
214 <ImportGroup Label="ExtensionTargets">