microsoft / microsoft/wdkmetadata
Bindings for `NtCreateNamedPipeFile` are not being provided
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 110
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Suggestion
It seems that the function call NtCreateNamedPipeFile (https://learn.microsoft.com/en-us/windows/win32/devnotes/nt-create-named-pipe-file) is not being declared by any of the bindings, either windows-rs nor windows-sys. This is required to provide support for asynchronous access for pseudo-terminals via ConHost: https://github.com/microsoft/terminal/blob/2d64a3a4ab0d0d1c5b9085a022f5319460ef68d7/src/types/utils.cpp#L851
I would like to help if possible, if any hints are available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the missing NtCreateNamedPipeFile declaration and the windows-rs and windows-sys bindings; start by tracing how wdkmetadata represents and exports Win32 declarations. Compare the required call in the referenced ConHost utils.cpp code with the generated bindings. Done means both bindings provide a usable declaration for the asynchronous named-pipe call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, rust
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100