PLACEHOLDER_STATES enumeration (shobjidl_core.h)

Specifies the states that a placeholder file can have. Retrieve this value through the System.FilePlaceholderStatus (PKEY_FilePlaceholderStatus) property.

Syntax

typedef enum PLACEHOLDER_STATES {
  PS_NONE = 0,
  PS_MARKED_FOR_OFFLINE_AVAILABILITY = 0x1,
  PS_FULL_PRIMARY_STREAM_AVAILABLE = 0x2,
  PS_CREATE_FILE_ACCESSIBLE = 0x4,
  PS_CLOUDFILE_PLACEHOLDER = 0x8,
  PS_DEFAULT,
  PS_ALL
} ;

Constants

 
PS_NONE
Value: 0
None of the other states apply at this time.
PS_MARKED_FOR_OFFLINE_AVAILABILITY
Value: 0x1
May already be or eventually will be available offline.
PS_FULL_PRIMARY_STREAM_AVAILABLE
Value: 0x2
The primary stream has been made fully available.
PS_CREATE_FILE_ACCESSIBLE
Value: 0x4
The file is accessible through a call to the CreateFile function, without requesting the opening of reparse points.
PS_CLOUDFILE_PLACEHOLDER
Value: 0x8
PS_DEFAULT
PS_ALL
A bitmask value for all valid PLACEHOLDER_STATES flags.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header shobjidl_core.h