Just creating an issue to track a need for a new API that is blocking Rust (rust-lang/rust#128256). Adoption of the newer SDK is currently blocked by #1934.
#if (NTDDI_VERSION >= NTDDI_WIN11_ZN)
BOOL
WINAPI
GetFileInformationByName(
_In_ PCWSTR FileName,
_In_ FILE_INFO_BY_NAME_CLASS FileInformationClass,
_Out_writes_bytes_(FileInfoBufferSize) PVOID FileInfoBuffer,
_In_ ULONG FileInfoBufferSize
);
#endif // (NTDDI_VERSION >= NTDDI_WIN11_ZN)