#ifndef _NTIOAPI_H
/**
* The FILE_LINK_ENTRY_INFORMATION structure contains information about a file link entry.
*/
typedef struct _FILE_LINK_ENTRY_INFORMATION
{
ULONG NextEntryOffset;
LONGLONG ParentFileId; // LARGE_INTEGER
ULONG FileNameLength;
_Field_size_bytes_(FileNameLength) WCHAR FileName[1];
} FILE_LINK_ENTRY_INFORMATION, *PFILE_LINK_ENTRY_INFORMATION;
View code on GitHub
// ntifs.h
typedef struct _FILE_LINK_ENTRY_INFORMATION {
ULONG NextEntryOffset;
LONGLONG ParentFileId;
ULONG FileNameLength;
WCHAR FileName[1];
} FILE_LINK_ENTRY_INFORMATION, *PFILE_LINK_ENTRY_INFORMATION;
View the official Windows Driver Kit DDI reference
This structure is documented in Windows Driver Kit.
The FILE_LINK_ENTRY_INFORMATION structure describes a single NTFS hard link to an existing file.
NextEntryOffset
The offset, in bytes, to the next FILE_LINK_ENTRY_INFORMATION structure, or 0 if the current structure is the last FILE_LINK_ENTRY_INFORMATION structure.
ParentFileId
The ID of the parent directory of the link.
FileNameLength
The length, in characters, of the FileName for the link.
FileName
The name of the link.