#ifndef _NTIOAPI_H
/**
* The FILE_STANDARD_LINK_INFORMATION structure contains standard information about a file link.
* \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-file_standard_link_information
*/
typedef struct _FILE_STANDARD_LINK_INFORMATION
{
ULONG NumberOfAccessibleLinks;
ULONG TotalNumberOfLinks;
BOOLEAN DeletePending;
BOOLEAN Directory;
} FILE_STANDARD_LINK_INFORMATION, *PFILE_STANDARD_LINK_INFORMATION;
View code on GitHub// ntifs.h
typedef struct _FILE_STANDARD_LINK_INFORMATION {
ULONG NumberOfAccessibleLinks;
ULONG TotalNumberOfLinks;
BOOLEAN DeletePending;
BOOLEAN Directory;
} FILE_STANDARD_LINK_INFORMATION, *PFILE_STANDARD_LINK_INFORMATION;
View the official Windows Driver Kit DDI referenceThis structure is documented in Windows Driver Kit.
FILE_STANDARD_LINK_INFORMATION is used to query file link information.
NumberOfAccessibleLinksNumber of non-deleted links to this file.
TotalNumberOfLinksTotal number of links to this file, including links marked for delete.
DeletePendingBoolean value. This field must be set to TRUE to indicate that a file deletion has been requested; otherwise, set to FALSE.
DirectorySet to 1 to indicate that the file is a directory; otherwise, set to FALSE.