PRJ_END_DIRECTORY_ENUMERATION_CB callback function (projectedfslib.h)
Informs the provider that a directory enumeration is over.
Syntax
PRJ_END_DIRECTORY_ENUMERATION_CB PrjEndDirectoryEnumerationCb;
HRESULT PrjEndDirectoryEnumerationCb(
[in] const PRJ_CALLBACK_DATA *callbackData,
[in] const GUID *enumerationId
)
{...}
Parameters
[in] callbackData
Information about the operation.
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.
[in] enumerationId
An identifier for this enumeration session. See the Remarks section of PRJ_START_DIRECTORY_ENUMERATION_CB for more information.
Return value
Return code | Description |
---|---|
|
The provider successfully completed the operation. |
|
The provider wishes to complete the operation at a later time. |
The provider should not return any other value from this callback.
Remarks
For a user-initiated enumeration ProjFS invokes this callback when the file handle used to enumerate the directory is closed. For a ProjFS-initiated enumeration, this callback is invoked when ProjFS completes the enumeration.
Requirements
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 |