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

# XUserPlatformSpopPromptSetEventHandlers

> XUserPlatformSpopPromptSetEventHandlers

# XUserPlatformSpopPromptSetEventHandlers

Définit le gestionnaire d'événements d'invite SPOP.

## Syntaxe

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

### Paramètres

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

*handler*   \_In\_\
Type : XUserPlatformSpopPromptEventHandler

Le gestionnaire d'événements à définir pour les invites SPOP. Consultez [XUserPlatformSpopPromptEventHandler](/fr-CA/reference/system/xuser/functions/xuserplatformspopprompteventhandler)

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

### Valeur de retour

Type : STDAPI

Code de résultat de cette opération d'API.

## Remarques

Doit être appelée avant XUserInitialize.

## Configuration requise

**En-tête :** XUser.h

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Prise en charge sur Steam Deck

## Voir aussi

[XUser](/fr-CA/reference/system/xuser/xuser_members)

[XUserPlatformSpopPromptEventHandler](/fr-CA/reference/system/xuser/functions/xuserplatformspopprompteventhandler)

[XUserPlatformSpopPromptClearEventHandler](/fr-CA/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](/fr-CA/reference/system/xuser/functions/xuserplatformspoppromptcomplete)

[XUserPlatformSpopOperationResult](/fr-CA/reference/system/xuser/enums/xuserplatformspopoperationresult)


## Related topics

- [XUserPlatformSpopPromptSetEventHandlers](/es/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUserPlatformSpopPromptEventHandler](/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
