-
Notifications
You must be signed in to change notification settings - Fork 142
Expose NtCreateNamedPipeFile #2088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -450,10 +450,7 @@ NtClose ( | |
| IN HANDLE Handle | ||
| ); | ||
|
|
||
| // | ||
| // use the Win32 API instead | ||
| // CreateFile | ||
| // | ||
|
|
||
| __kernel_entry NTSTATUS | ||
| NTAPI | ||
| NtCreateFile ( | ||
|
|
@@ -485,6 +482,29 @@ NtOpenFile ( | |
| IN ULONG OpenOptions | ||
| ); | ||
|
|
||
| // | ||
| // use the Win32 API instead | ||
| // CreateNamedPipeA | ||
| // | ||
| __kernel_entry NTSTATUS | ||
| NTAPI | ||
| NtCreateNamedPipeFile( | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Won't this file get clobbered the next time we run UpdateSDK with whatever is really in the SDK? is this function definition available in a Windows SDK header that we could use / include instead?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Docs say it lives in |
||
| OUT PHANDLE FileHandle, | ||
| IN ULONG DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK IoStatusBlock, | ||
| IN ULONG ShareAccess, | ||
| IN ULONG CreateDisposition, | ||
| IN ULONG CreateOptions, | ||
| IN ULONG NamedPipeType, | ||
| IN ULONG ReadMode, | ||
| IN ULONG CompletionMode, | ||
| IN ULONG MaximumInstances, | ||
| IN ULONG InboundQuota, | ||
| IN ULONG OutboundQuota, | ||
| IN PLARGE_INTEGER DefaultTimeout OPTIONAL | ||
| ); | ||
|
|
||
| // | ||
| // use the Win32 API instead | ||
| // N/A | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment won't bubble up anywhere useful so you can delete it.