Skip to content

Commit

Permalink
Introduce SynthRdp project.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Jul 27, 2024
1 parent bb2ebb7 commit 84fa6c2
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 0 deletions.
14 changes: 14 additions & 0 deletions NanaRun.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NanaRun", "NanaRun\NanaRun.
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MinSudo", "MinSudo\MinSudo.vcxproj", "{99FA5072-6C05-4027-8C8B-EA3EC9BCF9E0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SynthRdp", "SynthRdp\SynthRdp.vcxproj", "{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Expand Down Expand Up @@ -41,6 +43,18 @@ Global
{99FA5072-6C05-4027-8C8B-EA3EC9BCF9E0}.Release|x64.Build.0 = Release|x64
{99FA5072-6C05-4027-8C8B-EA3EC9BCF9E0}.Release|x86.ActiveCfg = Release|Win32
{99FA5072-6C05-4027-8C8B-EA3EC9BCF9E0}.Release|x86.Build.0 = Release|Win32
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|ARM64.ActiveCfg = Debug|ARM64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|ARM64.Build.0 = Debug|ARM64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|x64.ActiveCfg = Debug|x64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|x64.Build.0 = Debug|x64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|x86.ActiveCfg = Debug|Win32
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Debug|x86.Build.0 = Debug|Win32
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|ARM64.ActiveCfg = Release|ARM64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|ARM64.Build.0 = Release|ARM64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|x64.ActiveCfg = Release|x64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|x64.Build.0 = Release|x64
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|x86.ActiveCfg = Release|Win32
{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
26 changes: 26 additions & 0 deletions SynthRdp/SynthRdp.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* PROJECT: NanaRun
* FILE: SynthRdp.cpp
* PURPOSE: Implementation for Hyper-V VMBus Enhanced Session Service
*
* LICENSE: The MIT License
*
* MAINTAINER: MouriNaruto ([email protected])
*/

#include <cstdint>

#include <cstdio>
#include <cwchar>

int main()
{
std::wprintf(
L"Hyper-V VMBus Enhanced Session Service\n"
L"================================================================\n"
L"Hello World!\n");

std::getchar();

return 0;
}
12 changes: 12 additions & 0 deletions SynthRdp/SynthRdp.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
44 changes: 44 additions & 0 deletions SynthRdp/SynthRdp.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{ABFD05C2-4673-49EC-A23E-9CA53223EEC2}</ProjectGuid>
<RootNamespace>SynthRdp</RootNamespace>
<MileProjectType>ConsoleApplication</MileProjectType>
<MileProjectManifestFile>SynthRdp.manifest</MileProjectManifestFile>
<MileProjectEnableVCLTLSupport>true</MileProjectEnableVCLTLSupport>
<MileProjectUseProjectProperties>true</MileProjectUseProjectProperties>
<MileProjectCompanyName>M2-Team</MileProjectCompanyName>
<MileProjectFileDescription>Hyper-V VMBus Enhanced Session Service</MileProjectFileDescription>
<MileProjectInternalName>SynthRdp</MileProjectInternalName>
<MileProjectLegalCopyright>© M2-Team and Contributors. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>SynthRdp.exe</MileProjectOriginalFilename>
<MileProjectProductName>NanaRun</MileProjectProductName>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2024-05-01'))).TotalDays).0</MileProjectVersion>
<MileProjectVersionTag>Preview 2</MileProjectVersionTag>
</PropertyGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x86.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.ARM64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.Default.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.props" />
<ItemDefinitionGroup>
<ClCompile>
<EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="SynthRdp.cpp" />
</ItemGroup>
<ItemGroup>
<Manifest Include="SynthRdp.manifest" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mile.Windows.Helpers">
<Version>1.0.593</Version>
</PackageReference>
<PackageReference Include="Mile.HyperV">
<Version>1.0.272</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
</Project>

0 comments on commit 84fa6c2

Please sign in to comment.