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

# XUserPlatformSpopPromptComplete

> XUserPlatformSpopPromptComplete

Signal to XUser that the user finished interacting with the SPOP prompt.

## Syntax

```cpp theme={null}
STDAPI  XUserPlatformSpopPromptComplete(
    _In_ XUserPlatformOperation operation,
    _In_ XUserPlatformSpopOperationResult result
) noexcept;
```

### Parameters

*operation*   \_In\_\
Type: XUserPlatformOperation

The handle for this operation.

*result*   \_In\_\
Type: [XUserPlatformSpopOperationResult](https://docs.xbox.com/reference/system/xuser/enums/xuserplatformspopoperationresult.md)

The result of the user interaction

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This should be called after a XUserPlatformSpopPromptEventHandler when the user makes a choice or if a failure occurs.

Call this function exactly once for each operation that XUser passes to your [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md). Until you call it, the [XUserAddAsync](https://docs.xbox.com/reference/system/xuser/functions/xuseraddasync.md) operation doesn't complete.

## Requirements

**Header:** XUser.h

**Library:** xgameruntime.lib

**Supported platforms:** Supported on Steam Deck

## See also

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

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

[XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)

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


## Related topics

- [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUserPlatformSpopOperationResult](https://docs.xbox.com/reference/system/xuser/enums/xuserplatformspopoperationresult.md)
- [XUser Cross-Platform Support](https://docs.xbox.com/build/core-features/common/user/xuser-crossplatform.md)
- [Steam Deck Implementation Guide for PlayFab Game Saves](https://docs.xbox.com/services/playfab/player-progression/game-saves/steam-deck-implementation.md)
