ProjFS functions

The following functions are declared in projectedfslib.h.

In this section

Topic Description
PrjAllocateAlignedBuffer Allocates a buffer that meets the memory alignment requirements of the virtualization instance's storage device.
PrjClearNegativePathCache Purges the virtualization instance's negative path cache, if it is active.
PrjCompleteCommand Indicates that the provider has completed processing a callback from which it had previously returned HRESULT_FROM_WIN32(ERROR_IO_PENDING).
PrjDeleteFile Enables a provider to delete an item that has been cached on the local file system.
PrjDoesNameContainWildCards Determines whether a name contains wildcard characters.
PrjFileNameCompare Compares two file names and returns a value that indicates their relative collation order.
PrjFileNameMatch Determines whether a file name matches a search pattern.
PrjFillDirEntryBuffer Provides information for one file or directory to an enumeration.
PrjFillDirEntryBuffer2 Provides information for one file or directory to an enumeration and allows the caller to specify extended information.
PrjFreeAlignedBuffer Frees an allocated buffer.
PrjGetOnDiskFileState Gets the on-disk file state for a file or directory.
PrjGetVirtualizationInstanceInfo Retrieves information about the virtualization instance.
PrjMarkDirectoryAsPlaceholder Converts an existing directory to a directory placeholder.
PrjStartVirtualizing Configures a ProjFS virtualization instance and starts it, making it available to service I/O and invoke callbacks on the provider.
PrjStopVirtualizing Stops a running ProjFS virtualization instance, making it unavailable to service I/O or involve callbacks on the provider.
PrjUpdateFileIfNeeded Enables a provider to update an item that has been cached on the local file system.
PrjWriteFileData Sends file contents to ProjFS.
PrjWritePlaceholderInfo Sends file or directory metadata to ProjFS.
PrjWritePlaceholderInfo2 Sends file or directory metadata to ProjFS and allows the caller to specify extended information.