> ## 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.

# WdCopyFileProgressInfo

> WdCopyFileProgressInfo

# WdCopyFileProgressInfo

コピー操作中の個々のファイルの進捗情報を含みます。

## 構文

```cpp theme={null}
struct WdCopyFileProgressInfo 
{
    const char* relativeFilePath;
    const char* sourcePath;
    const char* destinationPath;
    uint64_t bytesTransferred;
    uint64_t fileSize;
};
```

### メンバー

`relativeFilePath`\
Type: **const char\***

コピー先パスのルートを基準としてコピー中のファイル パス (UTF-8)。

`sourcePath`\
Type: **const char\***

コピー中のディレクトリのソース パス (UTF-8)。

`destinationPath`\
Type: **const char\***

コピー中のディレクトリの完全な宛先パス (UTF-8)。

`bytesTransferred`\
Type: **uint64\_t**

このファイルについて、これまでに転送されたバイト数。

`fileSize`\
Type: **uint64\_t**

ファイルの合計サイズ (バイト単位)。

## 解説

この構造体は、[WdRemoteCopy](/reference/remoting/functions/wdremotecopy) 操作中に [WdCopyFilesStatusCallback](/reference/remoting/callbacks/wdcopyfilesstatuscallback) に提供されます。各インスタンスは、単一のファイルの現在のステータスを表します。コールバックは、前回のコールバック呼び出し以降に進捗更新のあったファイルごとに 1 つずつ、これらの構造体の配列を受け取ります。全体の操作レベルの進捗 (合計ファイル数、合計バイト数) は、[WdCopyOperationSummary](/reference/remoting/structs/wdcopyoperationsummary) 構造体を介して別途提供されます。

## 要件

| 要件                   | 値                   |
| -------------------- | ------------------- |
| **ヘッダー**             | WdRemoteIteration.h |
| **ライブラリ**            | wdremoteapi.lib     |
| **サポートされている OS**     | Windows 11 以降       |
| **サポートされているアーキテクチャ** | x64、ARM64           |

## 関連項目

* [WdRemoteCopy](/reference/remoting/functions/wdremotecopy)
* [WdCopyFilesStatusCallback](/reference/remoting/callbacks/wdcopyfilesstatuscallback)
* [WdCopyOperationSummary](/reference/remoting/structs/wdcopyoperationsummary)
* [XBOX PC Remote Iteration API](/reference/remoting/remoteiteration_members)


## Related topics

- [WdCopyFilesStatusCallback](/ja-jp/reference/remoting/callbacks/wdcopyfilesstatuscallback.md)
- [WdCopyOperationSummary](/ja-jp/reference/remoting/structs/wdcopyoperationsummary.md)
- [XBOX PC Remote Iteration API](/ja-jp/reference/remoting/remoteiteration_members.md)
- [WdCopyStatusCallbacks](/ja-jp/reference/remoting/structs/wdcopystatuscallbacks.md)
- [IXtfCopyFileCallback::OnFileCopyProgress Method](/ja-jp/reference/tools/xtf/xtffileio/classes/IXtfCopyFileCallback/methods/onfilecopyprogress-ixtfcopyfilecallback-xtffileio-xbox-microsoft-m.md)
