Skip to content

Commit 5199b2e

Browse files
committed
Create (empty) ntdll library projects
1 parent cd59233 commit 5199b2e

21 files changed

+2622
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ hid.dll |`PInvoke.Hid` | [![NuGet](https://img.shields.io/nuget/dt/PInv
5858
kernel32.dll |`PInvoke.Kernel32`| [![NuGet](https://img.shields.io/nuget/dt/PInvoke.Kernel32.svg)](https://www.nuget.org/packages/PInvoke.Kernel32)|Windows Kernel API
5959
mscoree.dll |`PInvoke.MSCorEE` | [![NuGet](https://img.shields.io/nuget/dt/PInvoke.MSCorEE.svg)](https://www.nuget.org/packages/PInvoke.MSCorEE)|.NET Framework CLR host
6060
ncrypt.dll |`PInvoke.NCrypt` | [![NuGet](https://img.shields.io/nuget/dt/PInvoke.NCrypt.svg)](https://www.nuget.org/packages/PInvoke.NCrypt)|[Windows Cryptography API: Next Generation][CNG]
61+
ntdll.dll |`PInvoke.NTDll` | [![NuGet](https://img.shields.io/nuget/dt/PInvoke.NTDll.svg)](https://www.nuget.org/packages/PInvoke.NTDll)|Windows NTDll
6162
psapi.dll |`PInvoke.Psapi` | [![NuGet](https://img.shields.io/nuget/dt/PInvoke.Psapi.svg)](https://www.nuget.org/packages/PInvoke.Psapi)|[Windows Process Status API][Psapi]
6263
setupapi.dll |`PInvoke.SetupApi`| [![NuGet](https://img.shields.io/nuget/dt/PInvoke.SetupApi.svg)](https://www.nuget.org/packages/PInvoke.SetupApi)|[Windows setup API][SetupApi]
6364
user32.dll |`PInvoke.User32` | [![NuGet](https://img.shields.io/nuget/dt/PInvoke.User32.svg)](https://www.nuget.org/packages/PInvoke.User32)|Windows User Interface
+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
3+
<PropertyGroup>
4+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
5+
</PropertyGroup>
6+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.props))\EnlistmentInfo.props" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.props))' != '' " />
7+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
8+
<PropertyGroup>
9+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
10+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
11+
<ProjectGuid>{62872B6B-BB44-4890-B308-3EEC6984B542}</ProjectGuid>
12+
<OutputType>Library</OutputType>
13+
<AppDesignerFolder>Properties</AppDesignerFolder>
14+
<RootNamespace>PInvoke</RootNamespace>
15+
<AssemblyName>PInvoke.NTDll</AssemblyName>
16+
<FileAlignment>512</FileAlignment>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
21+
</PropertyGroup>
22+
<ItemGroup>
23+
<Reference Include="System" />
24+
<Reference Include="System.Core" />
25+
<Reference Include="Microsoft.CSharp" />
26+
</ItemGroup>
27+
<ItemGroup>
28+
<ProjectReference Include="..\CodeGenerationAttributes.Net40\CodeGenerationAttributes.Net40.csproj">
29+
<Project>{6a77281b-c503-44ea-90c1-0e9868d06cd0}</Project>
30+
<Name>CodeGenerationAttributes.Net40</Name>
31+
</ProjectReference>
32+
<ProjectReference Include="..\CodeGeneration\CodeGeneration.csproj">
33+
<Project>{C1815471-02AF-4BB9-8D83-652ADBAFF5B6}</Project>
34+
<Name>CodeGeneration</Name>
35+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
36+
</ProjectReference>
37+
<ProjectReference Include="..\Windows.Core\Windows.Core.csproj">
38+
<Project>{b08c3c79-4cdd-4d37-933c-07d3452fd5f1}</Project>
39+
<Name>Windows.Core</Name>
40+
</ProjectReference>
41+
</ItemGroup>
42+
<ItemGroup>
43+
<None Include="project.json" />
44+
</ItemGroup>
45+
<ItemGroup>
46+
<Compile Include="NTDll.cs" />
47+
<Compile Include="Properties\AssemblyInfo.cs" />
48+
</ItemGroup>
49+
<ItemGroup>
50+
<Content Include="NTDll.exports.txt">
51+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
52+
</Content>
53+
</ItemGroup>
54+
<Import Project="..\NTDll.Shared\NTDll.Shared.projitems" Label="Shared" />
55+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
56+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " />
57+
</Project>

src/NTDll.Desktop/NTDll.cs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
3+
4+
namespace PInvoke
5+
{
6+
using System;
7+
using System.Runtime.InteropServices;
8+
9+
/// <content>
10+
/// Exported functions from the NTDll.dll Windows library
11+
/// that are available to Desktop apps only.
12+
/// </content>
13+
public static partial class NTDll
14+
{
15+
}
16+
}

0 commit comments

Comments
 (0)