> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WdDeleteProgressCallback

> WdDeleteProgressCallback

# WdDeleteProgressCallback

Currently unused. [WdDeleteRemoteFiles](/reference/remoting/functions/wddeleteremotefiles) never invokes this callback.

**Introduced in:** [RIT 0.0.13-preview](/reference/remoting/release-versions#release-versions) (declaration only).

## Syntax

```cpp theme={null}
typedef HRESULT (*WdDeleteProgressCallback)( 
    _In_ size_t fileProgressCount,
    _In_reads_opt_(fileProgressCount) const WdDeleteFileProgressInfo* fileUpdates,
    _In_ const WdDeleteOperationSummary* deleteUpdates,
    _In_opt_ void* context
);
```

### Parameters

`fileProgressCount _In_`\
Type: **size\_t**

The number of items that have progress updates since the last callback invocation.

`fileUpdates _In_reads_opt_(fileProgressCount)`\
Type: **const [WdDeleteFileProgressInfo](/reference/remoting/structs/wddeletefileprogressinfo)\***

An array of [WdDeleteFileProgressInfo](/reference/remoting/structs/wddeletefileprogressinfo) structures, one for each item with progress updates.

`deleteUpdates _In_`\
Type: **const [WdDeleteOperationSummary](/reference/remoting/structs/wddeleteoperationsummary)\***

A summary of the overall deletion operation progress.

`context _In_opt_`\
Type: **void\***

The user-defined context pointer that was specified in the [WdDeleteStatusCallbacks](/reference/remoting/structs/wddeletestatuscallbacks) structure.

### Return value

Type: **HRESULT**

Unused. This callback is not invoked.

## Requirements

| Requirement | Value |
| - | - |
| **Header** | WdRemoteIteration.h |
| **Library** | wdremoteapi.lib |
| **Supported OS** | Windows 11 and later |
| **Supported architectures** | x64, ARM64 |

## See also

* [WdDeleteRemoteFiles](/reference/remoting/functions/wddeleteremotefiles)
* [WdDeleteFileProgressInfo](/reference/remoting/structs/wddeletefileprogressinfo)
* [WdDeleteOperationSummary](/reference/remoting/structs/wddeleteoperationsummary)
* [WdDeleteStatusCallbacks](/reference/remoting/structs/wddeletestatuscallbacks)
* [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members)


## Related topics

- [WdDeleteStatusCallbacks](/reference/remoting/structs/wddeletestatuscallbacks.md)
- [WdDeleteFileProgressInfo](/reference/remoting/structs/wddeletefileprogressinfo.md)
- [WdDeleteOperationSummary](/reference/remoting/structs/wddeleteoperationsummary.md)
- [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members.md)
- [WdDeleteErrorCallback](/reference/remoting/callbacks/wddeleteerrorcallback.md)
