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

# XUserPlatformSpopPromptSetEventHandlers

> XUserPlatformSpopPromptSetEventHandlers

# XUserPlatformSpopPromptSetEventHandlers

SPOP プロンプトのイベント ハンドラーを設定します。

## 構文

```cpp theme={null}
STDAPI  XUserPlatformSpopPromptSetEventHandlers(
    _In_opt_ XTaskQueueHandle queue,
    _In_ XUserPlatformSpopPromptEventHandler* handler,
    _In_opt_ void* context
) noexcept;
```

### パラメーター

*queue*   \_In\_opt\_\
Type: XTaskQueueHandle

*handler*   \_In\_\
Type: XUserPlatformSpopPromptEventHandler

SPOP プロンプトに設定するイベント ハンドラーです。[XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md) を参照してください。

*context*   \_In\_opt\_\
Type: void\*

### 戻り値

Type: STDAPI

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

## 解説

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

## 要件

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

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Steam Deck でサポート

## 関連項目

[XUser](https://docs.xbox.com/ja-jp/reference/system/xuser/xuser_members.md)

[XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)

[XUserPlatformSpopPromptClearEventHandler](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)

[XUserPlatformSpopOperationResult](https://docs.xbox.com/ja-jp/reference/system/xuser/enums/xuserplatformspopoperationresult.md)


## Related topics

- [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptComplete](https://docs.xbox.com/ja-jp/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopOperationResult](https://docs.xbox.com/ja-jp/reference/system/xuser/enums/xuserplatformspopoperationresult.md)
- [XUser のクロスプラットフォーム サポート](https://docs.xbox.com/ja-jp/build/core-features/common/user/xuser-crossplatform.md)
- [XUser (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xuser/xuser_members.md)
