> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygetinventoryoperationstatusrequest.md)

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

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFInventory メンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfinventory/pfinventory_members.md)


## Related topics

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