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

# XUserPlatformSpopOperationResult

> XUserPlatformSpopOperationResult

# XUserPlatformSpopOperationResult

定义客户端操作结果的枚举。

## Syntax

```cpp theme={null}
typedef enum XUserPlatformSpopOperationResult {
    XUserPlatformSpopOperationResult_SignInHere = 0,
    XUserPlatformSpopOperationResult_SwitchAccount = 1,
    XUserPlatformSpopOperationResult_Failure = 2,
    XUserPlatformSpopOperationResult_Canceled = 3,
} XUserPlatformSpopOperationResult;
```

## Constants

| 常量 | 值 | 说明 |
| - | - | - |
| XUserPlatformSpopOperationResult\_SignInHere | 0 | 用户同意注销现有会话并在当前设备上登录。 |
| XUserPlatformSpopOperationResult\_SwitchAccount | 1 | 用户选择了“切换帐户”选项。 |
| XUserPlatformSpopOperationResult\_Failure | 2 | 客户端操作出现无法恢复的失败。 |
| XUserPlatformSpopOperationResult\_Canceled | 3 | 已取消客户端操作。 |

## Remarks

## Requirements

**头文件：** XUser.h

**受支持的平台：** Steam Deck 上受支持

## See also

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

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

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

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

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


## Related topics

- [XUserPlatformSpopPromptComplete](https://docs.xbox.com/zh-CN/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/zh-CN/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/zh-CN/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUser 跨平台支持](https://docs.xbox.com/zh-CN/build/core-features/common/user/xuser-crossplatform.md)
- [XUser（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xuser/xuser_members.md)
