RtlIsPartialPlaceholder function (ntifs.h)

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(
  [in] ULONG FileAttributes,
  [in] ULONG ReparseTag
);

Parameters

[in] FileAttributes

Specifies the file attributes of a file or directory.

[in] 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

Requirement Value
Minimum supported client Windows 10, version 1709.
Target Platform Windows
Header ntifs.h (include Ntifs.h)

See also

RtlIsPartialPlaceholderFileHandle

RtlIsPartialPlaceholderFileInfo