mirror of https://github.com/dahall/Vanara.git
Initial PeerDist.dll implementation
parent
7b584a81f2
commit
0469e26f83
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,73 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ProjectExtensions>
|
||||
<SupportedDlls>PeerDist.dll</SupportedDlls>
|
||||
</ProjectExtensions>
|
||||
<PropertyGroup>
|
||||
<Description>PInvoke API (methods, structures and constants) imported from Windows PeerDist.dll.</Description>
|
||||
<AssemblyTitle>$(AssemblyName)</AssemblyTitle>
|
||||
<TargetFrameworks>net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;netcoreapp3.1</TargetFrameworks>
|
||||
<AssemblyName>Vanara.PInvoke.PeerDist</AssemblyName>
|
||||
<PackageId>$(AssemblyName)</PackageId>
|
||||
<PackageTags>pinvoke;vanara;net-extensions;interop;PeerDist</PackageTags>
|
||||
<PackageReleaseNotes />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.1|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net20|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net45|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net40|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.1|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net45|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net20|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net35|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.0|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net40|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net35|AnyCPU'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Core\Vanara.Core.csproj" />
|
||||
<ProjectReference Include="..\Shared\Vanara.PInvoke.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -9349,5 +9349,56 @@ namespace Vanara.PInvoke
|
|||
|
||||
/// <summary>A device which does not exist was specified.</summary>
|
||||
public const uint ERROR_NO_SUCH_DEVICE = 433;
|
||||
|
||||
/// <summary>The version of the supplied content information is not supported.</summary>
|
||||
public const uint PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED = 4050;
|
||||
|
||||
/// <summary>The supplied content information is malformed.</summary>
|
||||
public const uint PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO = 4051;
|
||||
|
||||
/// <summary>The requested data cannot be found in local or peer caches.</summary>
|
||||
public const uint PEERDIST_ERROR_MISSING_DATA = 4052;
|
||||
|
||||
/// <summary>No more data is available or required.</summary>
|
||||
public const uint PEERDIST_ERROR_NO_MORE = 4053;
|
||||
|
||||
/// <summary>The supplied object has not been initialized.</summary>
|
||||
public const uint PEERDIST_ERROR_NOT_INITIALIZED = 4054;
|
||||
|
||||
/// <summary>The supplied object has already been initialized.</summary>
|
||||
public const uint PEERDIST_ERROR_ALREADY_INITIALIZED = 4055;
|
||||
|
||||
/// <summary>A shutdown operation is already in progress.</summary>
|
||||
public const uint PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS = 4056;
|
||||
|
||||
/// <summary>The supplied object has already been invalidated.</summary>
|
||||
public const uint PEERDIST_ERROR_INVALIDATED = 4057;
|
||||
|
||||
/// <summary>An element already exists and was not replaced.</summary>
|
||||
public const uint PEERDIST_ERROR_ALREADY_EXISTS = 4058;
|
||||
|
||||
/// <summary>Can not cancel the requested operation as it has already been completed.</summary>
|
||||
public const uint PEERDIST_ERROR_OPERATION_NOTFOUND = 4059;
|
||||
|
||||
/// <summary>Can not perform the requested operation because it has already been carried out.</summary>
|
||||
public const uint PEERDIST_ERROR_ALREADY_COMPLETED = 4060;
|
||||
|
||||
/// <summary>An operation accessed data beyond the bounds of valid data.</summary>
|
||||
public const uint PEERDIST_ERROR_OUT_OF_BOUNDS = 4061;
|
||||
|
||||
/// <summary>The requested version is not supported.</summary>
|
||||
public const uint PEERDIST_ERROR_VERSION_UNSUPPORTED = 4062;
|
||||
|
||||
/// <summary>A configuration value is invalid.</summary>
|
||||
public const uint PEERDIST_ERROR_INVALID_CONFIGURATION = 4063;
|
||||
|
||||
/// <summary>The SKU is not licensed.</summary>
|
||||
public const uint PEERDIST_ERROR_NOT_LICENSED = 4064;
|
||||
|
||||
/// <summary>PeerDist Service is still initializing and will be available shortly.</summary>
|
||||
public const uint PEERDIST_ERROR_SERVICE_UNAVAILABLE = 4065;
|
||||
|
||||
/// <summary>Communication with one or more computers will be temporarily blocked due to recent errors.</summary>
|
||||
public const uint PEERDIST_ERROR_TRUST_FAILURE = 4066;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -243,6 +243,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vanara.PInvoke.P2P", "PInvo
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "P2P", "UnitTests\PInvoke\P2P\P2P.csproj", "{BBA10B94-658F-4BD7-A3DD-AA39CDF9A68D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vanara.PInvoke.PeerDist", "PInvoke\PeerDist\Vanara.PInvoke.PeerDist.csproj", "{3108565B-2F79-447B-9386-42203CD949A5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -779,6 +781,12 @@ Global
|
|||
{BBA10B94-658F-4BD7-A3DD-AA39CDF9A68D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BBA10B94-658F-4BD7-A3DD-AA39CDF9A68D}.DebugNoTests|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BBA10B94-658F-4BD7-A3DD-AA39CDF9A68D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.DebugNoTests|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.DebugNoTests|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3108565B-2F79-447B-9386-42203CD949A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -883,6 +891,7 @@ Global
|
|||
{F2C94926-224F-43AB-B351-C20C9B2D8656} = {385CAD2D-0A5E-4F80-927B-D5499D126B90}
|
||||
{200D7E57-452A-4A43-A96D-386F7C49E7BA} = {212ABBD0-B724-4CFA-9D6D-E3891547FA90}
|
||||
{BBA10B94-658F-4BD7-A3DD-AA39CDF9A68D} = {385CAD2D-0A5E-4F80-927B-D5499D126B90}
|
||||
{3108565B-2F79-447B-9386-42203CD949A5} = {212ABBD0-B724-4CFA-9D6D-E3891547FA90}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {543FAC75-2AF1-4EF1-9609-B242B63FEED4}
|
||||
|
|
Loading…
Reference in New Issue