CfGetPlaceholderStateFromAttributeTag function (cfapi.h)

Gets a set of placeholder states based on the FileAttributes and ReparseTag values of the file.

Syntax

CF_PLACEHOLDER_STATE CfGetPlaceholderStateFromAttributeTag(
  [in] DWORD FileAttributes,
  [in] DWORD ReparseTag
);

Parameters

[in] FileAttributes

The file attribute information.

[in] ReparseTag

The reparse tag information from a file.

Return value

Can include CF_PLACEHOLDER_STATE; The placeholder state.

Remarks

The FileAttributes and ReparseTag can be obtained by listing the directory containing the file or by directly querying FileAttributeTagInfo on the file.

Requirements

   
Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header cfapi.h
Library CldApi.lib
DLL CldApi.dll