PRJ_STARTVIRTUALIZING_FLAGS enumeration (projectedfslib.h)

Flags to provide when starting a virtualization instance.

Syntax

typedef enum PRJ_STARTVIRTUALIZING_FLAGS {
  PRJ_FLAG_NONE = 0x00000000,
  PRJ_FLAG_USE_NEGATIVE_PATH_CACHE = 0x00000001
} ;

Constants

 
PRJ_FLAG_NONE
Value: 0x00000000
No flags.
PRJ_FLAG_USE_NEGATIVE_PATH_CACHE
Value: 0x00000001
Specifies that ProjFS should maintain a "negative path cache" for the virtualization instance. If the negative path cache is active, then if the provider indicates that a file path does not exist by returning HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) from its PRJ_GET_PLACEHOLDER_INFO_CB callback, ProjFS will fail subsequent opens of that path without calling the PRJ_GET_PLACEHOLDER_INFO_CB callback again.

To resume receiving the PRJ_GET_PLACEHOLDER_INFO_CB for paths the provider has indicated do not exist, the provider must call PrjClearNegativePathCache.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Header projectedfslib.h