-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
Hi! When I was trying to implement a windows file handle based filesystem abstraction, I find NtSetInformationFile to be very useful used in conjunction with NtCreateFile. NtSetInformationFile supports file information classes not supported by SetFileInformationByHandle, for example FileDispositionInformationEx where you can use the FILE_DISPOSITION_POSIX_SEMANTICS flag to get posix stype delete.
The Microsoft doc for NtSetInformationFile can be found here: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntsetinformationfile
This should be a small change, as we already load ntdll.dll for NtCreateFile and more. I have already implemented it in another project. Use cases can be found here.
Thanks.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.