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

# PFPlatformLocalStorageSetHandlers

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

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

## 構文

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

### パラメーター

**`hooks`**   [PFLocalStorageHooks\*](/services/playfab/api-references/c/pfplatform/structs/pflocalstoragehooks)

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

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFPlatform のメンバー](/services/playfab/api-references/c/pfplatform/pfplatform_members)


## Related topics

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