RtlIsPartialPlaceholder function

The RtlIsPartialPlaceholder routine determines if a file or a directory is a CloudFiles placeholder, based on the FileAttributes and ReparseTag values of the file. These values can be obtained by listing the directory containing the file or by directly querying FileAttributeTagInfo on the file.

Syntax

NTSYSAPI BOOLEAN RtlIsPartialPlaceholder(
  ULONG FileAttributes,
  ULONG ReparseTag
);

Parameters

FileAttributes

Specifies the file attributes of a file or directory.

ReparseTag

The ReparseTag or EaSize of a file or directory.

Return Value

This function returns TRUE if the file or directory is a partial placeholder. It returns FALSE if either the file or directory is not a placeholder or is a full placeholder.

Requirements

   
Windows version Available starting with Windows 10, version 1709.
Target Platform Windows
Header ntifs.h (include Ntifs.h)

See Also

RtlIsPartialPlaceholderFileHandle

RtlIsPartialPlaceholderFileInfo