microsoft / microsoft/win32metadata

`NtCreateNamedPipeFile` added to the Windows SDK

Open
#2,302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

Can we also get missing APIs like `NtCreateNamedPipeFile` added to the Windows SDK - its not included anywhere that I can tell but its [documented publicly](https://learn.microsoft.com/en-us/windows/win32/devnotes/nt-create-named-pipe-file) but everyone must define it themselves including [terminal/src/types/utils.cpp at main · microsoft/terminal](https://github.com/microsoft/terminal/blob/main/src/types/utils.cpp) and [WSL/src/windows/inc/wdk.h at master · microsoft/WSL](https://github.com/microsoft/WSL/blob/master/src/windows/inc/wdk.h) and https://github.com/rust-lang/rust/blob/main/library/std/src/sys/pal/windows/c.rs cc @chrisdenton

_Originally posted by @kennykerr in https://github.com/microsoft/win32metadata/issues/2295#issuecomment-5542121360_

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Win32 API metadata is represented and generated, then compare the existing declarations in terminal/src/types/utils.cpp, WSL/src/windows/inc/wdk.h, and rust/library/std/src/sys/pal/windows/c.rs. Add the documented NtCreateNamedPipeFile API to the appropriate metadata source and verify that the generated Windows SDK output includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.