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

# PFInventoryGetInventoryOperationStatusAsync

> OperationToken を使用してインベントリ操作の状態を取得します。要求から 1 日以内であれば、TransactionToken をこの API に渡すことで、いつでも操作の状態を確認できます。

OperationToken を使用してインベントリ操作の状態を取得します。要求から 1 日以内であれば、TransactionToken をこの API に渡すことで、いつでも操作の状態を確認できます。

## 構文

```cpp theme={null}
HRESULT PFInventoryGetInventoryOperationStatusAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryGetInventoryOperationStatusRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFInventoryGetInventoryOperationStatusRequest\*](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventoryoperationstatusrequest)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Windows で使用できます。OperationToken を使用してインベントリ操作の状態を取得します。非同期タスクが完了したら、[PFInventoryGetInventoryOperationStatusGetResultSize](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventoryoperationstatusgetresultsize) と [PFInventoryGetInventoryOperationStatusGetResult](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventoryoperationstatusgetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFInventory メンバー](/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryGetInventoryOperationStatusGetResult](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventoryoperationstatusgetresult.md)
- [PFInventoryGetInventoryOperationStatusGetResultSize](/ja-jp/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventoryoperationstatusgetresultsize.md)
- [Get Inventory Operation Status](/api-reference/inventory/get-inventory-operation-status.md)
- [PFInventoryGetInventoryOperationStatusResponse](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventoryoperationstatusresponse.md)
- [PFInventoryGetInventoryOperationStatusRequest](/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventoryoperationstatusrequest.md)
