Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 2.16 KB

ne-cfapi-cf_hardlink_policy.md

File metadata and controls

68 lines (57 loc) · 2.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:cfapi.CF_HARDLINK_POLICY
CF_HARDLINK_POLICY (cfapi.h)
Specifies whether or not hard links are allowed on placeholder files.
CF_HARDLINK_POLICY
CF_HARDLINK_POLICY enumeration
CF_HARDLINK_POLICY_ALLOWED
CF_HARDLINK_POLICY_DEFAULT
cfapi/CF_HARDLINK_POLICY
cfapi/CF_HARDLINK_POLICY_ALLOWED
cfapi/CF_HARDLINK_POLICY_DEFAULT
cloudApi.cf_hardlink_policy
cloudapi\cf_hardlink_policy.htm
cloudapi
23FFC4E8-0CB7-4FF4-A3C3-2E8FB2C74497
03/29/2023
CF_HARDLINK_POLICY, CF_HARDLINK_POLICY enumeration, CF_HARDLINK_POLICY_ALLOWED, CF_HARDLINK_POLICY_DEFAULT, cfapi/CF_HARDLINK_POLICY, cfapi/CF_HARDLINK_POLICY_ALLOWED, cfapi/CF_HARDLINK_POLICY_DEFAULT, cloudApi.cf_hardlink_policy
cfapi.h
Windows
Windows 10, version 1709 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
CF_HARDLINK_POLICY
19H1
CF_HARDLINK_POLICY
cfapi/CF_HARDLINK_POLICY
c++
APIRef
kbSyntax
HeaderDef
CfApi.h
CF_HARDLINK_POLICY

-description

Specifies whether or not hard links are allowed on placeholder files.

-enum-fields

-field CF_HARDLINK_POLICY_NONE:0x00000000

Default; No hard links can be created on any placeholder.

-field CF_HARDLINK_POLICY_ALLOWED:0x00000001

Hard links can be created on a placeholder under the same sync root or no sync root.

-remarks

If hard links are enabled, applications can create as many hard links as the file system supports so long as the links are under the same sync root or no sync root. Hard links and placeholder operations that are not compatible with this policy will fail with the error: HRESULT(ERROR_CLOUD_FILES_INCOMPATIBLE_HARDLINKS).

-see-also

CF_SYNC_POLICIES