Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Requests information for a file or directory from the provider.
PRJ_GET_PLACEHOLDER_INFO_CB PrjGetPlaceholderInfoCb;
HRESULT PrjGetPlaceholderInfoCb(
[in] const PRJ_CALLBACK_DATA *callbackData
)
{...}
[in] callbackData
Information about the operation. The following callbackData members are necessary to implement this callback:
The provider uses this to determine whether the name exists in its backing store. It should use the PrjFileNameMatch function to compare this name to the names in its store. If it finds a matching name, it uses that name as the destinationFileName parameter of the PrjWritePlaceholderInfo function.
The provider can access this buffer only while the callback is running. If it wishes to pend the operation and it requires data from this buffer, it must make its own copy of it.
Return code | Description |
---|---|
|
The file exists in the provider's store and it successfully gave the file's information to ProjFS. |
|
The provider wishes to complete the operation at a later time. |
|
The file does not exist in the provider's store. |
Another appropriate HRESULT error code if the provider fails the operation.
ProjFS will use the information provided in this callback to create a placeholder for the requested item.
To handle this callback, the provider calls PrjWritePlaceholderInfo to give ProjFS the information for the requested file name. Then the provider completes the callback.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 [desktop apps only] |
Minimum supported server | Windows Server [desktop apps only] |
Target Platform | Windows |
Header | projectedfslib.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today