FILE_STANDARD_LINK_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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;

#endif

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 reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntifs-file_standard_link_information)

Description

FILE_STANDARD_LINK_INFORMATION is used to query file link information.

Members

NumberOfAccessibleLinks

Number of non-deleted links to this file.

TotalNumberOfLinks

Total number of links to this file, including links marked for delete.

DeletePending

Boolean value. This field must be set to TRUE to indicate that a file deletion has been requested; otherwise, set to FALSE.

Directory

Set to 1 to indicate that the file is a directory; otherwise, set to FALSE.

Remarks

See also

NtQueryInformationFile