#ifndef _NTIOAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetEaFile(
_In_ HANDLE FileHandle,
_Out_ PIO_STATUS_BLOCK IoStatusBlock,
_In_reads_bytes_(Length) PVOID Buffer,
_In_ ULONG Length
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetEaFile(
_In_ HANDLE FileHandle,
_Out_ PIO_STATUS_BLOCK IoStatusBlock,
_In_reads_bytes_(Length) PVOID Buffer,
_In_ ULONG Length
);
View code on GitHubThis function is documented in Windows Driver Kit.
See NtQueryEaFile for information about EA.
HANDLE to File Object opened with FILE_SET_EA access.
IO result of call.
User's allocated input buffer containing one or more FILE_FULL_EA_INFORMATION structures.
Size of EaBuffer, in bytes.