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

# PFGameSaveFilesUiProgressGetProgress

> 同期操作の現在の進行状況を取得します。最新のバイト単位の進行状況を取得するには、PFGameSaveFilesUiProgressCallback 内からこれを呼び出すか、同期の実行中に定期的にポーリングします。PreparingForUpload 中は、current/total は処理済み/予定の非圧縮バイト数を表します。Uploading 中は、current/total は転送済み/予定の非圧縮バイト数を表します。Downloading 中は、current/total はダウンロード済み/予定のバイト数を表します。total が 0 の場合、合計サイズはまだ不明です。タイトルでは、0 で除算したり 0% と表示したりするのではなく、不確定の進行状況として扱う (スピナーを表示するなど) 必要があります。

同期操作の現在の進行状況を取得します。最新のバイト単位の進行状況を取得するには、PFGameSaveFilesUiProgressCallback 内からこれを呼び出すか、同期の実行中に定期的にポーリングします。PreparingForUpload 中は、current/total は処理済み/予定の非圧縮バイト数を表します。Uploading 中は、current/total は転送済み/予定の非圧縮バイト数を表します。Downloading 中は、current/total はダウンロード済み/予定のバイト数を表します。total が 0 の場合、合計サイズはまだ不明です。タイトルでは、0 で除算したり 0% と表示したりするのではなく、不確定の進行状況として扱う (スピナーを表示するなど) 必要があります。

## 構文

```cpp theme={null}
HRESULT PFGameSaveFilesUiProgressGetProgress(  
    PFLocalUserHandle localUserHandle,  
    PFGameSaveFilesSyncState* syncState,  
    uint64_t* current,  
    uint64_t* total  
)  
```

### パラメーター

**`localUserHandle`**   PFLocalUserHandle

ローカル ユーザー ハンドル。

**`syncState`**   [PFGameSaveFilesSyncState\*](/ja-jp/services/playfab/api-references/c/pfgamesavefilestypes/enums/pfgamesavefilessyncstate)<br />*optional output*

操作の同期状態。

**`current`**   uint64\_t\*<br />*optional output*

アクティブな状態で現在までに処理されたバイト数。

**`total`**   uint64\_t\*<br />*optional output*

アクティブな状態で予定されている合計バイト数。

### 戻り値

型: HRESULT

TBD

## 要件

**ヘッダー:** PFGameSaveFilesUi.h

## 関連項目

[PFGameSaveFilesUi メンバー](/ja-jp/services/playfab/api-references/c/pfgamesavefilesui/pfgamesavefilesui_members)


## Related topics

- [PFGameSaveFilesUiProgressCallback](/ja-jp/services/playfab/api-references/c/pfgamesavefilesui/functions/pfgamesavefilesuiprogresscallback.md)
- [Game Saves の UI コールバック](/ja-jp/services/playfab/player-progression/game-saves/ui-callbacks.md)
- [Services C API overview - PFGameSaveFilesUi.h](/ja-jp/services/playfab/api-references/c/pfgamesavefilesui/pfgamesavefilesui_members.md)
- [PFGameSaveFilesUiProgressUserAction](/ja-jp/services/playfab/api-references/c/pfgamesavefilesui/enums/pfgamesavefilesuiprogressuseraction.md)
- [PFGameSaveFilesSetUiProgressResponse](/ja-jp/services/playfab/api-references/c/pfgamesavefilesui/functions/pfgamesavefilessetuiprogressresponse.md)
