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

# PFPlatformLocalStorageSetHandlers

> ストレージ イベント ハンドラーを設定します。カスタム ストレージ ハンドラーが設定されていない場合は、cstdio および std::fstream オブジェクトに基づく既定の実装が使用されます。

ストレージ イベント ハンドラーを設定します。カスタム ストレージ ハンドラーが設定されていない場合は、cstdio および std::fstream オブジェクトに基づく既定の実装が使用されます。

## 構文

```cpp theme={null}
HRESULT PFPlatformLocalStorageSetHandlers(  
    PFLocalStorageHooks* hooks  
)  
```

### パラメーター

**`hooks`**   [PFLocalStorageHooks\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatform/structs/pflocalstoragehooks.md)

SDK で使用されるカスタム ローカル ストレージ フック。

### 戻り値

型: HRESULT

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

## 解説

PFInitialize の前に呼び出す必要があります。

## 要件

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

## 関連項目

[PFPlatform のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatform/pfplatform_members.md)


## Related topics

- [サービス C API の概要 - PFPlatform.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfplatform/pfplatform_members.md)
- [XblLocalStorageSetHandlers](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/platform_c/functions/xbllocalstoragesethandlers.md)
- [platform_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/platform_c/platform_c_members.md)
- [XblLocalStorageClearHandler](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/platform_c/functions/xbllocalstorageclearhandler.md)
- [XblLocalStorageReadHandler](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/platform_c/functions/xbllocalstoragereadhandler.md)
