79718160

Date: 2025-07-29 05:49:49
Score: 1
Natty:
Report link

Hyun Song,

PKEY_FilePlaceholderStatus will always return 14 for cloud files (SharePoint, OneDrive) that are both available and accessible. The 14 is a result of ORing together the PLACEHOLDER_STATES enumeration values PS_FULL_PRIMARY_STREAM_AVAILABLE (0x2), PS_CREATE_FILE_ACCESSIBLE (0x4), and PS_CLOUDFILE_PLACEHOLDER (0x8). Likewise, available and accessible local files return 6 as a result of ORing the first two values together (omitting PS_CLOUDFILE_PLACEHOLDER ). See the PLACEHOLDER_STATES enumeration values here: https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/ne-shobjidl_core-placeholder_states

Files in any future new cloud platforms developed by Microsoft might also return 14, but Microsoft seems all in on OneDrive and SharePoint, so this seems only theoretically plausible.

HTH,

Jim

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jim Whitehead