Skip to main content
Receives a batch of remote directory entries. Introduced in: RIT 0.0.14-preview.

Syntax

Parameters

entryCount
Type: size_t
Number of entries in this batch. entries
Type: const WdRemoteDirectoryEntry*
Borrowed array of remote directory entries. Copy any values needed after the callback returns. summary
Type: const WdRemoteDirectoryOperationSummary*
Borrowed cumulative file and directory counts. context
Type: void*
Caller-owned pointer supplied to the API.

Return value

Return S_OK to continue. A failed HRESULT stops enumeration and is returned by the API.

Remarks

Return S_OK to continue; a failed HRESULT stops processing. Counts in summary are cumulative. Entries are in traversal order, not a promised sorted order. Callbacks are delivered while the API processes its result or snapshot, before the API call returns. Pointers to structures and strings are borrowed for the callback duration; copy values needed later. context is the caller-owned pointer supplied to the API.

Requirements

See also

Last modified on November 25, 2026