@@ -87,6 +87,11 @@ public interface class IRequiredCallbacks {
8787 // / <para>If no entries match the search expression specified in <paramref name="filterFileName"/>,
8888 // / or if all the entries in the directory were added in a previous invocation of this callback,
8989 // / the provider must return <see cref="HResult::Ok"/>.</para>
90+ // / <para>IMPORTANT: The provider must ensure file and directory names returned from this
91+ // / callback are in the sort order specified by <c>PrjFileNameCompare</c>
92+ // / (see https://docs.microsoft.com/en-us/windows/win32/api/projectedfslib/nf-projectedfslib-prjfilenamecompare ),
93+ // / or else names can be duplicated or missing from the enumeration results presented to the
94+ // / process enumerating the filesystem.</para>
9095 // / </remarks>
9196 // / <param name="commandId">
9297 // / <para>A value that uniquely identifies an invocation of the callback.</para>
@@ -119,6 +124,11 @@ public interface class IRequiredCallbacks {
119124 // / <para>If the provider returns <see cref="HResult::Pending"/> from this method, then it must pass
120125 // / this value to <c>ProjFS.VirtualizationInstance.CompleteCommand</c> to provide the
121126 // / enumeration results.</para>
127+ // / <para>IMPORTANT: File and directory names passed to this parameter must be in the sort
128+ // / order specified by <c>PrjFileNameCompare</c>
129+ // / (see https://docs.microsoft.com/en-us/windows/win32/api/projectedfslib/nf-projectedfslib-prjfilenamecompare ),
130+ // / or else names can be duplicated or missing from the enumeration results presented to the
131+ // / process enumerating the filesystem.</para>
122132 // / </param>
123133 // / <returns>
124134 // / <para><see cref="HResult::Ok"/> if the provider successfully completes the operation.</para>
0 commit comments